Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
block/blk-throttle.c blk_throtl_activated() -> blkcg_policy_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | pol | 4969761716224942080 |
| DATA_SOURCE | 0 | q | $0 |
| 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_requests | |
| HALF_LOCKED2 | &bdev->bd_queue->rq_qos_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
block/blk-core.c blk_throtl_activated() -> blkcg_policy_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | pol | 4969761716224942080 |
| DATA_SOURCE | 0 | q | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | q->last_merge->__sector | 0-18446744073709551614 |
| 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_throtl_activated() -> blkcg_policy_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | pol | 4969761716224942080 |
| DATA_SOURCE | 0 | q | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | q->last_merge->__sector | 0-s32max[c] |
| HALF_LOCKED2 | 0 | &q->queue_lock |
block/blk-cgroup.c blkcg_activate_policy() -> blkcg_policy_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pol | 771834952249257984,3009339375048437760,4969761716224942080,8852991955381866496 |
| DATA_SOURCE | 1 | pol | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bdev->bd_queue->rq_qos_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &q->elevator_lock |
block/blk-cgroup.c blkcg_deactivate_policy() -> blkcg_policy_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pol | 771834952249257984,3009339375048437760,8852991955381866496 |
| DATA_SOURCE | 1 | pol | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &q->elevator_lock | ||
| HALF_LOCKED2 | &q->rq_qos_mutex | ||
| HALF_LOCKED2 | &set->update_nr_hwq_lock |
block/blk-cgroup.c blkcg_print_blkgs() -> blkcg_policy_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pol | 771834952249257984,3009339375048437760,4969761716224942080,8852991955381866496 |
| PARAM_VALUE | 1 | pol->plid | 0-5 |
| DATA_SOURCE | 1 | pol | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sf->lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct seq_file)->lock |
block/blk-cgroup.c blkg_alloc() -> blkcg_policy_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| BUF_SIZE | 0 | q | (-1)-s32max |
| BUF_SIZE | 0 | q | (-1)-s32max |
| CAPPED_DATA | 0 | q | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | q->async_depth | 0-10238[c] |
| 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] |
| HOST_DATA | 0 | q->nr_requests | 0-10238[c] |
| NO_OVERFLOW_SIMPLE | 0 | q->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | q->limits.max_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | q->limits.max_open_zones | |
| NO_OVERFLOW_SIMPLE | 0 | q->nr_requests | |
| NO_OVERFLOW_SIMPLE | 0 | q->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | q->stats | |
| HALF_LOCKED2 | &bdev->bd_queue->rq_qos_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &q->blkcg_mutex | ||
| HALF_LOCKED2 | &q->queue_lock | ||
| HALF_LOCKED2 | irq |
block/blk-cgroup.c blkg_conf_prep() -> blkcg_policy_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | pol | 771834952249257984,3009339375048437760,4969761716224942080,8852991955381866496 |
| CAPPED_DATA | 0 | &q->blkcg_mutex | 1 |
| DATA_SOURCE | 1 | pol | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bdev->bd_queue->rq_qos_mutex | ||
| LOCK2 | &of->mutex | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &q->blkcg_mutex | |
| LOCK2 | 0 | &q->queue_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct request_queue)->blkcg_mutex | ||
| TYPE_LOCK | (struct request_queue)->queue_lock |
block/blk-cgroup.c blkg_conf_prep() -> blkcg_policy_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | pol | 771834952249257984,3009339375048437760,4969761716224942080,8852991955381866496 |
| PARAM_VALUE | 1 | pol->plid | 0-5 |
| CAPPED_DATA | 0 | q | 1 |
| CAPPED_DATA | 0 | &q->blkcg_mutex | 1 |
| DATA_SOURCE | 1 | pol | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bdev->bd_queue->rq_qos_mutex | ||
| LOCK2 | &of->mutex | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &q->blkcg_mutex | |
| LOCK2 | 0 | &q->queue_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct request_queue)->blkcg_mutex | ||
| TYPE_LOCK | (struct request_queue)->queue_lock |