Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- block/blk-settings.c
- drivers/block/drbd/drbd_nl.c, line 1366
- drivers/md/dm-table.c
- fs/btrfs/zoned.c, line 745
Smatch caller information:
drivers/block/drbd/drbd_nl.c drbd_reconsider_queue_parameters() -> blk_stack_limits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4668276291201921024 |
| PARAM_VALUE | 0 | t->alignment_offset | 0 |
| PARAM_VALUE | 0 | t->atomic_write_hw_boundary | 0 |
| PARAM_VALUE | 0 | t->atomic_write_hw_max | u32max |
| PARAM_VALUE | 0 | t->atomic_write_hw_unit_max | 0 |
| PARAM_VALUE | 0 | t->atomic_write_hw_unit_min | 0 |
| PARAM_VALUE | 0 | t->chunk_sectors | 0 |
| PARAM_VALUE | 0 | t->discard_alignment | 0 |
| PARAM_VALUE | 0 | t->discard_granularity | 0,512 |
| PARAM_VALUE | 0 | t->dma_alignment | 511 |
| PARAM_VALUE | 0 | t->features | 0 |
| PARAM_VALUE | 0 | t->flags | 0 |
| PARAM_VALUE | 0 | t->io_min | 512 |
| PARAM_VALUE | 0 | t->io_opt | 0 |
| PARAM_VALUE | 0 | t->logical_block_size | 512 |
| PARAM_VALUE | 0 | t->max_dev_sectors | u32max |
| PARAM_VALUE | 0 | t->max_discard_sectors | 0 |
| PARAM_VALUE | 0 | t->max_discard_segments | u16max |
| PARAM_VALUE | 0 | t->max_hw_discard_sectors | 0,8192,262144 |
| PARAM_VALUE | 0 | t->max_hw_sectors | 0-8388607 |
| PARAM_VALUE | 0 | t->max_hw_wzeroes_unmap_sectors | u32max |
| PARAM_VALUE | 0 | t->max_hw_zone_append_sectors | u32max |
| PARAM_VALUE | 0 | t->max_integrity_segments | 0 |
| PARAM_VALUE | 0 | t->max_sectors | u32max |
| PARAM_VALUE | 0 | t->max_secure_erase_sectors | 0 |
| PARAM_VALUE | 0 | t->max_segment_size | u32max |
| PARAM_VALUE | 0 | t->max_user_sectors | 0 |
| PARAM_VALUE | 0 | t->max_user_wzeroes_unmap_sectors | u32max |
| PARAM_VALUE | 0 | t->max_write_zeroes_sectors | u32max |
| PARAM_VALUE | 0 | t->max_zone_append_sectors | 0 |
| PARAM_VALUE | 0 | t->physical_block_size | 512 |
| PARAM_VALUE | 0 | t->seg_boundary_mask | 4095 |
| PARAM_VALUE | 0 | t->virt_boundary_mask | 0 |
| PARAM_VALUE | 0 | t->zone_write_granularity | 0 |
| PARAM_VALUE | 1 | b | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0 |
| MEM_ZERO | 0 | t | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &q->limits_lock | ||
| HALF_LOCKED2 | &adm_ctx->resource->adm_mutex | ||
| TYPE_LOCK | (struct request_queue)->limits_lock |
fs/btrfs/zoned.c btrfs_check_zoned_mode() -> blk_stack_limits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->discard_alignment | 0-4294967294 |
| PARAM_VALUE | 0 | t->discard_granularity | 1-u32max |
| PARAM_VALUE | 0 | t->max_dev_sectors | 8-u32max |
| PARAM_VALUE | 0 | t->max_hw_sectors | 8-u32max |
| PARAM_VALUE | 0 | t->max_sectors | 8-u32max |
| PARAM_VALUE | 0 | t->max_zone_append_sectors | 0 |
| PARAM_VALUE | 1 | b | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0 |
| BUF_SIZE | 0 | t | 200 |
| MEM_ZERO | 0 | t | |
| NOCHECK_CALL |
drivers/md/dm-table.c dm_calculate_queue_limits() -> blk_stack_limits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4496982303064068096,6904826507154956288 |
| PARAM_VALUE | 0 | t->discard_alignment | 0-4294967294 |
| PARAM_VALUE | 0 | t->discard_granularity | 1-u32max |
| PARAM_VALUE | 0 | t->max_dev_sectors | 8-u32max |
| PARAM_VALUE | 0 | t->max_hw_sectors | 8-u32max |
| PARAM_VALUE | 0 | t->max_sectors | 8-u32max |
| PARAM_VALUE | 0 | t->max_zone_append_sectors | 0 |
| PARAM_VALUE | 1 | b | 3585778653106552832 |
| PARAM_VALUE | 1 | b->atomic_write_hw_boundary | 0 |
| PARAM_VALUE | 1 | b->atomic_write_hw_max | 1048576,u32max |
| PARAM_VALUE | 1 | b->atomic_write_hw_unit_max | 0-1048576 |
| PARAM_VALUE | 1 | b->atomic_write_hw_unit_min | 0 |
| PARAM_VALUE | 1 | b->features | 0,16-u32max |
| PARAM_VALUE | 1 | b->flags | 0 |
| PARAM_VALUE | 1 | b->max_dev_sectors | u32max |
| PARAM_VALUE | 1 | b->max_discard_sectors | 0 |
| PARAM_VALUE | 1 | b->max_hw_sectors | 2048,u32max |
| PARAM_VALUE | 1 | b->max_hw_wzeroes_unmap_sectors | u32max |
| PARAM_VALUE | 1 | b->max_hw_zone_append_sectors | u32max |
| PARAM_VALUE | 1 | b->max_integrity_segments | 0,u16max |
| PARAM_VALUE | 1 | b->max_secure_erase_sectors | 0 |
| PARAM_VALUE | 1 | b->max_segment_size | u32max |
| PARAM_VALUE | 1 | b->max_segments | u16max |
| PARAM_VALUE | 1 | b->max_user_sectors | 0 |
| PARAM_VALUE | 1 | b->max_user_wzeroes_unmap_sectors | u32max |
| PARAM_VALUE | 1 | b->seg_boundary_mask | u32max |
| PARAM_VALUE | 1 | b->virt_boundary_mask | 0 |
| PARAM_VALUE | 1 | b->zone_write_granularity | 0 |
| PARAM_VALUE | 2 | start | 0 |
| DATA_SOURCE | 0 | t | $1 |
| MEM_ZERO | 0 | t | |
| MEM_ZERO | 1 | b | |
| NO_OVERFLOW_SIMPLE | 1 | b->io_min | |
| NO_OVERFLOW_SIMPLE | 1 | b->max_hw_discard_sectors | |
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm-table.c dm_set_device_limits() -> blk_stack_limits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 1 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | t | $4 |
| LOCK2 | &q->limits_lock | ||
| TYPE_LOCK | (struct request_queue)->limits_lock |
block/blk-settings.c queue_limits_stack_bdev() -> blk_stack_limits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4678871629868883968,5205976270331260928,5238008099866365952,5659228825500925952,6542519953745661952,7614493716817502208,8942557784846725120 |
| PARAM_VALUE | 1 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | t | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | start | unit_byte |
| HALF_LOCKED2 | &mddev->gendisk->queue->limits_lock | ||
| HALF_LOCKED2 | &ns->head->disk->queue->limits_lock |