Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/rbd.c rbd_obj_read_from_parent() -> rbd_img_schedule()

Type Parameter Key Value
PARAM_VALUE 0 img_req 4096-ptr_max
PARAM_VALUE 0 img_req->data_type 2-4
PARAM_VALUE 0 img_req->flags 0
PARAM_VALUE 0 img_req->obj_request 4096-ptr_max
PARAM_VALUE 0 img_req->obj_request->ex.oe_off 0-18446744073709551614
PARAM_VALUE 0 img_req->obj_request->img_request 4096-ptr_max
PARAM_VALUE 0 img_req->obj_request->num_img_extents 1-u32max
PARAM_VALUE 0 img_req->obj_request->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 img_req->obj_request->state_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 img_req->obj_request->state_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 img_req->op_type 1
PARAM_VALUE 0 img_req->pending.num_pending 0
PARAM_VALUE 0 img_req->pending.result 0
PARAM_VALUE 0 img_req->rbd_dev 4096-ptr_max
PARAM_VALUE 0 img_req->state 1
PARAM_VALUE 0 img_req->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 img_req->state_mutex.first_waiter 0
PARAM_VALUE 0 img_req->state_mutex.magic 4096-ptr_max
PARAM_VALUE 0 img_req->work.data.counter 0
PARAM_VALUE 0 img_req->work.entry.next 0
PARAM_VALUE 0 img_req->work.entry.prev 0
PARAM_VALUE 0 img_req->work.func 0
PARAM_VALUE 0 img_req->work_result 0
PARAM_VALUE 1 result 0
BUF_SIZE 0 img_req->obj_request (-1),1-s32max
CAPPED_DATA 0 img_req 1
CAPPED_DATA 0 img_req->obj_request->num_img_extents 1
DATA_SOURCE 0 img_req r kmem_cache_alloc_noprof
MEM_ZERO 0 img_req
MEM_ZERO 0 img_req->rbd_dev
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 img_req->obj_request->num_img_extents
LOCK2 &obj_req->state_mutex
HALF_LOCKED2 &img_req->state_mutex
TYPE_LOCK (struct rbd_obj_request)->state_mutex

drivers/block/rbd.c wake_lock_waiters() -> rbd_img_schedule()

Type Parameter Key Value
PARAM_VALUE 0 img_req 4096-ptr_max
PARAM_VALUE 0 img_req->state 2
PARAM_VALUE 0 img_req->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 img_req->state_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 img_req->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 img_req->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 img_req->state_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 img_req->state_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 img_req->state_mutex.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &img_req->state_mutex 1
DATA_SOURCE 1 result $1
NOCHECK_CALL
LOCK2 &rbd_dev->lock_rwsem
LOCK2 0 &img_req->state_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rbd_device)->lock_rwsem
TYPE_LOCK (struct rbd_img_request)->state_mutex