Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

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
PREEMPT_ADD
HALF_LOCKED2 &obj_req->state_mutex
HALF_LOCKED2 &pool->lock

drivers/block/rbd.c truncate_or_zero_opcode() -> rbd_obj_is_tail()

Type Parameter Key Value
PARAM_VALUE 0 obj_req 4096-ptr_max
PARAM_VALUE 0 obj_req->img_request 4096-ptr_max
BUF_SIZE 0 obj_req 1-s32max
BUF_SIZE 0 obj_req 1-s32max
DATA_SOURCE 0 obj_req $0
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