Searched refs:new_sectors (Results 1 – 2 of 2) sorted by relevance
1273 static int ata_set_max_sectors(struct ata_device *dev, u64 new_sectors) in ata_set_max_sectors() argument1279 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 >> 8) & 0xff; in ata_set_max_sectors()1303 tf.lbah = (new_sectors >> 16) & 0xff; in ata_set_max_sectors()1405 u64 new_sectors = ata_id_n_sectors(dev->id); in ata_hpa_resize() local[all …]
2080 static int resize_chunks(struct r5conf *conf, int new_disks, int new_sectors) in resize_chunks() argument2091 conf->scribble_sectors >= new_sectors) in resize_chunks()2101 new_sectors / STRIPE_SECTORS, in resize_chunks()2116 conf->scribble_sectors = new_sectors; in resize_chunks()