Lines Matching defs:reshape_sectors
6304 int reshape_sectors;
6336 reshape_sectors = max(conf->chunk_sectors, conf->prev_chunk_sectors);
6351 if (WARN_ON(writepos < reshape_sectors))
6354 writepos -= reshape_sectors;
6355 readpos += reshape_sectors;
6356 safepos += reshape_sectors;
6358 writepos += reshape_sectors;
6363 readpos -= min_t(sector_t, reshape_sectors, readpos);
6364 safepos -= min_t(sector_t, reshape_sectors, safepos);
6376 ~((sector_t)reshape_sectors - 1)) -
6377 reshape_sectors - stripe_addr != sector_nr))
6380 if (WARN_ON(writepos != sector_nr + reshape_sectors))
6448 for (i = 0; i < reshape_sectors; i += RAID5_STRIPE_SECTORS(conf)) {
6482 conf->reshape_progress -= reshape_sectors * new_data_disks;
6484 conf->reshape_progress += reshape_sectors * new_data_disks;
6495 raid5_compute_sector(conf, ((stripe_addr+reshape_sectors)
6519 sector_nr += reshape_sectors;
6520 retn = reshape_sectors;