Lines Matching refs:reshape_sectors
5961 int reshape_sectors;
5993 reshape_sectors = max(conf->chunk_sectors, conf->prev_chunk_sectors);
6008 BUG_ON(writepos < reshape_sectors);
6009 writepos -= reshape_sectors;
6010 readpos += reshape_sectors;
6011 safepos += reshape_sectors;
6013 writepos += reshape_sectors;
6018 readpos -= min_t(sector_t, reshape_sectors, readpos);
6019 safepos -= min_t(sector_t, reshape_sectors, safepos);
6029 ~((sector_t)reshape_sectors - 1))
6030 - reshape_sectors - stripe_addr
6033 BUG_ON(writepos != sector_nr + reshape_sectors);
6099 for (i = 0; i < reshape_sectors; i += RAID5_STRIPE_SECTORS(conf)) {
6132 conf->reshape_progress -= reshape_sectors * new_data_disks;
6134 conf->reshape_progress += reshape_sectors * new_data_disks;
6145 raid5_compute_sector(conf, ((stripe_addr+reshape_sectors)
6168 sector_nr += reshape_sectors;
6169 retn = reshape_sectors;