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

/linux-4.1.27/drivers/ata/
H A Dlibata-core.c1264 * @new_sectors: new max sectors value to set for the device
1266 * Set max sectors of @dev to @new_sectors.
1273 static int ata_set_max_sectors(struct ata_device *dev, u64 new_sectors) ata_set_max_sectors() argument
1279 new_sectors--; ata_set_max_sectors()
1289 tf.hob_lbal = (new_sectors >> 24) & 0xff; ata_set_max_sectors()
1290 tf.hob_lbam = (new_sectors >> 32) & 0xff; ata_set_max_sectors()
1291 tf.hob_lbah = (new_sectors >> 40) & 0xff; ata_set_max_sectors()
1295 tf.device |= (new_sectors >> 24) & 0xf; ata_set_max_sectors()
1301 tf.lbal = (new_sectors >> 0) & 0xff; ata_set_max_sectors()
1302 tf.lbam = (new_sectors >> 8) & 0xff; ata_set_max_sectors()
1303 tf.lbah = (new_sectors >> 16) & 0xff; ata_set_max_sectors()
1405 u64 new_sectors = ata_id_n_sectors(dev->id); ata_hpa_resize() local
1409 (unsigned long long)new_sectors, ata_hpa_resize()
/linux-4.1.27/drivers/md/
H A Draid5.c2078 static int resize_chunks(struct r5conf *conf, int new_disks, int new_sectors) resize_chunks() argument
2086 * should equal to new_disks and new_sectors resize_chunks()
2089 conf->scribble_sectors >= new_sectors) resize_chunks()
2099 new_sectors / STRIPE_SECTORS, for_each_present_cpu()
2114 conf->scribble_sectors = new_sectors;

Completed in 171 milliseconds