Query: ata_host_alloc
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ATA_HOST_ALLOC(9) libata Library ATA_HOST_ALLOC(9)NAMEata_host_alloc - allocate and init basic ATA host resourcesSYNOPSISstruct ata_host * ata_host_alloc(struct device * dev, int max_ports);ARGUMENTSdev generic device this host is associated with max_ports maximum number of ATA ports associated with this hostDESCRIPTIONAllocate and initialize basic ATA host resources. LLD calls this function to allocate a host, initializes it fully and attaches it using ata_host_register. max_ports ports are allocated and host->n_ports is initialized to max_ports. The caller is allowed to decrease host->n_ports before calling ata_host_register. The unused ports will be automatically freed on registration.RETURNSAllocate ATA host on success, NULL on failure.LOCKINGInherited from calling layer (may sleep).AUTHORJeff Garzik Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 ATA_HOST_ALLOC(9)
Related Man Pages |
---|
usb_make_path(9) - suse |
usb_make_path(9) - centos |
startsrv(8) - debian |
struct_usb_composite_driver(9) - suse |
realhostname(3) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Weird 'find' results |
Set hard block limit for user using quota |
How to increment version inside a file? |
Unsure why access time on a directory change isn't changing |