Lines Matching refs:n_sectors
2485 dev->n_sectors = 0; in ata_dev_configure()
2524 dev->n_sectors = ata_id_n_sectors(id); in ata_dev_configure()
2546 if (dev->n_sectors >= (1UL << 28) && in ata_dev_configure()
2563 (unsigned long long)dev->n_sectors, in ata_dev_configure()
2588 (unsigned long long)dev->n_sectors, in ata_dev_configure()
3715 u64 n_sectors = dev->n_sectors; in ata_dev_revalidate() local
3745 if (dev->class != ATA_DEV_ATA || !n_sectors || in ata_dev_revalidate()
3746 dev->n_sectors == n_sectors) in ata_dev_revalidate()
3751 (unsigned long long)n_sectors, in ata_dev_revalidate()
3752 (unsigned long long)dev->n_sectors); in ata_dev_revalidate()
3760 dev->n_sectors > n_sectors && dev->n_sectors == n_native_sectors) { in ata_dev_revalidate()
3775 dev->n_sectors < n_sectors && n_sectors == n_native_sectors && in ata_dev_revalidate()
3788 dev->n_sectors = n_sectors; in ata_dev_revalidate()