Home
last modified time | relevance | path

Searched refs:budget_token (Results 1 – 3 of 3) sorted by relevance

/block/
Dblk-mq-sched.c134 int budget_token; in __blk_mq_do_dispatch_sched() local
144 budget_token = blk_mq_get_dispatch_budget(q); in __blk_mq_do_dispatch_sched()
145 if (budget_token < 0) in __blk_mq_do_dispatch_sched()
150 blk_mq_put_dispatch_budget(q, budget_token); in __blk_mq_do_dispatch_sched()
162 blk_mq_set_rq_budget_token(rq, budget_token); in __blk_mq_do_dispatch_sched()
254 int budget_token; in blk_mq_do_dispatch_ctx() local
264 budget_token = blk_mq_get_dispatch_budget(q); in blk_mq_do_dispatch_ctx()
265 if (budget_token < 0) in blk_mq_do_dispatch_ctx()
270 blk_mq_put_dispatch_budget(q, budget_token); in blk_mq_do_dispatch_ctx()
282 blk_mq_set_rq_budget_token(rq, budget_token); in blk_mq_do_dispatch_ctx()
Dblk-mq.h196 int budget_token) in blk_mq_put_dispatch_budget() argument
199 q->mq_ops->put_budget(q, budget_token); in blk_mq_put_dispatch_budget()
Dblk-mq.c1290 int budget_token = -1; in blk_mq_prep_dispatch_rq() local
1293 budget_token = blk_mq_get_dispatch_budget(rq->q); in blk_mq_prep_dispatch_rq()
1294 if (budget_token < 0) { in blk_mq_prep_dispatch_rq()
1298 blk_mq_set_rq_budget_token(rq, budget_token); in blk_mq_prep_dispatch_rq()
1315 blk_mq_put_dispatch_budget(rq->q, budget_token); in blk_mq_prep_dispatch_rq()
1330 int budget_token = blk_mq_get_rq_budget_token(rq); in blk_mq_release_budgets() local
1332 if (budget_token >= 0) in blk_mq_release_budgets()
1333 blk_mq_put_dispatch_budget(q, budget_token); in blk_mq_release_budgets()
2018 int budget_token; in __blk_mq_try_issue_directly() local
2036 budget_token = blk_mq_get_dispatch_budget(q); in __blk_mq_try_issue_directly()
[all …]