Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
block/blk-mq.c blk_mq_get_budget_and_tag() -> blk_mq_put_dispatch_budget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 0 | q->mq_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | budget_token | 0-s32max |
| CAPPED_DATA | 0 | q | 1 |
| CAPPED_DATA | 1 | budget_token | 1 |
| DATA_SOURCE | 1 | budget_token | r blk_mq_get_dispatch_budget |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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->limits.zone_write_granularity | |
| NO_OVERFLOW_SIMPLE | 0 | q->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | q->nr_requests | |
| NO_OVERFLOW_SIMPLE | 0 | q->q_usage_counter.percpu_count_ptr | |
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
block/blk-mq.c blk_mq_prep_dispatch_rq() -> blk_mq_put_dispatch_budget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 0 | q->mq_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | budget_token | 0-s32max |
| CAPPED_DATA | 1 | budget_token | 1 |
| DATA_SOURCE | 1 | budget_token | r blk_mq_get_dispatch_budget |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
block/blk-mq.c blk_mq_release_budgets() -> blk_mq_put_dispatch_budget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | budget_token | 0-s32max |
| DATA_SOURCE | 0 | q | $0 |
| DATA_SOURCE | 1 | budget_token | r blk_mq_get_rq_budget_token |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
block/blk-mq-sched.c __blk_mq_do_dispatch_sched() -> blk_mq_put_dispatch_budget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 0 | q->elevator | 1-u64max |
| PARAM_VALUE | 0 | q->elevator->type | 4096-ptr_max |
| PARAM_VALUE | 0 | q->elevator->type->ops.has_work | 410715194960605184,6769586099157078016,9174663125962096640 |
| PARAM_VALUE | 0 | q->mq_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | budget_token | 0-s32max |
| CAPPED_DATA | 1 | budget_token | 1 |
| DATA_SOURCE | 1 | budget_token | r blk_mq_get_dispatch_budget |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
block/blk-mq-sched.c blk_mq_do_dispatch_ctx() -> blk_mq_put_dispatch_budget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 0 | q->elevator | 0 |
| PARAM_VALUE | 0 | q->mq_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | budget_token | 0-s32max |
| CAPPED_DATA | 1 | budget_token | 1 |
| DATA_SOURCE | 1 | budget_token | r blk_mq_get_dispatch_budget |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |