'\" t .\" Title: ata_qc_complete .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: libata Library .\" Source: Kernel Hackers Manual 4.11.6 .\" Language: English .\" .TH "ATA_QC_COMPLETE" "9" "July 2017" "Kernel Hackers Manual 4\&.11\&" "libata Library" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ata_qc_complete \- Complete an active ATA command .SH "SYNOPSIS" .HP \w'void\ ata_qc_complete('u .BI "void ata_qc_complete(struct\ ata_queued_cmd\ *\ " "qc" ");" .SH "ARGUMENTS" .PP \fIstruct ata_queued_cmd * qc\fR .RS 4 Command to complete .RE .SH "DESCRIPTION" .PP Indicate to the mid and upper layers that an ATA command has completed, with either an ok or not\-ok status\&. .PP Refrain from calling this function multiple times when successfully completing multiple NCQ commands\&. \fBata_qc_complete_multiple\fR should be used instead, which will properly update IRQ expect state\&. .PP LOCKING: spin_lock_irqsave(host lock) .SH "AUTHOR" .PP \fBJeff Garzik\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br