Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

block/blk-rq-qos.c rq_depth_scale_down() -> rq_depth_calc_max_depth()

Type Parameter Key Value
PARAM_VALUE 0 rqd 4096-ptr_max
PARAM_VALUE 0 rqd->max_depth 0,2-u32max
DATA_SOURCE 0 rqd $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

block/blk-rq-qos.c rq_depth_scale_up() -> rq_depth_calc_max_depth()

Type Parameter Key Value
PARAM_VALUE 0 rqd 4096-ptr_max
DATA_SOURCE 0 rqd $0
RX_PATH
TASK_NOT_RUNNING

block/blk-wbt.c wbt_update_limits() -> rq_depth_calc_max_depth()

Type Parameter Key Value
PARAM_VALUE 0 rqd 4096-ptr_max
PARAM_VALUE 0 rqd->scale_step 0
BUF_SIZE 0 rqd 20
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 rqd->queue_depth
HALF_LOCKED2 &disk->rqos_state_mutex
HALF_LOCKED2 &of->mutex