Searched refs:new_sectors (Results 1 – 2 of 2) sorted by relevance
1283 static int ata_set_max_sectors(struct ata_device *dev, u64 new_sectors) in ata_set_max_sectors() argument1289 new_sectors--; in ata_set_max_sectors()1299 tf.hob_lbal = (new_sectors >> 24) & 0xff; in ata_set_max_sectors()1300 tf.hob_lbam = (new_sectors >> 32) & 0xff; in ata_set_max_sectors()1301 tf.hob_lbah = (new_sectors >> 40) & 0xff; in ata_set_max_sectors()1305 tf.device |= (new_sectors >> 24) & 0xf; in ata_set_max_sectors()1311 tf.lbal = (new_sectors >> 0) & 0xff; in ata_set_max_sectors()1312 tf.lbam = (new_sectors >> 8) & 0xff; in ata_set_max_sectors()1313 tf.lbah = (new_sectors >> 16) & 0xff; in ata_set_max_sectors()1415 u64 new_sectors = ata_id_n_sectors(dev->id); in ata_hpa_resize() local[all …]
2258 static int resize_chunks(struct r5conf *conf, int new_disks, int new_sectors) in resize_chunks() argument2269 conf->scribble_sectors >= new_sectors) in resize_chunks()2279 new_sectors / STRIPE_SECTORS, in resize_chunks()2294 conf->scribble_sectors = new_sectors; in resize_chunks()