Home
last modified time | relevance | path

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

/linux-6.15/drivers/ata/
H A Dlibata-core.c1259 static int ata_set_max_sectors(struct ata_device *dev, u64 new_sectors) in ata_set_max_sectors() argument
1265 new_sectors--; in ata_set_max_sectors()
1275 tf.hob_lbal = (new_sectors >> 24) & 0xff; in ata_set_max_sectors()
1276 tf.hob_lbam = (new_sectors >> 32) & 0xff; in ata_set_max_sectors()
1277 tf.hob_lbah = (new_sectors >> 40) & 0xff; in ata_set_max_sectors()
1281 tf.device |= (new_sectors >> 24) & 0xf; in ata_set_max_sectors()
1287 tf.lbal = (new_sectors >> 0) & 0xff; in ata_set_max_sectors()
1288 tf.lbam = (new_sectors >> 8) & 0xff; in ata_set_max_sectors()
1289 tf.lbah = (new_sectors >> 16) & 0xff; in ata_set_max_sectors()
1390 u64 new_sectors = ata_id_n_sectors(dev->id); in ata_hpa_resize() local
[all …]
/linux-6.15/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-6.15/drivers/md/
H A Draid5.c2479 static int resize_chunks(struct r5conf *conf, int new_disks, int new_sectors) in resize_chunks() argument
2486 conf->scribble_sectors >= new_sectors) in resize_chunks()
2497 new_sectors / RAID5_STRIPE_SECTORS(conf)); in resize_chunks()
2507 conf->scribble_sectors = new_sectors; in resize_chunks()