Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/ata/
Dlibata-core.c1346 u64 native_sectors; in ata_hpa_resize() local
1356 rc = ata_read_native_max_address(dev, &native_sectors); in ata_hpa_resize()
1373 dev->n_native_sectors = native_sectors; in ata_hpa_resize()
1376 if (native_sectors <= sectors || !unlock_hpa) { in ata_hpa_resize()
1377 if (!print_info || native_sectors == sectors) in ata_hpa_resize()
1380 if (native_sectors > sectors) in ata_hpa_resize()
1384 (unsigned long long)native_sectors); in ata_hpa_resize()
1385 else if (native_sectors < sectors) in ata_hpa_resize()
1388 (unsigned long long)native_sectors, in ata_hpa_resize()
1394 rc = ata_set_max_sectors(dev, native_sectors); in ata_hpa_resize()
[all …]