Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- block/blk-integrity.c, line 245
- block/blk-settings.c, line 596
- block/blk-sysfs.c, line 900
- drivers/block/nbd.c, line 374
- drivers/block/virtio_blk.c, line 1115
- drivers/scsi/sd.c
- drivers/scsi/sr.c, line 492
- drivers/usb/storage/scsiglue.c, line 597
Smatch caller information:
drivers/scsi/sd.c cache_type_store() -> queue_limits_commit_update_frozen()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| 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_on | 0 |
| PARAM_VALUE | 0 | q->limits_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | lim | 254677643050971136 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &q->limits_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct request_queue)->limits_lock |
drivers/scsi/sd.c max_write_same_blocks_store() -> queue_limits_commit_update_frozen()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| 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_on | 0 |
| PARAM_VALUE | 0 | q->limits_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | lim | 937886836896604160 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | lim->max_hw_wzeroes_unmap_sectors | 0-u32max[c] |
| USER_DATA | 1 | lim->max_write_zeroes_sectors | 0-u32max[c] |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &q->limits_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct request_queue)->limits_lock |
drivers/scsi/sd.c provisioning_mode_store() -> queue_limits_commit_update_frozen()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| 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_on | 0 |
| PARAM_VALUE | 0 | q->limits_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | lim | 9192698663419183104 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &q->limits_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct request_queue)->limits_lock |
block/blk-sysfs.c queue_attr_store() -> queue_limits_commit_update_frozen()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 0 | q->limits_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | q->limits_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | q->limits_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | q->limits_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | q->limits_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | lim | 3213214221196525568 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &q->limits_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct request_queue)->limits_lock |
block/blk-integrity.c flag_store() -> queue_limits_commit_update_frozen()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 0 | q->limits_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | q->limits_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | q->limits_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | q->limits_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | q->limits_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | lim | 1533460312819372032 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &q->limits_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct request_queue)->limits_lock |
drivers/block/virtio_blk.c cache_type_store() -> queue_limits_commit_update_frozen()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 0 | q->limits_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | q->limits_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | q->limits_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | q->limits_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | q->limits_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | lim | 1781530336188878848 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &q->limits_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct request_queue)->limits_lock |
drivers/scsi/sr.c sr_revalidate_disk() -> queue_limits_commit_update_frozen()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 0 | q->limits_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | q->limits_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | q->limits_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | q->limits_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | q->limits_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | lim | 3858058076044410880 |
| PARAM_VALUE | 1 | lim->features | 0,4-u32max |
| PARAM_VALUE | 1 | lim->logical_block_size | 1-255,512,2048 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &q->limits_lock | |
| HALF_LOCKED2 | &disk->open_mutex | ||
| TYPE_LOCK | (struct request_queue)->limits_lock |
drivers/block/nbd.c nbd_set_size() -> queue_limits_commit_update_frozen()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| 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_on | 0 |
| PARAM_VALUE | 0 | q->limits_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | q->mq_kobj->sd->attr.open->nr_mmapped | 0-4294967295 |
| 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 | 4617256290590720 |
| PARAM_VALUE | 1 | lim->logical_block_size | 512-65536 |
| PARAM_VALUE | 1 | lim->max_hw_discard_sectors | 0,8388607 |
| PARAM_VALUE | 1 | lim->physical_block_size | 512-65536 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | lim->logical_block_size | 512-65536 |
| USER_DATA | 1 | lim->physical_block_size | 512-65536 |
| LOCK2 | &nbd->config_lock | ||
| LOCK2 | 0 | &q->limits_lock | |
| TYPE_LOCK | (struct nbd_device)->config_lock | ||
| TYPE_LOCK | (struct request_queue)->limits_lock |
drivers/usb/storage/scsiglue.c max_sectors_store() -> queue_limits_commit_update_frozen()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| 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_on | 0 |
| PARAM_VALUE | 0 | q->limits_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | lim | 5378416726228738048 |
| PARAM_VALUE | 1 | lim->max_hw_sectors | 0-u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &q->limits_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct request_queue)->limits_lock |