'\" t .\" Title: ata_qc_new .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: libata Core Internals .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "ATA_QC_NEW" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "libata Core Internals" .\" ----------------------------------------------------------------- .\" * 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_new \- Request an available ATA command, for queueing .SH "SYNOPSIS" .HP \w'struct\ ata_queued_cmd\ *\ ata_qc_new('u .BI "struct ata_queued_cmd * ata_qc_new(struct\ ata_port\ *\ " "ap" ");" .SH "ARGUMENTS" .PP \fIap\fR .RS 4 target port .RE .SH "DESCRIPTION" .PP Some ATA host controllers may implement a queue depth which is less than ATA_MAX_QUEUE\&. So we shouldn\*(Aqt allocate a tag which is beyond the hardware limitation\&. .SH "LOCKING" .PP None\&. .SH "AUTHOR" .PP \fBJeff Garzik\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br