Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

block/blk-mq.c blk_mq_map_swqueue() -> sbitmap_resize()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 1 depth 1-u16max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &set->tag_list_lock
HALF_LOCKED2 &set->update_nr_hwq_lock

lib/sbitmap.c sbitmap_queue_resize() -> sbitmap_resize()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
DATA_SOURCE 1 depth $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &q->elevator_lock
HALF_LOCKED2 &set->update_nr_hwq_lock

drivers/scsi/scsi_scan.c scsi_realloc_sdev_budget_map() -> sbitmap_resize()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->map 0,16,4096-ptr_max
CAPPED_DATA 1 depth 1
DATA_SOURCE 1 depth $1 [m]
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 sb->depth
UNITS 1 depth unit_array_size
LOCK2 &shost->scan_mutex
TYPE_LOCK (struct Scsi_Host)->scan_mutex

drivers/scsi/scsi.c scsi_change_queue_depth() -> sbitmap_resize()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->map 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 depth 1-4095[c]
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex