Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm.c __bind() -> dm_table_set_restrictions()

Type Parameter Key Value
PARAM_VALUE 0 t 4096-ptr_max
PARAM_VALUE 0 *t->counts 0-4294967295
PARAM_VALUE 1 q 4096-ptr_max
PARAM_VALUE 1 q->mq_ops 0-1,4096-ptr_max
PARAM_VALUE 2 limits 6904826507154956288
BUF_SIZE 2 limits 0,200
BUF_SIZE 2 limits 0,200
DATA_SOURCE 0 t $1
DATA_SOURCE 2 limits $2
NO_OVERFLOW_SIMPLE 0 t->num_allocated
LOCK2 &md->suspend_lock
TYPE_LOCK (struct mapped_device)->suspend_lock

drivers/md/dm.c dm_setup_md_queue() -> dm_table_set_restrictions()

Type Parameter Key Value
PARAM_VALUE 0 t 4096-ptr_max
PARAM_VALUE 0 t->crypto_profile 0,4096-ptr_max
PARAM_VALUE 0 t->crypto_profile->dev 0
PARAM_VALUE 0 t->crypto_profile->idle_slots.next 0
PARAM_VALUE 0 t->crypto_profile->idle_slots.prev 0
PARAM_VALUE 0 t->crypto_profile->ll_ops.derive_sw_secret 0,4518343378786611200
PARAM_VALUE 0 t->crypto_profile->ll_ops.generate_key 0,6553568622039306240
PARAM_VALUE 0 t->crypto_profile->ll_ops.import_key 0,8616418946465071104
PARAM_VALUE 0 t->crypto_profile->ll_ops.keyslot_evict 1074302555089489920
PARAM_VALUE 0 t->crypto_profile->ll_ops.prepare_key 0,7169524365162639360
PARAM_VALUE 0 t->crypto_profile->lock.count.counter 0
PARAM_VALUE 0 t->crypto_profile->lock.first_waiter 0
PARAM_VALUE 0 t->crypto_profile->lock.magic 4096-ptr_max
PARAM_VALUE 0 t->crypto_profile->lock.owner.counter 0
PARAM_VALUE 0 t->crypto_profile->log_slot_ht_size 0
PARAM_VALUE 0 t->crypto_profile->num_slots 0
PARAM_VALUE 0 t->crypto_profile->slot_hashtable 0
PARAM_VALUE 0 t->crypto_profile->slots 0
PARAM_VALUE 0 t->depth 1-2147483648
PARAM_VALUE 0 t->flush_bypasses_map 0
PARAM_VALUE 0 t->md 1-u64max
PARAM_VALUE 0 t->md->io_barrier.dep_map->name 0-255
PARAM_VALUE 0 t->md->queue 0,4096-ptr_max
PARAM_VALUE 0 t->mempools 4096-ptr_max
PARAM_VALUE 0 t->mempools->bs.back_pad 0,64
PARAM_VALUE 0 t->mempools->bs.bio_pool.alloc 0,7276475779886346240
PARAM_VALUE 0 t->mempools->bs.bio_pool.curr_nr 0-s32max
PARAM_VALUE 0 t->mempools->bs.bio_pool.free 0,8263660038527102976
PARAM_VALUE 0 t->mempools->bs.bio_pool.wait.head.next 0,4096-ptr_max
PARAM_VALUE 0 t->mempools->bs.bio_pool.wait.head.prev 0,4096-ptr_max
PARAM_VALUE 0 t->mempools->bs.bvec_pool.alloc 0,7276475779886346240
PARAM_VALUE 0 t->mempools->bs.bvec_pool.curr_nr 0-s32max
PARAM_VALUE 0 t->mempools->bs.bvec_pool.free 0,8263660038527102976
PARAM_VALUE 0 t->mempools->bs.cache 0,4096-ptr_max
PARAM_VALUE 0 t->mempools->bs.cpuhp_dead.pprev 0,4096-ptr_max
PARAM_VALUE 0 t->mempools->bs.rescue_list.head 0
PARAM_VALUE 0 t->mempools->bs.rescue_list.tail 0
PARAM_VALUE 0 t->mempools->bs.rescue_workqueue 0,4096-ptr_max
PARAM_VALUE 0 t->mempools->io_bs.back_pad 0,64
PARAM_VALUE 0 t->mempools->io_bs.bio_pool.alloc 0,7276475779886346240
PARAM_VALUE 0 t->mempools->io_bs.bio_pool.curr_nr 0-s32max
PARAM_VALUE 0 t->mempools->io_bs.bio_pool.free 0,8263660038527102976
PARAM_VALUE 0 t->mempools->io_bs.bvec_pool.alloc 0,7276475779886346240
PARAM_VALUE 0 t->mempools->io_bs.bvec_pool.curr_nr 0-s32max
PARAM_VALUE 0 t->mempools->io_bs.bvec_pool.free 0,8263660038527102976
PARAM_VALUE 0 t->mempools->io_bs.cache 0,4096-ptr_max
PARAM_VALUE 0 t->mempools->io_bs.cpuhp_dead.pprev 0,4096-ptr_max
PARAM_VALUE 0 t->mempools->io_bs.rescue_list.head 0
PARAM_VALUE 0 t->mempools->io_bs.rescue_list.tail 0
PARAM_VALUE 0 t->mempools->io_bs.rescue_workqueue 0,4096-ptr_max
PARAM_VALUE 0 t->mode 1,3
PARAM_VALUE 0 t->num_allocated 8-1048576
PARAM_VALUE 0 t->num_targets 0-1048576
PARAM_VALUE 0 t->type 1-u32max
PARAM_VALUE 0 *t->counts 0-4294967295
PARAM_VALUE 1 q 0,4096-ptr_max
PARAM_VALUE 2 limits 4496982303064068096
PARAM_VALUE 2 limits->atomic_write_boundary_sectors 0
PARAM_VALUE 2 limits->atomic_write_max_sectors 0
PARAM_VALUE 2 limits->atomic_write_unit_max 0
PARAM_VALUE 2 limits->atomic_write_unit_min 0
PARAM_VALUE 2 limits->discard_alignment 0-4294967294
PARAM_VALUE 2 limits->discard_granularity 1-u32max
PARAM_VALUE 2 limits->integrity.flags 0,16-223
PARAM_VALUE 2 limits->max_active_zones 0
PARAM_VALUE 2 limits->max_dev_sectors 8-u32max
PARAM_VALUE 2 limits->max_fast_segment_size 0
PARAM_VALUE 2 limits->max_hw_sectors 8-u32max
PARAM_VALUE 2 limits->max_open_zones 0
PARAM_VALUE 2 limits->max_sectors 8-u32max
PARAM_VALUE 2 limits->max_user_discard_sectors u32max
PARAM_VALUE 2 limits->max_wzeroes_unmap_sectors 0
PARAM_VALUE 2 limits->max_zone_append_sectors 0
CAPPED_DATA 0 t->num_targets 1
DATA_SOURCE 0 t $1
MEM_ZERO 2 limits
NO_OVERFLOW_SIMPLE 0 t->mempools->bs.bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 t->mempools->bs.bvec_pool.min_nr
NO_OVERFLOW_SIMPLE 0 t->mempools->io_bs.bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 t->mempools->io_bs.bvec_pool.min_nr
NO_OVERFLOW_SIMPLE 0 t->num_allocated
NO_OVERFLOW_SIMPLE 1 q->async_depth
NO_OVERFLOW_SIMPLE 1 q->nr_requests
NO_OVERFLOW_SIMPLE 1 q->tag_set->nr_hw_queues
NO_OVERFLOW_SIMPLE 1 q->tag_set->queue_depth
HALF_LOCKED2 &md->type_lock