other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
ATA_READ_NATIVE_MAX_(9) | libata Core Internals | ATA_READ_NATIVE_MAX_(9) |
NAME¶
ata_read_native_max_address - Read native max addressSYNOPSIS¶
int
ata_read_native_max_address(struct ata_device * dev,
u64 * max_sectors);
ARGUMENTS¶
devtarget device
max_sectors
out parameter for the result native max address
DESCRIPTION¶
Perform an LBA48 or LBA28 native size query upon the device in question.RETURN¶
0 on success, -EACCES if command is aborted by the drive. -EIO on other errors.AUTHOR¶
Jeff GarzikAuthor.
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |