Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/ublk_drv.c ublk_register_io_buf() -> __ublk_check_and_get_req()

Type Parameter Key Value
PARAM_VALUE 0 ub 4096-ptr_max
PARAM_VALUE 0 ub->dev_info.nr_hw_queues 1-u16max
PARAM_VALUE 0 ub->dev_info.queue_depth 1-u16max
PARAM_VALUE 1 q_id 0-65534
PARAM_VALUE 2 tag 0-65534
PARAM_VALUE 3 io 4096-ptr_max
BUF_SIZE 0 ub s32min-(-2),1-s32max
BUF_SIZE 0 ub s32min-(-2),1-s32max
CAPPED_DATA 1 q_id 1
CAPPED_DATA 2 tag 1
DATA_SOURCE 0 ub $1
DATA_SOURCE 1 q_id $2
DATA_SOURCE 2 tag $3
DATA_SOURCE 3 io $4
CONSTRAINT 1 q_id <3806
CONSTRAINT 2 tag <3804
RX_PATH
TASK_NOT_RUNNING
UNITS 2 tag unit_array_size
HALF_LOCKED2 &ctx->uring_lock

drivers/block/ublk_drv.c ublk_user_copy() -> __ublk_check_and_get_req()

Type Parameter Key Value
PARAM_VALUE 0 ub 4096-ptr_max
PARAM_VALUE 0 ub->dev_info.nr_hw_queues 1-u16max
PARAM_VALUE 0 ub->dev_info.queue_depth 1-u16max
PARAM_VALUE 0 ub->dev_info.state 1-u16max
PARAM_VALUE 1 q_id 0-4095
PARAM_VALUE 2 tag 0-65534
PARAM_VALUE 3 io 4096-ptr_max
BUF_SIZE 0 ub s32min-(-2),1-s32max
BUF_SIZE 0 ub s32min-(-2),1-s32max
CAPPED_DATA 1 q_id 1
CAPPED_DATA 2 tag 1
DATA_SOURCE 1 q_id r ublk_pos_to_hwq
DATA_SOURCE 2 tag r ublk_pos_to_tag
PARAM_COMPARE 1 q_id < $0->dev_info.nr_hw_queues
PARAM_COMPARE 2 tag < $0->dev_info.queue_depth
CONSTRAINT 1 q_id <3806
CONSTRAINT 2 tag <3804
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 q_id 0-4095[c]
USER_DATA 2 tag 0-65534[c]
UNITS 2 tag unit_array_size
HALF_LOCKED2 &pool->lock