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

NAME

6       ata_read_native_max_address - Read native max address
7

SYNOPSIS

9       int ata_read_native_max_address(struct ata_device * dev,
10                                       u64 * max_sectors);
11

ARGUMENTS

13       dev
14           target device
15
16       max_sectors
17           out parameter for the result native max address
18

DESCRIPTION

20       Perform an LBA48 or LBA28 native size query upon the device in
21       question.
22

RETURNS

24       0 on success, -EACCES if command is aborted by the drive. -EIO on other
25       errors.
26

AUTHOR

28       Jeff Garzik
29           Author.
30
32Kernel Hackers Manual 2.6.         June 2019           ATA_READ_NATIVE_MAX_(9)
Impressum