Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/rbd.c __rbd_img_fill_from_bio() -> rbd_img_fill_request()

Type Parameter Key Value
PARAM_VALUE 0 img_req 4096-ptr_max
PARAM_VALUE 0 img_req->op_type 1-2
PARAM_VALUE 0 img_req->rbd_dev 4096-ptr_max
PARAM_VALUE 0 img_req->rbd_dev->header_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 img_req->rbd_dev->header_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 img_extents 0,4096-ptr_max
PARAM_VALUE 2 num_img_extents 1-u32max
PARAM_VALUE 3 fctx 8653208627311337472
PARAM_VALUE 3 fctx->copy_fn 8221909141857861632
PARAM_VALUE 3 fctx->count_fn 550612204116914176
PARAM_VALUE 3 fctx->pos 4096-ptr_max
PARAM_VALUE 3 fctx->pos_type 2
PARAM_VALUE 3 fctx->set_pos_fn 3424830321522266112
BUF_SIZE 0 img_req->obj_request (-1),1-s32max
CAPPED_DATA 2 num_img_extents 1
DATA_SOURCE 0 img_req $0
DATA_SOURCE 1 img_extents $1
DATA_SOURCE 2 num_img_extents $2
PREEMPT_ADD
NO_OVERFLOW_SIMPLE 0 img_req->obj_request->num_img_extents
NO_OVERFLOW_SIMPLE 2 num_img_extents
HALF_LOCKED2 &obj_req->state_mutex
HALF_LOCKED2 &pool->lock

drivers/block/rbd.c __rbd_img_fill_from_bvecs() -> rbd_img_fill_request()

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->rbd_dev 4096-ptr_max
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
PARAM_VALUE 1 img_extents 0,4096-ptr_max
PARAM_VALUE 2 num_img_extents 1-u32max
PARAM_VALUE 3 fctx 1637263498925199360
PARAM_VALUE 3 fctx->copy_fn 6342335212490371072
PARAM_VALUE 3 fctx->count_fn 4063635911440801792
PARAM_VALUE 3 fctx->pos_type 3
PARAM_VALUE 3 fctx->set_pos_fn 3900854981184401408
BUF_SIZE 0 img_req->obj_request (-1),1-s32max
CAPPED_DATA 0 img_req->obj_request->num_img_extents 1
CAPPED_DATA 2 num_img_extents 1
DATA_SOURCE 0 img_req $0
DATA_SOURCE 1 img_extents $1
DATA_SOURCE 2 num_img_extents $2
MEM_ZERO 0 img_req
MEM_ZERO 0 img_req->rbd_dev
PREEMPT_ADD
NO_OVERFLOW_SIMPLE 0 img_req->obj_request->copyup_bvec_count
NO_OVERFLOW_SIMPLE 0 img_req->obj_request->num_img_extents
NO_OVERFLOW_SIMPLE 2 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 rbd_img_fill_nodata() -> rbd_img_fill_request()

Type Parameter Key Value
PARAM_VALUE 0 img_req 4096-ptr_max
PARAM_VALUE 0 img_req->op_type 3-4
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->handoff_set 1
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
PARAM_VALUE 1 img_extents 8055962451108061184
PARAM_VALUE 1 img_extents->fe_len 1-u32max
PARAM_VALUE 1 img_extents->fe_off 0,512-18446744073709551104
PARAM_VALUE 2 num_img_extents 1
PARAM_VALUE 3 fctx 3368947239493287936
PARAM_VALUE 3 fctx->copy_fn 0
PARAM_VALUE 3 fctx->count_fn 0
PARAM_VALUE 3 fctx->pos 7076652606480310272
PARAM_VALUE 3 fctx->pos_type 1
PARAM_VALUE 3 fctx->set_pos_fn 0
DATA_SOURCE 0 img_req $0
HALF_LOCKED2 &pool->lock