1ATA_PORT_ALLOC(9) libata Core Internals ATA_PORT_ALLOC(9)
23
4
NAME
6ata_port_alloc - allocate and initialize basic ATA port resources
7
SYNOPSIS
9struct ata_port * ata_port_alloc(struct ata_host * host);
10
ARGUMENTS
12host
13ATA host this allocated port belongs to
14
DESCRIPTION
16Allocate and initialize basic ATA port resources.
17
RETURNS
19Allocate ATA port on success, NULL on failure.
20
LOCKING
22Inherited from calling layer (may sleep).
23
AUTHOR
25Jeff Garzik
26Author.
27
COPYRIGHT
29Kernel Hackers Manual 3.10 June 2019 ATA_PORT_ALLOC(9)