Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/md/dm-rq.c dm_mq_init_request_queue() -> blk_mq_init_allocated_queue()

Type Parameter Key Value
PARAM_VALUE 0 set 4096-ptr_max
PARAM_VALUE 0 set->driver_data 4096-ptr_max
PARAM_VALUE 0 set->flags 4
PARAM_VALUE 0 set->nr_hw_queues 0-10240
PARAM_VALUE 0 set->nr_maps 1-3
PARAM_VALUE 0 set->ops 974171331397677056
PARAM_VALUE 0 set->ops->queue_rq 1-u64max
PARAM_VALUE 0 set->queue_depth 1-10240
PARAM_VALUE 0 set->srcu 0,4096-ptr_max
PARAM_VALUE 0 set->srcu->dep_map->name 0-255
PARAM_VALUE 0 set->srcu->sda 4096-ptr_max
PARAM_VALUE 0 set->srcu->srcu_ctrp 4096-ptr_max
PARAM_VALUE 0 set->srcu->srcu_sup 4096-ptr_max
PARAM_VALUE 0 set->srcu->srcu_sup->srcu_barrier_mutex.dep_map->name 0-255
PARAM_VALUE 0 set->srcu->srcu_sup->srcu_barrier_mutex.magic 4096-ptr_max
PARAM_VALUE 0 set->srcu->srcu_sup->srcu_cb_mutex.dep_map->name 0-255
PARAM_VALUE 0 set->srcu->srcu_sup->srcu_cb_mutex.magic 4096-ptr_max
PARAM_VALUE 0 set->srcu->srcu_sup->srcu_gp_mutex.dep_map->name 0-255
PARAM_VALUE 0 set->srcu->srcu_sup->srcu_gp_mutex.magic 4096-ptr_max
PARAM_VALUE 0 set->srcu->srcu_sup->srcu_gp_seq 18446744073709551216
PARAM_VALUE 0 set->srcu->srcu_sup->srcu_gp_seq_needed 18446744073709551216
PARAM_VALUE 0 set->srcu->srcu_sup->srcu_gp_seq_needed_exp 18446744073709551216
PARAM_VALUE 0 set->srcu->srcu_sup->srcu_size_state 0-1,8
PARAM_VALUE 0 set->srcu->srcu_sup->srcu_ssp 4096-ptr_max
PARAM_VALUE 0 set->srcu->srcu_sup->srcu_ssp->sda 1-u64max
PARAM_VALUE 0 set->srcu->srcu_sup->srcu_ssp->srcu_sup 4096-ptr_max
PARAM_VALUE 0 set->tag_list.next 4096-ptr_max
PARAM_VALUE 0 set->tag_list.next->next 4096-ptr_max
PARAM_VALUE 0 set->tag_list.prev 4096-ptr_max
PARAM_VALUE 0 set->tag_list.prev->next 4096-ptr_max
PARAM_VALUE 0 set->tag_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 set->tag_list_lock.dep_map->name 0-255
PARAM_VALUE 0 set->tag_list_lock.first_waiter 0
PARAM_VALUE 0 set->tag_list_lock.magic 4096-ptr_max
PARAM_VALUE 0 set->tag_list_lock.osq.tail.counter 0
PARAM_VALUE 0 set->tag_list_lock.owner.counter 0
PARAM_VALUE 0 set->tags 1-u64max
PARAM_VALUE 0 set->tags_srcu.dep_map->name 0-255
PARAM_VALUE 0 set->tags_srcu.srcu_sup->lock.owner 0,(-1)
PARAM_VALUE 0 set->tags_srcu.srcu_sup->lock.owner_cpu 0,u32max
PARAM_VALUE 0 set->tags_srcu.srcu_sup->srcu_barrier_mutex.dep_map->name 0-255
PARAM_VALUE 0 set->tags_srcu.srcu_sup->srcu_barrier_mutex.magic 4096-ptr_max
PARAM_VALUE 0 set->tags_srcu.srcu_sup->srcu_cb_mutex.dep_map->name 0-255
PARAM_VALUE 0 set->tags_srcu.srcu_sup->srcu_cb_mutex.magic 4096-ptr_max
PARAM_VALUE 0 set->tags_srcu.srcu_sup->srcu_gp_mutex.dep_map->name 0-255
PARAM_VALUE 0 set->tags_srcu.srcu_sup->srcu_gp_mutex.magic 4096-ptr_max
PARAM_VALUE 0 set->tags_srcu.srcu_sup->srcu_gp_seq 18446744073709551216
PARAM_VALUE 0 set->tags_srcu.srcu_sup->srcu_gp_seq_needed 0,4-u64max
PARAM_VALUE 0 set->tags_srcu.srcu_sup->srcu_gp_seq_needed_exp 18446744073709551216
PARAM_VALUE 0 set->tags_srcu.srcu_sup->srcu_size_state 0-1,8
PARAM_VALUE 0 set->tags_srcu.srcu_sup->srcu_ssp->sda 1-u64max
PARAM_VALUE 0 set->tags_srcu.srcu_sup->srcu_ssp->srcu_sup 4096-ptr_max
PARAM_VALUE 0 set->tags_srcu.srcu_sup->work.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 set->tags_srcu.srcu_sup->work.work.entry.prev->prev 2076614606316732416
PARAM_VALUE 0 set->update_nr_hwq_lock.dep_map->name 0-255
PARAM_VALUE 0 set->update_nr_hwq_lock.magic 4096-ptr_max
PARAM_VALUE 1 q 0,4096-ptr_max
BUF_SIZE 0 set 528
BUF_SIZE 0 set->ops 144
CAPPED_DATA 0 set 1
DATA_SOURCE 0 set r _kmalloc_node_noprof
HALF_LOCKED2 &md->type_lock

block/blk-mq.c blk_mq_alloc_queue() -> blk_mq_init_allocated_queue()

Type Parameter Key Value
PARAM_VALUE 0 set 4096-ptr_max
PARAM_VALUE 1 q 4096-ptr_max
PARAM_VALUE 1 q->async_depth 128
PARAM_VALUE 1 q->blkcg_mutex.dep_map->name 0-255
PARAM_VALUE 1 q->blkcg_mutex.first_waiter 0
PARAM_VALUE 1 q->blkcg_mutex.magic 4096-ptr_max
PARAM_VALUE 1 q->blkcg_mutex.osq.tail.counter 0
PARAM_VALUE 1 q->blkcg_mutex.owner.counter 0
PARAM_VALUE 1 q->blkg_list.next 4096-ptr_max
PARAM_VALUE 1 q->blkg_list.next->next 4096-ptr_max
PARAM_VALUE 1 q->blkg_list.prev 4096-ptr_max
PARAM_VALUE 1 q->blkg_list.prev->next 4096-ptr_max
PARAM_VALUE 1 q->blkg_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 q->debugfs_mutex.dep_map->name 0-255
PARAM_VALUE 1 q->debugfs_mutex.first_waiter 0
PARAM_VALUE 1 q->debugfs_mutex.magic 4096-ptr_max
PARAM_VALUE 1 q->debugfs_mutex.osq.tail.counter 0
PARAM_VALUE 1 q->debugfs_mutex.owner.counter 0
PARAM_VALUE 1 q->elevator_lock.dep_map->name 0-255
PARAM_VALUE 1 q->elevator_lock.first_waiter 0
PARAM_VALUE 1 q->elevator_lock.magic 4096-ptr_max
PARAM_VALUE 1 q->elevator_lock.osq.tail.counter 0
PARAM_VALUE 1 q->elevator_lock.owner.counter 0
PARAM_VALUE 1 q->icq_list.next 4096-ptr_max
PARAM_VALUE 1 q->icq_list.next->next 4096-ptr_max
PARAM_VALUE 1 q->icq_list.prev 4096-ptr_max
PARAM_VALUE 1 q->icq_list.prev->next 4096-ptr_max
PARAM_VALUE 1 q->icq_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 q->id 0-s32max
PARAM_VALUE 1 q->io_lockdep_map.cpu 0
PARAM_VALUE 1 q->io_lockdep_map.lock_type 0
PARAM_VALUE 1 q->io_lockdep_map.wait_type_outer 0
PARAM_VALUE 1 q->last_merge 0
PARAM_VALUE 1 q->limits.atomic_write_boundary_sectors 0-8388607
PARAM_VALUE 1 q->limits.atomic_write_max_sectors 0-8388607
PARAM_VALUE 1 q->limits.atomic_write_unit_max 0-1171456
PARAM_VALUE 1 q->limits.atomic_write_unit_min 0-1171456
PARAM_VALUE 1 q->limits.discard_granularity 0,512-u32max
PARAM_VALUE 1 q->limits.dma_alignment 1-u32max
PARAM_VALUE 1 q->limits.features 0,3-u32max
PARAM_VALUE 1 q->limits.integrity.interval_exp 0-31
PARAM_VALUE 1 q->limits.io_min 512-u32max
PARAM_VALUE 1 q->limits.logical_block_size 512-65536
PARAM_VALUE 1 q->limits.max_discard_segments 1-u16max
PARAM_VALUE 1 q->limits.max_fast_segment_size 0-4096
PARAM_VALUE 1 q->limits.max_segment_size 1-u32max
PARAM_VALUE 1 q->limits.max_segments 1-u16max
PARAM_VALUE 1 q->limits.max_user_discard_sectors u32max
PARAM_VALUE 1 q->limits.max_user_sectors 0,8-u32max
PARAM_VALUE 1 q->limits.max_user_wzeroes_unmap_sectors u32max
PARAM_VALUE 1 q->limits.physical_block_size 512-u32max
PARAM_VALUE 1 q->limits.seg_boundary_mask 1-u64max
PARAM_VALUE 1 q->limits.zone_write_granularity 512-u32max
PARAM_VALUE 1 q->limits_lock.dep_map->name 0-255
PARAM_VALUE 1 q->limits_lock.first_waiter 0
PARAM_VALUE 1 q->limits_lock.magic 4096-ptr_max
PARAM_VALUE 1 q->limits_lock.osq.tail.counter 0
PARAM_VALUE 1 q->limits_lock.owner.counter 0
PARAM_VALUE 1 q->mq_freeze_lock.dep_map->name 0-255
PARAM_VALUE 1 q->mq_freeze_lock.first_waiter 0
PARAM_VALUE 1 q->mq_freeze_lock.magic 4096-ptr_max
PARAM_VALUE 1 q->mq_freeze_lock.osq.tail.counter 0
PARAM_VALUE 1 q->mq_freeze_lock.owner.counter 0
PARAM_VALUE 1 q->mq_freeze_wq.head.next 4096-ptr_max
PARAM_VALUE 1 q->mq_freeze_wq.head.next->next 4096-ptr_max
PARAM_VALUE 1 q->mq_freeze_wq.head.prev 4096-ptr_max
PARAM_VALUE 1 q->mq_freeze_wq.head.prev->next 4096-ptr_max
PARAM_VALUE 1 q->mq_freeze_wq.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 q->nr_requests 128
PARAM_VALUE 1 q->q_lockdep_map.cpu 0
PARAM_VALUE 1 q->q_lockdep_map.lock_type 0
PARAM_VALUE 1 q->q_lockdep_map.wait_type_outer 0
PARAM_VALUE 1 q->q_usage_counter.data 4096-ptr_max
PARAM_VALUE 1 q->q_usage_counter.data->confirm_switch 0
PARAM_VALUE 1 q->q_usage_counter.data->count.counter s64min-(-9223372036854775807),0-s64max
PARAM_VALUE 1 q->q_usage_counter.data->ref 4096-ptr_max
PARAM_VALUE 1 q->q_usage_counter.percpu_count_ptr 4096-18446744073709547523
PARAM_VALUE 1 q->refs.refs.counter 1
PARAM_VALUE 1 q->rq_qos_mutex.dep_map->name 0-255
PARAM_VALUE 1 q->rq_qos_mutex.first_waiter 0
PARAM_VALUE 1 q->rq_qos_mutex.magic 4096-ptr_max
PARAM_VALUE 1 q->rq_qos_mutex.osq.tail.counter 0
PARAM_VALUE 1 q->rq_qos_mutex.owner.counter 0
PARAM_VALUE 1 q->stats 4096-ptr_max
PARAM_VALUE 1 q->stats->accounting 0
PARAM_VALUE 1 q->sysfs_lock.dep_map->name 0-255
PARAM_VALUE 1 q->sysfs_lock.first_waiter 0
PARAM_VALUE 1 q->sysfs_lock.magic 4096-ptr_max
PARAM_VALUE 1 q->sysfs_lock.osq.tail.counter 0
PARAM_VALUE 1 q->sysfs_lock.owner.counter 0
PARAM_VALUE 1 q->timeout.entry.pprev 0
PARAM_VALUE 1 q->timeout.flags 0-4194302
PARAM_VALUE 1 q->timeout.lockdep_map->name 0-255
BUF_SIZE 0 set (-1),528
BUF_SIZE 0 set (-1),528
BUF_SIZE 0 set->ops (-1),144
BUF_SIZE 1 q->queuedata (-1),128,736,792,816,1008-s32max
CAPPED_DATA 1 q->limits.max_hw_wzeroes_unmap_sectors 1
DATA_SOURCE 0 set $0
DATA_SOURCE 1 q r blk_alloc_queue
STR_LEN 0 set (-1),19
STR_LEN 0 set (-1),19
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 set->queue_depth 1-10238[c]
HOST_DATA 0 set->reserved_tags 1
HOST_DATA 0 set->shared_tags->nr_reserved_tags 0-u32max
HOST_DATA 0 set->shared_tags->nr_tags 0-4294967294
HOST_DATA 1 q->limits.alignment_offset 0-u16max[c]
HOST_DATA 1 q->limits.atomic_write_max_sectors 0-8388607[c]
HOST_DATA 1 q->limits.discard_granularity 512-u32max[c]
HOST_DATA 1 q->limits.integrity.interval_exp 0-31[c]
HOST_DATA 1 q->limits.io_min 512-65536[c]
HOST_DATA 1 q->limits.max_active_zones 0-u32max
HOST_DATA 1 q->limits.max_open_zones 0-u32max
HOST_DATA 1 q->limits.max_sectors 0-s32max[c]
HOST_DATA 1 q->limits.max_zone_append_sectors 0-s32max[c]
HOST_DATA 1 q->limits.zone_write_granularity 512-65536[c]
NO_OVERFLOW_SIMPLE 0 set->nr_hw_queues
NO_OVERFLOW_SIMPLE 0 set->queue_depth
NO_OVERFLOW_SIMPLE 0 set->shared_tags->bitmap_tags.sb.depth
NO_OVERFLOW_SIMPLE 0 set->shared_tags->breserved_tags.sb.depth
NO_OVERFLOW_SIMPLE 1 q->limits.max_discard_sectors