Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- block/blk-settings.c, line 614
- drivers/md/dm-table.c, line 2096
- drivers/md/md-linear.c, line 84
- drivers/md/raid0.c, line 400
- drivers/md/raid1.c, line 3237
- drivers/md/raid10.c, line 3969
- drivers/md/raid5.c, line 7870
Smatch caller information:
drivers/md/md-linear.c linear_set_limits() -> queue_limits_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q->tag_set->update_nr_hwq_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | q->tag_set->update_nr_hwq_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | lim | 5205976270331260928 |
| PARAM_VALUE | 1 | lim->atomic_write_boundary_sectors | 0 |
| PARAM_VALUE | 1 | lim->atomic_write_max_sectors | 0 |
| PARAM_VALUE | 1 | lim->atomic_write_unit_max | 0 |
| PARAM_VALUE | 1 | lim->atomic_write_unit_min | 0 |
| PARAM_VALUE | 1 | lim->discard_alignment | 0-4294967294 |
| PARAM_VALUE | 1 | lim->discard_granularity | 1-u32max |
| PARAM_VALUE | 1 | lim->max_active_zones | 0 |
| PARAM_VALUE | 1 | lim->max_dev_sectors | 8-u32max |
| PARAM_VALUE | 1 | lim->max_fast_segment_size | 0 |
| PARAM_VALUE | 1 | lim->max_open_zones | 0 |
| PARAM_VALUE | 1 | lim->max_sectors | 8-u32max |
| PARAM_VALUE | 1 | lim->max_user_discard_sectors | u32max |
| PARAM_VALUE | 1 | lim->max_wzeroes_unmap_sectors | 0 |
| MEM_ZERO | 1 | lim | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mddev->reconfig_mutex |
drivers/md/raid1.c raid1_set_limits() -> queue_limits_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lim | 4678871629868883968 |
| PARAM_VALUE | 1 | lim->atomic_write_boundary_sectors | 0 |
| PARAM_VALUE | 1 | lim->atomic_write_max_sectors | 0 |
| PARAM_VALUE | 1 | lim->atomic_write_unit_max | 0 |
| PARAM_VALUE | 1 | lim->atomic_write_unit_min | 0 |
| PARAM_VALUE | 1 | lim->discard_alignment | 0-4294967294 |
| PARAM_VALUE | 1 | lim->discard_granularity | 1-u32max |
| PARAM_VALUE | 1 | lim->max_active_zones | 0 |
| PARAM_VALUE | 1 | lim->max_dev_sectors | 8-u32max |
| PARAM_VALUE | 1 | lim->max_fast_segment_size | 0 |
| PARAM_VALUE | 1 | lim->max_hw_sectors | 8-u32max |
| PARAM_VALUE | 1 | lim->max_open_zones | 0 |
| PARAM_VALUE | 1 | lim->max_sectors | 8-u32max |
| PARAM_VALUE | 1 | lim->max_user_discard_sectors | u32max |
| PARAM_VALUE | 1 | lim->max_wzeroes_unmap_sectors | 0 |
| MEM_ZERO | 1 | lim |
drivers/md/raid0.c raid0_set_limits() -> queue_limits_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lim | 8942557784846725120 |
| PARAM_VALUE | 1 | lim->atomic_write_boundary_sectors | 0 |
| PARAM_VALUE | 1 | lim->atomic_write_max_sectors | 0 |
| PARAM_VALUE | 1 | lim->atomic_write_unit_max | 0 |
| PARAM_VALUE | 1 | lim->atomic_write_unit_min | 0 |
| PARAM_VALUE | 1 | lim->discard_alignment | 0-4294967294 |
| PARAM_VALUE | 1 | lim->discard_granularity | 1-u32max |
| PARAM_VALUE | 1 | lim->max_active_zones | 0 |
| PARAM_VALUE | 1 | lim->max_dev_sectors | 8-u32max |
| PARAM_VALUE | 1 | lim->max_fast_segment_size | 0 |
| PARAM_VALUE | 1 | lim->max_hw_sectors | 1-u32max |
| PARAM_VALUE | 1 | lim->max_open_zones | 0 |
| PARAM_VALUE | 1 | lim->max_sectors | 8-u32max |
| PARAM_VALUE | 1 | lim->max_user_discard_sectors | u32max |
| PARAM_VALUE | 1 | lim->max_wzeroes_unmap_sectors | 0 |
| MEM_ZERO | 1 | lim |
drivers/md/dm-table.c dm_table_set_restrictions() -> queue_limits_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 0 | q->disk | 0,4096-ptr_max |
| PARAM_VALUE | 0 | q->disk->bdi->io_pages | 0-536870911 |
| PARAM_VALUE | 0 | q->disk->bdi->ra_pages | 32-u64max |
| PARAM_VALUE | 0 | q->limits.atomic_write_boundary_sectors | 0-8388607 |
| PARAM_VALUE | 0 | q->limits.atomic_write_max_sectors | 0-8388607 |
| PARAM_VALUE | 0 | q->limits.atomic_write_unit_max | 0-1171456 |
| PARAM_VALUE | 0 | q->limits.atomic_write_unit_min | 0-1171456 |
| PARAM_VALUE | 0 | q->limits.discard_granularity | 0,512-u32max |
| PARAM_VALUE | 0 | q->limits.dma_alignment | 1-u32max |
| PARAM_VALUE | 0 | q->limits.io_min | 512-u32max |
| PARAM_VALUE | 0 | q->limits.logical_block_size | 512-65536 |
| PARAM_VALUE | 0 | q->limits.max_discard_segments | 1-u16max |
| PARAM_VALUE | 0 | q->limits.max_fast_segment_size | 0-4096 |
| PARAM_VALUE | 0 | q->limits.max_segment_size | 1-u32max |
| PARAM_VALUE | 0 | q->limits.max_segments | 1-u16max |
| PARAM_VALUE | 0 | q->limits.max_user_sectors | 0,8-u32max |
| PARAM_VALUE | 0 | q->limits.physical_block_size | 512-u32max |
| PARAM_VALUE | 0 | q->limits.seg_boundary_mask | 1-u64max |
| PARAM_VALUE | 0 | q->limits.zone_write_granularity | 512-u32max |
| PARAM_VALUE | 0 | q->limits_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | q->limits_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | q->limits_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | q->limits_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | q->limits_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | q->limits_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | q->limits_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | lim | 6973977237127348224 |
| CAPPED_DATA | 0 | q->limits.max_hw_wzeroes_unmap_sectors | 1 |
| DATA_SOURCE | 0 | q | $1 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | q->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | q->limits.discard_granularity | |
| NO_OVERFLOW_SIMPLE | 0 | q->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | q->nr_requests | |
| NO_OVERFLOW_SIMPLE | 0 | q->tag_set->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | q->tag_set->queue_depth | |
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/raid5.c raid5_set_limits() -> queue_limits_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lim | 6542519953745661952 |
| PARAM_VALUE | 1 | lim->atomic_write_boundary_sectors | 0 |
| PARAM_VALUE | 1 | lim->atomic_write_max_sectors | 0 |
| PARAM_VALUE | 1 | lim->atomic_write_unit_max | 0 |
| PARAM_VALUE | 1 | lim->atomic_write_unit_min | 0 |
| PARAM_VALUE | 1 | lim->discard_alignment | 0-4294967294 |
| PARAM_VALUE | 1 | lim->max_active_zones | 0 |
| PARAM_VALUE | 1 | lim->max_dev_sectors | 8-u32max |
| PARAM_VALUE | 1 | lim->max_fast_segment_size | 0 |
| PARAM_VALUE | 1 | lim->max_hw_discard_sectors | u32max |
| PARAM_VALUE | 1 | lim->max_hw_sectors | 2048-8388607 |
| PARAM_VALUE | 1 | lim->max_open_zones | 0 |
| PARAM_VALUE | 1 | lim->max_sectors | 8-u32max |
| PARAM_VALUE | 1 | lim->max_segments | u16max |
| PARAM_VALUE | 1 | lim->max_user_discard_sectors | u32max |
| PARAM_VALUE | 1 | lim->max_wzeroes_unmap_sectors | 0 |
| MEM_ZERO | 1 | lim |
drivers/md/raid10.c raid10_set_queue_limits() -> queue_limits_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lim | 5238008099866365952 |
| PARAM_VALUE | 1 | lim->atomic_write_boundary_sectors | 0 |
| PARAM_VALUE | 1 | lim->atomic_write_max_sectors | 0 |
| PARAM_VALUE | 1 | lim->atomic_write_unit_max | 0 |
| PARAM_VALUE | 1 | lim->atomic_write_unit_min | 0 |
| PARAM_VALUE | 1 | lim->discard_alignment | 0-4294967294 |
| PARAM_VALUE | 1 | lim->discard_granularity | 1-u32max |
| PARAM_VALUE | 1 | lim->max_active_zones | 0 |
| PARAM_VALUE | 1 | lim->max_dev_sectors | 8-u32max |
| PARAM_VALUE | 1 | lim->max_fast_segment_size | 0 |
| PARAM_VALUE | 1 | lim->max_hw_sectors | 8-u32max |
| PARAM_VALUE | 1 | lim->max_open_zones | 0 |
| PARAM_VALUE | 1 | lim->max_sectors | 8-u32max |
| PARAM_VALUE | 1 | lim->max_user_discard_sectors | u32max |
| PARAM_VALUE | 1 | lim->max_wzeroes_unmap_sectors | 0 |
| MEM_ZERO | 1 | lim |