Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/block/rbd.c __rbd_obj_add_osd_request() -> ceph_osdc_alloc_request()

Type Parameter Key Value
PARAM_VALUE 0 osdc 4096-ptr_max
PARAM_VALUE 2 num_ops 1-3
PARAM_VALUE 3 use_mempool 0
PARAM_VALUE 4 gfp_flags 3072
BUF_SIZE 0 osdc 3384
DATA_SOURCE 1 snapc $1
DATA_SOURCE 2 num_ops $2
LOCK2 &obj_req->state_mutex
HALF_LOCKED2 &img_req->state_mutex
TYPE_LOCK (struct rbd_obj_request)->state_mutex

drivers/block/rbd.c rbd_obj_read_sync() -> ceph_osdc_alloc_request()

Type Parameter Key Value
PARAM_VALUE 0 osdc 4096-ptr_max
PARAM_VALUE 1 snapc 0
PARAM_VALUE 2 num_ops 1
PARAM_VALUE 3 use_mempool 0
PARAM_VALUE 4 gfp_flags 3264
BUF_SIZE 0 osdc 3384
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &rbd_dev->header_rwsem
HALF_LOCKED2 &rbd_dev->lock_rwsem

drivers/block/rbd.c rbd_object_map_update() -> ceph_osdc_alloc_request()

Type Parameter Key Value
PARAM_VALUE 0 osdc 4096-ptr_max
PARAM_VALUE 1 snapc 0
PARAM_VALUE 2 num_ops 1-2
PARAM_VALUE 3 use_mempool 0
PARAM_VALUE 4 gfp_flags 3072
BUF_SIZE 0 osdc 3384
LOCK2 &obj_req->state_mutex
HALF_LOCKED2 &img_req->state_mutex
TYPE_LOCK (struct rbd_obj_request)->state_mutex

fs/ceph/addr.c __ceph_pool_perm_get() -> ceph_osdc_alloc_request()

Type Parameter Key Value
PARAM_VALUE 0 osdc 4096-ptr_max
PARAM_VALUE 1 snapc 0
PARAM_VALUE 2 num_ops 1
PARAM_VALUE 3 use_mempool 0
PARAM_VALUE 4 gfp_flags 3136
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mdsc->pool_perm_rwsem
TYPE_LOCK (struct ceph_mds_client)->pool_perm_rwsem

fs/ceph/addr.c __ceph_pool_perm_get() -> ceph_osdc_alloc_request()

Type Parameter Key Value
PARAM_VALUE 0 osdc 4096-ptr_max
PARAM_VALUE 1 snapc 0
PARAM_VALUE 2 num_ops 1
PARAM_VALUE 3 use_mempool 0
PARAM_VALUE 4 gfp_flags 3136
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mdsc->pool_perm_rwsem
TYPE_LOCK (struct ceph_mds_client)->pool_perm_rwsem

fs/ceph/file.c ceph_aio_retry_work() -> ceph_osdc_alloc_request()

Type Parameter Key Value
PARAM_VALUE 1 snapc 0,4096-ptr_max
PARAM_VALUE 2 num_ops 1
PARAM_VALUE 3 use_mempool 0
PARAM_VALUE 4 gfp_flags 3136
HALF_LOCKED2 &pool->lock

fs/ceph/file.c ceph_alloc_copyfrom_request() -> ceph_osdc_alloc_request()

Type Parameter Key Value
PARAM_VALUE 0 osdc 4096-ptr_max
PARAM_VALUE 0 osdc->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 osdc->lock.first_waiter->type 0-1
PARAM_VALUE 1 snapc 0
PARAM_VALUE 2 num_ops 1
PARAM_VALUE 3 use_mempool 0
PARAM_VALUE 4 gfp_flags 3264
BUF_SIZE 0 osdc 3384
DATA_SOURCE 0 osdc $0
RX_PATH

net/ceph/osd_client.c ceph_osdc_call() -> ceph_osdc_alloc_request()

Type Parameter Key Value
PARAM_VALUE 0 osdc 4096-ptr_max
PARAM_VALUE 0 osdc->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 osdc->lock.first_waiter->type 0-1
PARAM_VALUE 1 snapc 0
PARAM_VALUE 2 num_ops 1
PARAM_VALUE 3 use_mempool 0
PARAM_VALUE 4 gfp_flags 3072
BUF_SIZE 0 osdc (-1),3384
BUF_SIZE 0 osdc (-1),3384
DATA_SOURCE 0 osdc $0
STR_LEN 0 osdc 3,8
STR_LEN 0 osdc 3,8
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rbd_dev->lock_rwsem

net/ceph/osd_client.c ceph_osdc_list_watchers() -> ceph_osdc_alloc_request()

Type Parameter Key Value
PARAM_VALUE 0 osdc 4096-ptr_max
PARAM_VALUE 1 snapc 0
PARAM_VALUE 2 num_ops 1
PARAM_VALUE 3 use_mempool 0
PARAM_VALUE 4 gfp_flags 3072
BUF_SIZE 0 osdc 3384
DATA_SOURCE 0 osdc $0
LOCK2 &pool->lock
LOCK2 &rbd_dev->lock_rwsem
TYPE_LOCK (struct rbd_device)->lock_rwsem

net/ceph/osd_client.c ceph_osdc_new_request() -> ceph_osdc_alloc_request()

Type Parameter Key Value
PARAM_VALUE 0 osdc 4096-ptr_max
PARAM_VALUE 0 osdc->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 osdc->lock.first_waiter->type 0-1
PARAM_VALUE 4 gfp_flags 3136
BUF_SIZE 0 osdc (-1),3384
BUF_SIZE 0 osdc (-1),3384
DATA_SOURCE 0 osdc $0
DATA_SOURCE 1 snapc $9
DATA_SOURCE 2 num_ops $6
DATA_SOURCE 3 use_mempool $12
RX_PATH
TASK_NOT_RUNNING
UNITS 2 num_ops unit_array_size
HALF_LOCKED2 &inode->i_mapping->invalidate_lock
HALF_LOCKED2 &inode->i_rwsem

net/ceph/osd_client.c ceph_osdc_notify_ack() -> ceph_osdc_alloc_request()

Type Parameter Key Value
PARAM_VALUE 0 osdc 4096-ptr_max
PARAM_VALUE 1 snapc 0
PARAM_VALUE 2 num_ops 1
PARAM_VALUE 3 use_mempool 0
PARAM_VALUE 4 gfp_flags 3072
BUF_SIZE 0 osdc 3384
DATA_SOURCE 0 osdc $0
LOCK2 &pool->lock

net/ceph/osd_client.c ceph_osdc_unwatch() -> ceph_osdc_alloc_request()

Type Parameter Key Value
PARAM_VALUE 0 osdc 4096-ptr_max
PARAM_VALUE 0 osdc->client 4096-ptr_max
PARAM_VALUE 1 snapc 0
PARAM_VALUE 2 num_ops 1
PARAM_VALUE 3 use_mempool 0
PARAM_VALUE 4 gfp_flags 3072
BUF_SIZE 0 osdc 3384
DATA_SOURCE 0 osdc $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &rbd_dev->watch_mutex
TYPE_LOCK (struct rbd_device)->watch_mutex

net/ceph/osd_client.c send_linger() -> ceph_osdc_alloc_request()

Type Parameter Key Value
PARAM_VALUE 1 snapc 0
PARAM_VALUE 2 num_ops 1
PARAM_VALUE 3 use_mempool 1
PARAM_VALUE 4 gfp_flags 3072
RX_PATH
TASK_NOT_RUNNING
LOCK2 &lreq->lock
LOCK2 &osdc->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_osd_client)->lock
TYPE_LOCK (struct ceph_osd_linger_request)->lock

net/ceph/osd_client.c send_linger_ping() -> ceph_osdc_alloc_request()

Type Parameter Key Value
PARAM_VALUE 0 osdc 4096-ptr_max
PARAM_VALUE 0 osdc->osdmap 4096-ptr_max
PARAM_VALUE 1 snapc 0
PARAM_VALUE 2 num_ops 1
PARAM_VALUE 3 use_mempool 1
PARAM_VALUE 4 gfp_flags 3072
LOCK2 &lreq->lock
LOCK2 &osdc->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_osd_client)->lock
TYPE_LOCK (struct ceph_osd_linger_request)->lock