Searched refs:new_sectors (Results 1 – 2 of 2) sorted by relevance
1276 static int ata_set_max_sectors(struct ata_device *dev, u64 new_sectors) in ata_set_max_sectors() argument1282 new_sectors--; in ata_set_max_sectors()1292 tf.hob_lbal = (new_sectors >> 24) & 0xff; in ata_set_max_sectors()1293 tf.hob_lbam = (new_sectors >> 32) & 0xff; in ata_set_max_sectors()1294 tf.hob_lbah = (new_sectors >> 40) & 0xff; in ata_set_max_sectors()1298 tf.device |= (new_sectors >> 24) & 0xf; in ata_set_max_sectors()1304 tf.lbal = (new_sectors >> 0) & 0xff; in ata_set_max_sectors()1305 tf.lbam = (new_sectors >> 8) & 0xff; in ata_set_max_sectors()1306 tf.lbah = (new_sectors >> 16) & 0xff; in ata_set_max_sectors()1408 u64 new_sectors = ata_id_n_sectors(dev->id); in ata_hpa_resize() local[all …]
2107 static int resize_chunks(struct r5conf *conf, int new_disks, int new_sectors) in resize_chunks() argument2118 conf->scribble_sectors >= new_sectors) in resize_chunks()2128 new_sectors / STRIPE_SECTORS, in resize_chunks()2143 conf->scribble_sectors = new_sectors; in resize_chunks()