Searched refs:new_sectors (Results 1 – 2 of 2) sorted by relevance
1264 * @new_sectors: new max sectors value to set for the device1266 * Set max sectors of @dev to @new_sectors.1273 static int ata_set_max_sectors(struct ata_device *dev, u64 new_sectors) in ata_set_max_sectors() argument 1279 new_sectors--; in ata_set_max_sectors() 1289 tf.hob_lbal = (new_sectors >> 24) & 0xff; in ata_set_max_sectors() 1290 tf.hob_lbam = (new_sectors >> 32) & 0xff; in ata_set_max_sectors() 1291 tf.hob_lbah = (new_sectors >> 40) & 0xff; in ata_set_max_sectors() 1295 tf.device |= (new_sectors >> 24) & 0xf; in ata_set_max_sectors() 1301 tf.lbal = (new_sectors >> 0) & 0xff; in ata_set_max_sectors() 1302 tf.lbam = (new_sectors >> in ata_set_max_sectors() 1404 u64 new_sectors = ata_id_n_sectors(dev->id); ata_hpa_resize() local [all...]
2485 static int resize_chunks(struct r5conf *conf, int new_disks, int new_sectors) in resize_chunks() argument2493 conf->scribble_sectors >= new_sectors) in resize_chunks()2505 new_sectors / RAID5_STRIPE_SECTORS(conf)); in resize_chunks()2516 conf->scribble_sectors = new_sectors; in resize_chunks()