Lines Matching refs:reshape_sectors
6223 int reshape_sectors; in reshape_request() local
6255 reshape_sectors = max(conf->chunk_sectors, conf->prev_chunk_sectors); in reshape_request()
6270 BUG_ON(writepos < reshape_sectors); in reshape_request()
6271 writepos -= reshape_sectors; in reshape_request()
6272 readpos += reshape_sectors; in reshape_request()
6273 safepos += reshape_sectors; in reshape_request()
6275 writepos += reshape_sectors; in reshape_request()
6280 readpos -= min_t(sector_t, reshape_sectors, readpos); in reshape_request()
6281 safepos -= min_t(sector_t, reshape_sectors, safepos); in reshape_request()
6291 ~((sector_t)reshape_sectors - 1)) in reshape_request()
6292 - reshape_sectors - stripe_addr in reshape_request()
6295 BUG_ON(writepos != sector_nr + reshape_sectors); in reshape_request()
6361 for (i = 0; i < reshape_sectors; i += RAID5_STRIPE_SECTORS(conf)) { in reshape_request()
6395 conf->reshape_progress -= reshape_sectors * new_data_disks; in reshape_request()
6397 conf->reshape_progress += reshape_sectors * new_data_disks; in reshape_request()
6408 raid5_compute_sector(conf, ((stripe_addr+reshape_sectors) in reshape_request()
6432 sector_nr += reshape_sectors; in reshape_request()
6433 retn = reshape_sectors; in reshape_request()