Home
last modified time | relevance | path

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

/drivers/scsi/
Dscsi_lib.c302 sbitmap_put(&sdev->budget_map, cmd->budget_token); in scsi_device_unbusy()
303 cmd->budget_token = -1; in scsi_device_unbusy()
1652 static void scsi_mq_put_budget(struct request_queue *q, int budget_token) in scsi_mq_put_budget() argument
1656 sbitmap_put(&sdev->budget_map, budget_token); in scsi_mq_put_budget()
1701 cmd->budget_token = token; in scsi_mq_set_rq_budget_token()
1708 return cmd->budget_token; in scsi_mq_get_rq_budget_token()
1722 WARN_ON_ONCE(cmd->budget_token < 0); in scsi_queue_rq()
1780 scsi_mq_put_budget(q, cmd->budget_token); in scsi_queue_rq()
1781 cmd->budget_token = -1; in scsi_queue_rq()
/drivers/ata/
Dlibata-scsi.c658 if (WARN_ON_ONCE(cmd->budget_token >= ATA_MAX_QUEUE)) in ata_scsi_qc_new()
660 tag = cmd->budget_token; in ata_scsi_qc_new()