1ATA_STD_QC_DEFER(9) libata Library ATA_STD_QC_DEFER(9)
2
3
4
6 ata_std_qc_defer - Check whether a qc needs to be deferred
7
9 int ata_std_qc_defer(struct ata_queued_cmd * qc);
10
12 qc
13 ATA command in question
14
16 Non-NCQ commands cannot run with any other command, NCQ or not. As
17 upper layer only knows the queue depth, we are responsible for
18 maintaining exclusion. This function checks whether a new command qc
19 can be issued.
20
22 spin_lock_irqsave(host lock)
23
25 ATA_DEFER_* if deferring is needed, 0 otherwise.
26
28 Jeff Garzik
29 Author.
30
32Kernel Hackers Manual 3.10 June 2019 ATA_STD_QC_DEFER(9)