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