1ATA_QC_COMPLETE(9)              libata Library              ATA_QC_COMPLETE(9)
2
3
4

NAME

6       ata_qc_complete - Complete an active ATA command
7

SYNOPSIS

9       void ata_qc_complete(struct ata_queued_cmd * qc);
10

ARGUMENTS

12       qc
13           Command to complete
14

DESCRIPTION

16       Indicate to the mid and upper layers that an ATA command has completed,
17       with either an ok or not-ok status.
18
19       Refrain from calling this function multiple times when successfully
20       completing multiple NCQ commands.  ata_qc_complete_multiple should be
21       used instead, which will properly update IRQ expect state.
22

LOCKING

24       spin_lock_irqsave(host lock)
25

AUTHOR

27       Jeff Garzik
28           Author.
29
31Kernel Hackers Manual 3.10         June 2019                ATA_QC_COMPLETE(9)
Impressum