other versions
- jessie 3.16.56-1+deb8u1
ATA_STD_QC_DEFER(9) | libata Library | ATA_STD_QC_DEFER(9) |
NAME¶
ata_std_qc_defer - Check whether a qc needs to be deferredSYNOPSIS¶
int
ata_std_qc_defer(struct ata_queued_cmd * qc);
ARGUMENTS¶
qcATA command in question
DESCRIPTION¶
Non-NCQ commands cannot run with any other command, NCQ or not. As upper layer only knows the queue depth, we are responsible for maintaining exclusion. This function checks whether a new command qc can be issued.LOCKING¶
spin_lock_irqsave(host lock)RETURNS¶
ATA_DEFER_* if deferring is needed, 0 otherwise.AUTHOR¶
Jeff GarzikAuthor.
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |