'\" t .\" Title: ata_port_alloc .\" 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_PORT_ALLOC" "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_port_alloc \- allocate and initialize basic ATA port resources .SH "SYNOPSIS" .HP \w'struct\ ata_port\ *\ ata_port_alloc('u .BI "struct ata_port * ata_port_alloc(struct\ ata_host\ *\ " "host" ");" .SH "ARGUMENTS" .PP \fIhost\fR .RS 4 ATA host this allocated port belongs to .RE .SH "DESCRIPTION" .PP Allocate and initialize basic ATA port resources\&. .SH "RETURNS" .PP Allocate ATA port on success, NULL on failure\&. .SH "LOCKING" .PP Inherited from calling layer (may sleep)\&. .SH "AUTHOR" .PP \fBJeff Garzik\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br