Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/rbd.c __rbd_osd_setup_discard_ops() -> rbd_obj_is_entire()

Type Parameter Key Value
PARAM_VALUE 0 obj_req 4096-ptr_max
BUF_SIZE 0 obj_req 1-s32max
BUF_SIZE 0 obj_req 1-s32max
UNITS 0 obj_req unit_byte
LOCK2 &obj_req->state_mutex
HALF_LOCKED2 &img_req->state_mutex
TYPE_LOCK (struct rbd_obj_request)->state_mutex

drivers/block/rbd.c __rbd_osd_setup_write_ops() -> rbd_obj_is_entire()

Type Parameter Key Value
PARAM_VALUE 0 obj_req 4096-ptr_max
PARAM_VALUE 0 obj_req->img_request 4096-ptr_max
PARAM_VALUE 0 obj_req->img_request->rbd_dev 4096-ptr_max
BUF_SIZE 0 obj_req 1-s32max
BUF_SIZE 0 obj_req 1-s32max
UNITS 0 obj_req unit_byte
LOCK2 &obj_req->state_mutex
HALF_LOCKED2 &img_req->state_mutex
TYPE_LOCK (struct rbd_obj_request)->state_mutex

drivers/block/rbd.c __rbd_osd_setup_zeroout_ops() -> rbd_obj_is_entire()

Type Parameter Key Value
PARAM_VALUE 0 obj_req 4096-ptr_max
BUF_SIZE 0 obj_req 1-s32max
BUF_SIZE 0 obj_req 1-s32max
UNITS 0 obj_req unit_byte
LOCK2 &obj_req->state_mutex
HALF_LOCKED2 &img_req->state_mutex
TYPE_LOCK (struct rbd_obj_request)->state_mutex

drivers/block/rbd.c count_write_ops() -> rbd_obj_is_entire()

Type Parameter Key Value
PARAM_VALUE 0 obj_req 4096-ptr_max
PARAM_VALUE 0 obj_req->ex.oe_off 0-18446744073709551614
PARAM_VALUE 0 obj_req->img_request 4096-ptr_max
BUF_SIZE 0 obj_req (-1),1-s32max
BUF_SIZE 0 obj_req (-1),1-s32max
DATA_SOURCE 0 obj_req $0
PREEMPT_ADD
NO_OVERFLOW_SIMPLE 0 obj_req->num_img_extents
UNITS 0 obj_req unit_byte
LOCK2 0 &obj_req->state_mutex
HALF_LOCKED2 &img_req->state_mutex
TYPE_LOCK (struct rbd_obj_request)->state_mutex

drivers/block/rbd.c rbd_obj_init_discard() -> rbd_obj_is_entire()

Type Parameter Key Value
PARAM_VALUE 0 obj_req 4096-ptr_max
PARAM_VALUE 0 obj_req->img_request 4096-ptr_max
PARAM_VALUE 0 obj_req->img_request->rbd_dev 4096-ptr_max
DATA_SOURCE 0 obj_req $0
BIT_INFO 0 obj_req->flags 0x10,0xffffffff
PREEMPT_ADD
HALF_LOCKED2 &obj_req->state_mutex
HALF_LOCKED2 &pool->lock

drivers/block/rbd.c rbd_obj_init_zeroout() -> rbd_obj_is_entire()

Type Parameter Key Value
PARAM_VALUE 0 obj_req 4096-ptr_max
PARAM_VALUE 0 obj_req->img_request 4096-ptr_max
PARAM_VALUE 0 obj_req->img_request->rbd_dev 4096-ptr_max
DATA_SOURCE 0 obj_req $0
BIT_INFO 0 obj_req->flags 0x10,0xffffffff
PREEMPT_ADD
HALF_LOCKED2 &obj_req->state_mutex
HALF_LOCKED2 &pool->lock

drivers/block/rbd.c rbd_obj_set_copyup_enabled() -> rbd_obj_is_entire()

Type Parameter Key Value
PARAM_VALUE 0 obj_req 4096-ptr_max
PARAM_VALUE 0 obj_req->ex.oe_off 0-18446744073709551614
PARAM_VALUE 0 obj_req->img_request 4096-ptr_max
BUF_SIZE 0 obj_req (-1),1-s32max
BUF_SIZE 0 obj_req (-1),1-s32max
DATA_SOURCE 0 obj_req $0
PREEMPT_ADD
NO_OVERFLOW_SIMPLE 0 obj_req->num_img_extents
UNITS 0 obj_req unit_byte
LOCK2 0 &obj_req->state_mutex
HALF_LOCKED2 &img_req->state_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rbd_obj_request)->state_mutex