Query: ata_qc_complete
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ATA_QC_COMPLETE(9) libata Library ATA_QC_COMPLETE(9)NAMEata_qc_complete - Complete an active ATA commandSYNOPSISvoid ata_qc_complete(struct ata_queued_cmd * qc);ARGUMENTSqc Command to completeDESCRIPTIONIndicate to the mid and upper layers that an ATA command has completed, with either an ok or not-ok status. Refrain from calling this function multiple times when successfully completing multiple NCQ commands. ata_qc_complete_multiple should be used instead, which will properly update IRQ expect state.LOCKINGspin_lock_irqsave(host lock)AUTHORJeff Garzik Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 ATA_QC_COMPLETE(9)