Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

block/blk-iocost.c ioc_autop_idx() -> blk_queue_depth()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ioc->lock
LOCK2 irq
HALF_LOCKED2 &bdev->bd_queue->rq_qos_mutex
HALF_LOCKED2 &ctx.bdev->bd_queue->rq_qos_mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct ioc)->lock

block/blk-wbt.c wbt_init() -> blk_queue_depth()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 q->async_depth
NO_OVERFLOW_SIMPLE 0 q->limits.max_discard_sectors
NO_OVERFLOW_SIMPLE 0 q->limits.max_open_zones
NO_OVERFLOW_SIMPLE 0 q->nr_hw_queues
NO_OVERFLOW_SIMPLE 0 q->nr_requests
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &q->sysfs_lock

block/blk-wbt.c wbt_queue_depth_changed() -> blk_queue_depth()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex