Home
last modified time | relevance | path

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

/drivers/ata/
Dlibata-core.c1210 static int ata_set_max_sectors(struct ata_device *dev, u64 new_sectors) in ata_set_max_sectors() argument
1216 new_sectors--; in ata_set_max_sectors()
1226 tf.hob_lbal = (new_sectors >> 24) & 0xff; in ata_set_max_sectors()
1227 tf.hob_lbam = (new_sectors >> 32) & 0xff; in ata_set_max_sectors()
1228 tf.hob_lbah = (new_sectors >> 40) & 0xff; in ata_set_max_sectors()
1232 tf.device |= (new_sectors >> 24) & 0xf; in ata_set_max_sectors()
1238 tf.lbal = (new_sectors >> 0) & 0xff; in ata_set_max_sectors()
1239 tf.lbam = (new_sectors >> 8) & 0xff; in ata_set_max_sectors()
1240 tf.lbah = (new_sectors >> 16) & 0xff; in ata_set_max_sectors()
1342 u64 new_sectors = ata_id_n_sectors(dev->id); in ata_hpa_resize() local
[all …]
/drivers/md/
Draid5.c2425 static int resize_chunks(struct r5conf *conf, int new_disks, int new_sectors) in resize_chunks() argument
2436 conf->scribble_sectors >= new_sectors) in resize_chunks()
2446 new_sectors / RAID5_STRIPE_SECTORS(conf)); in resize_chunks()
2455 conf->scribble_sectors = new_sectors; in resize_chunks()