Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
block/blk-throttle.c blk_throtl_cancel_bios() -> blk_throtl_activated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | q->limits.alignment_offset | 0-u16max[c] |
| HOST_DATA | 0 | q->limits.atomic_write_max_sectors | 0-8388607[c] |
| HOST_DATA | 0 | q->limits.discard_granularity | 512-u32max[c] |
| HOST_DATA | 0 | q->limits.integrity.interval_exp | 0-31[c] |
| HOST_DATA | 0 | q->limits.io_min | 512-65536[c] |
| HOST_DATA | 0 | q->limits.max_active_zones | 0-u32max |
| HOST_DATA | 0 | q->limits.max_open_zones | 0-u32max |
| HOST_DATA | 0 | q->limits.max_sectors | 0-s32max[c] |
| HOST_DATA | 0 | q->limits.max_zone_append_sectors | 0-s32max[c] |
| HOST_DATA | 0 | q->limits.zone_write_granularity | 512-65536[c] |
| NO_OVERFLOW_SIMPLE | 0 | q->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | q->limits.discard_granularity | |
| NO_OVERFLOW_SIMPLE | 0 | q->limits.max_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | q->limits.max_hw_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | q->limits.max_open_zones | |
| NO_OVERFLOW_SIMPLE | 0 | q->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | q->nr_requests | |
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &md->table_devices_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &set->update_nr_hwq_lock | ||
| HALF_LOCKED2 | &ub->mutex | ||
| HALF_LOCKED2 | global &bch_register_lock | ||
| HALF_LOCKED2 | global &devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
block/blk-throttle.c tg_set_conf() -> blk_throtl_activated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bdev->bd_queue->rq_qos_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
block/blk-throttle.c tg_set_limit() -> blk_throtl_activated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bdev->bd_queue->rq_qos_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
block/blk-core.c blk_should_throtl() -> blk_throtl_activated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | q->last_merge->__sector | 0-u64max |
| HALF_LOCKED2 | &cache->writeback_lock | ||
| HALF_LOCKED2 | &head->srcu | ||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &zmd->mblk_sem | ||
| HALF_LOCKED2 | global &bch_register_lock | ||
| HALF_LOCKED2 | 0 | &q->queue_lock |
block/blk-merge.c blk_should_throtl() -> blk_throtl_activated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | q->last_merge->__sector | 0-s32max[c] |
| HALF_LOCKED2 | 0 | &q->queue_lock |