Lines Matching refs:n_sectors
2720 if (dev->n_sectors >= (1UL << 28) &&
2734 (unsigned long long)dev->n_sectors,
2760 (unsigned long long)dev->n_sectors,
3018 dev->n_sectors = 0;
3056 dev->n_sectors = ata_id_n_sectors(id);
3065 dev->n_sectors = 0;
3950 u64 n_sectors = dev->n_sectors;
3975 /* verify n_sectors hasn't changed */
3976 if (dev->class != ATA_DEV_ATA || !n_sectors ||
3977 dev->n_sectors == n_sectors)
3980 /* n_sectors has changed */
3981 ata_dev_warn(dev, "n_sectors mismatch %llu != %llu\n",
3982 (unsigned long long)n_sectors,
3983 (unsigned long long)dev->n_sectors);
3991 dev->n_sectors > n_sectors && dev->n_sectors == n_native_sectors) {
3993 "new n_sectors matches native, probably "
3994 "late HPA unlock, n_sectors updated\n");
3995 /* use the larger n_sectors */
4006 dev->n_sectors < n_sectors && n_sectors == n_native_sectors &&
4009 "old n_sectors matches native, probably "
4019 dev->n_sectors = n_sectors;