Home
last modified time | relevance | path

Searched refs:native_sectors (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/ata/
Dlibata-core.c1269 u64 native_sectors; in ata_hpa_resize() local
1279 rc = ata_read_native_max_address(dev, &native_sectors); in ata_hpa_resize()
1296 dev->n_native_sectors = native_sectors; in ata_hpa_resize()
1299 if (native_sectors <= sectors || !unlock_hpa) { in ata_hpa_resize()
1300 if (!print_info || native_sectors == sectors) in ata_hpa_resize()
1303 if (native_sectors > sectors) in ata_hpa_resize()
1307 (unsigned long long)native_sectors); in ata_hpa_resize()
1308 else if (native_sectors < sectors) in ata_hpa_resize()
1311 (unsigned long long)native_sectors, in ata_hpa_resize()
1317 rc = ata_set_max_sectors(dev, native_sectors); in ata_hpa_resize()
[all …]