Lines Matching refs:reshape_sectors
6283 int reshape_sectors;
6315 reshape_sectors = max(conf->chunk_sectors, conf->prev_chunk_sectors);
6330 BUG_ON(writepos < reshape_sectors);
6331 writepos -= reshape_sectors;
6332 readpos += reshape_sectors;
6333 safepos += reshape_sectors;
6335 writepos += reshape_sectors;
6340 readpos -= min_t(sector_t, reshape_sectors, readpos);
6341 safepos -= min_t(sector_t, reshape_sectors, safepos);
6351 ~((sector_t)reshape_sectors - 1))
6352 - reshape_sectors - stripe_addr
6355 BUG_ON(writepos != sector_nr + reshape_sectors);
6421 for (i = 0; i < reshape_sectors; i += RAID5_STRIPE_SECTORS(conf)) {
6455 conf->reshape_progress -= reshape_sectors * new_data_disks;
6457 conf->reshape_progress += reshape_sectors * new_data_disks;
6468 raid5_compute_sector(conf, ((stripe_addr+reshape_sectors)
6492 sector_nr += reshape_sectors;
6493 retn = reshape_sectors;