1ATA_READ_NATIVE_MAX_(9) libata Core Internals ATA_READ_NATIVE_MAX_(9)
2
3
4
6 ata_read_native_max_address - Read native max address
7
9 int ata_read_native_max_address(struct ata_device * dev,
10 u64 * max_sectors);
11
13 dev
14 target device
15
16 max_sectors
17 out parameter for the result native max address
18
20 Perform an LBA48 or LBA28 native size query upon the device in
21 question.
22
24 0 on success, -EACCES if command is aborted by the drive. -EIO on other
25 errors.
26
28 Jeff Garzik
29 Author.
30
32Kernel Hackers Manual 2.6. November 2011 ATA_READ_NATIVE_MAX_(9)