Home
last modified time | relevance | path

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

/linux/drivers/ata/
H A Dlibata-core.c1228 static int ata_set_max_sectors(struct ata_device *dev, u64 new_sectors) in ata_set_max_sectors() argument
1234 new_sectors--; in ata_set_max_sectors()
1244 tf.hob_lbal = (new_sectors >> 24) & 0xff; in ata_set_max_sectors()
1245 tf.hob_lbam = (new_sectors >> 32) & 0xff; in ata_set_max_sectors()
1246 tf.hob_lbah = (new_sectors >> 40) & 0xff; in ata_set_max_sectors()
1250 tf.device |= (new_sectors >> 24) & 0xf; in ata_set_max_sectors()
1256 tf.lbal = (new_sectors >> 0) & 0xff; in ata_set_max_sectors()
1257 tf.lbam = (new_sectors >> 8) & 0xff; in ata_set_max_sectors()
1258 tf.lbah = (new_sectors >> 16) & 0xff; in ata_set_max_sectors()
1359 u64 new_sectors = ata_id_n_sectors(dev->id); in ata_hpa_resize() local
[all …]
/linux/fs/bcachefs/
H A Dalloc_background.c796 s64 new_sectors = bch2_bucket_sectors(*new); in bch2_alloc_key_to_dev_counters() local
799 1, new_sectors, bch2_bucket_sectors_fragmented(ca, *new), flags) ?: in bch2_alloc_key_to_dev_counters()
804 } else if (old_sectors != new_sectors) { in bch2_alloc_key_to_dev_counters()
807 new_sectors - old_sectors, in bch2_alloc_key_to_dev_counters()
/linux/drivers/md/
H A Draid5.c2482 static int resize_chunks(struct r5conf *conf, int new_disks, int new_sectors) in resize_chunks() argument
2489 conf->scribble_sectors >= new_sectors) in resize_chunks()
2500 new_sectors / RAID5_STRIPE_SECTORS(conf)); in resize_chunks()
2510 conf->scribble_sectors = new_sectors; in resize_chunks()