Searched refs:budget_token (Results 1 – 3 of 3) sorted by relevance
134 int budget_token; in __blk_mq_do_dispatch_sched() local144 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() local264 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()
196 int budget_token) in blk_mq_put_dispatch_budget() argument199 q->mq_ops->put_budget(q, budget_token); in blk_mq_put_dispatch_budget()
1290 int budget_token = -1; in blk_mq_prep_dispatch_rq() local1293 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() local1332 if (budget_token >= 0) in blk_mq_release_budgets()1333 blk_mq_put_dispatch_budget(q, budget_token); in blk_mq_release_budgets()2038 int budget_token; in __blk_mq_try_issue_directly() local2056 budget_token = blk_mq_get_dispatch_budget(q); in __blk_mq_try_issue_directly()[all …]