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_capture_header()

Type Parameter Key Value
PARAM_VALUE 0 img_req 4096-ptr_max
PARAM_VALUE 0 img_req->data_type 0
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->snap_id 0
PARAM_VALUE 0 img_req->snapc 0
PARAM_VALUE 0 img_req->state 0
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
BUF_SIZE 0 img_req->obj_request (-1),1-s32max
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
PREEMPT_ADD
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 img_req->obj_request->num_img_extents
LOCK2 &obj_req->state_mutex
LOCK2 &parent->header_rwsem
HALF_LOCKED2 &img_req->state_mutex
TYPE_LOCK (struct rbd_device)->header_rwsem
TYPE_LOCK (struct rbd_obj_request)->state_mutex

drivers/block/rbd.c rbd_queue_workfn() -> rbd_img_capture_header()

Type Parameter Key Value
PARAM_VALUE 0 img_req 4096-ptr_max
PARAM_VALUE 0 img_req->rbd_dev 4096-ptr_max
PARAM_VALUE 0 img_req->rbd_dev->header_rwsem.dep_map->name 0-255
PARAM_VALUE 0 img_req->rbd_dev->header_rwsem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 img_req->rbd_dev->header_rwsem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 img_req->rbd_dev->header_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 img_req->rbd_dev->header_rwsem.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 img_req->rbd_dev->header_rwsem.wait_lock.owner (-1)
PARAM_VALUE 0 img_req->rbd_dev->header_rwsem.wait_lock.owner_cpu u32max
NOCHECK_CALL
LOCK2 &rbd_dev->header_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rbd_device)->header_rwsem