1ATA_PORT_ALLOC(9)            libata Core Internals           ATA_PORT_ALLOC(9)
2
3
4

NAME

6       ata_port_alloc - allocate and initialize basic ATA port resources
7

SYNOPSIS

9       struct ata_port * ata_port_alloc(struct ata_host * host);
10

ARGUMENTS

12       host
13           ATA host this allocated port belongs to
14

DESCRIPTION

16       Allocate and initialize basic ATA port resources.
17

RETURNS

19       Allocate ATA port on success, NULL on failure.
20

LOCKING

22       Inherited from calling layer (may sleep).
23

AUTHOR

25       Jeff Garzik
26           Author.
27
29Kernel Hackers Manual 2.6.         June 2019                 ATA_PORT_ALLOC(9)
Impressum