Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/rbd.c rbd_obj_calc_img_extents() -> prune_extents()

Type Parameter Key Value
PARAM_VALUE 0 img_extents 0,4096-ptr_max
PARAM_VALUE 1 num_img_extents 4096-ptr_max
PARAM_VALUE 2 overlap 1-u64max
PREEMPT_ADD
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 *num_img_extents
HALF_LOCKED2 &obj_req->state_mutex
HALF_LOCKED2 &pool->lock

drivers/block/rbd.c rbd_obj_copyup_read_parent() -> prune_extents()

Type Parameter Key Value
PARAM_VALUE 1 num_img_extents 4096-ptr_max
PARAM_VALUE 1 *num_img_extents 1-u32max
PREEMPT_ADD
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 *num_img_extents
LOCK2 &obj_req->state_mutex
HALF_LOCKED2 &img_req->state_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rbd_obj_request)->state_mutex