1ATA_QC_NEW(9) libata Core Internals ATA_QC_NEW(9)
23
4
NAME
6ata_qc_new - Request an available ATA command, for queueing
7
SYNOPSIS
9struct ata_queued_cmd * ata_qc_new(struct ata_port * ap);
10
ARGUMENTS
12ap
13target port
14
DESCRIPTION
16Some ATA host controllers may implement a queue depth which is less
17than ATA_MAX_QUEUE. So we shouldn´t allocate a tag which is beyond the
18hardware limitation.
19
LOCKING
21None.
22
AUTHOR
24Jeff Garzik
25Author.
26
COPYRIGHT
28Kernel Hackers Manual 2.6. June 2019 ATA_QC_NEW(9)