ATA_HPA_RESIZE(9) libata Core Internals ATA_HPA_RESIZE(9)NAMEata_hpa_resize - Resize a device with an HPA set
int ata_hpa_resize(struct ata_device * dev);
Device to resize
Read the size of an LBA28 or LBA48 disk with HPA features and resize it
if required to the full size of the media. The caller must check the
drive has the HPA feature set enabled.
0 on success, -errno on failure.
COPYRIGHTKernel Hackers Manual 3.8. June 2014 ATA_HPA_RESIZE(9)