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, line 958
- drivers/md/md.c
- drivers/md/raid5.c, line 7848
- drivers/nvme/host/core.c, line 2584
Smatch caller information:
drivers/md/md.c mddev_stack_new_rdev() -> queue_limits_stack_bdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 7614493716817502208 |
| PARAM_VALUE | 1 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | bdev->bd_disk | 4096-ptr_max |
| PARAM_VALUE | 1 | bdev->bd_disk->queue | 4096-ptr_max |
| BUF_SIZE | 3 | pfx | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | offset | unit_byte |
| LOCK2 | &mddev->gendisk->queue->limits_lock | ||
| HALF_LOCKED2 | &mddev->reconfig_mutex | ||
| HALF_LOCKED2 | &mddev->reconfig_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct request_queue)->limits_lock |
drivers/md/md.c mddev_stack_rdev_limits() -> queue_limits_stack_bdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4678871629868883968,5205976270331260928,5238008099866365952,6542519953745661952,8942557784846725120 |
| PARAM_VALUE | 0 | t->discard_alignment | 0-4294967294 |
| PARAM_VALUE | 0 | t->integrity.flags | 0,16-223 |
| PARAM_VALUE | 0 | t->max_dev_sectors | 8-u32max |
| PARAM_VALUE | 0 | t->max_sectors | 8-u32max |
| PARAM_VALUE | 0 | t->max_user_discard_sectors | u32max |
| BUF_SIZE | 3 | pfx | 32 |
| DATA_SOURCE | 0 | t | $1 |
| MEM_ZERO | 0 | t | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | offset | unit_byte |
drivers/nvme/host/core.c nvme_update_ns_info() -> queue_limits_stack_bdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 5659228825500925952 |
| PARAM_VALUE | 2 | offset | 0 |
| BUF_SIZE | 3 | pfx | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ns->head->disk->queue->limits_lock | ||
| HALF_LOCKED2 | &ctrl->scan_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct request_queue)->limits_lock |
drivers/md/raid5.c raid5_set_limits() -> queue_limits_stack_bdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 6542519953745661952 |
| PARAM_VALUE | 0 | t->discard_alignment | 0-4294967294 |
| 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_user_discard_sectors | u32max |
| BUF_SIZE | 3 | pfx | 32 |
| MEM_ZERO | 0 | t | |
| NOCHECK_CALL | |||
| UNITS | 2 | offset | unit_byte |