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

NAME

6       ata_hpa_resize - Resize a device with an HPA set
7

SYNOPSIS

9       int ata_hpa_resize(struct ata_device * dev);
10

ARGUMENTS

12       dev
13           Device to resize
14

DESCRIPTION

16       Read the size of an LBA28 or LBA48 disk with HPA features and resize it
17       if required to the full size of the media. The caller must check the
18       drive has the HPA feature set enabled.
19

RETURNS

21       0 on success, -errno on failure.
22

AUTHOR

24       Jeff Garzik
25           Author.
26
28Kernel Hackers Manual 3.10         June 2019                 ATA_HPA_RESIZE(9)
Impressum