Searched refs:budget_token (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/block/ |
D | blk-mq-sched.c | 104 int budget_token; in __blk_mq_do_dispatch_sched() local 114 budget_token = blk_mq_get_dispatch_budget(q); in __blk_mq_do_dispatch_sched() 115 if (budget_token < 0) in __blk_mq_do_dispatch_sched() 120 blk_mq_put_dispatch_budget(q, budget_token); in __blk_mq_do_dispatch_sched() 132 blk_mq_set_rq_budget_token(rq, budget_token); in __blk_mq_do_dispatch_sched() 224 int budget_token; in blk_mq_do_dispatch_ctx() local 234 budget_token = blk_mq_get_dispatch_budget(q); in blk_mq_do_dispatch_ctx() 235 if (budget_token < 0) in blk_mq_do_dispatch_ctx() 240 blk_mq_put_dispatch_budget(q, budget_token); in blk_mq_do_dispatch_ctx() 252 blk_mq_set_rq_budget_token(rq, budget_token); in blk_mq_do_dispatch_ctx()
|
D | blk-mq.h | 247 int budget_token) in blk_mq_put_dispatch_budget() argument 250 q->mq_ops->put_budget(q, budget_token); in blk_mq_put_dispatch_budget()
|
D | blk-mq.c | 1925 int budget_token = -1; in blk_mq_prep_dispatch_rq() local 1928 budget_token = blk_mq_get_dispatch_budget(rq->q); in blk_mq_prep_dispatch_rq() 1929 if (budget_token < 0) { in blk_mq_prep_dispatch_rq() 1933 blk_mq_set_rq_budget_token(rq, budget_token); in blk_mq_prep_dispatch_rq() 1950 blk_mq_put_dispatch_budget(rq->q, budget_token); in blk_mq_prep_dispatch_rq() 1965 int budget_token = blk_mq_get_rq_budget_token(rq); in blk_mq_release_budgets() local 1967 if (budget_token >= 0) in blk_mq_release_budgets() 1968 blk_mq_put_dispatch_budget(q, budget_token); in blk_mq_release_budgets() 2593 int budget_token; in blk_mq_get_budget_and_tag() local 2595 budget_token = blk_mq_get_dispatch_budget(rq->q); in blk_mq_get_budget_and_tag() [all …]
|
/linux-6.12.1/drivers/scsi/ |
D | scsi_lib.c | 393 sbitmap_put(&sdev->budget_map, cmd->budget_token); in scsi_device_unbusy() 394 cmd->budget_token = -1; in scsi_device_unbusy() 1731 static void scsi_mq_put_budget(struct request_queue *q, int budget_token) in scsi_mq_put_budget() argument 1735 sbitmap_put(&sdev->budget_map, budget_token); in scsi_mq_put_budget() 1780 cmd->budget_token = token; in scsi_mq_set_rq_budget_token() 1787 return cmd->budget_token; in scsi_mq_get_rq_budget_token() 1801 WARN_ON_ONCE(cmd->budget_token < 0); in scsi_queue_rq() 1859 scsi_mq_put_budget(q, cmd->budget_token); in scsi_queue_rq() 1860 cmd->budget_token = -1; in scsi_queue_rq()
|
/linux-6.12.1/include/scsi/ |
D | scsi_cmnd.h | 83 int budget_token; member
|
/linux-6.12.1/drivers/ata/ |
D | libata-scsi.c | 753 if (WARN_ON_ONCE(cmd->budget_token >= ATA_MAX_QUEUE)) in ata_scsi_qc_new() 755 tag = cmd->budget_token; in ata_scsi_qc_new()
|