Lines Matching refs:writepos
5759 sector_t writepos, readpos, safepos; in reshape_request() local
5801 writepos = conf->reshape_progress; in reshape_request()
5802 sector_div(writepos, new_data_disks); in reshape_request()
5808 BUG_ON(writepos < reshape_sectors); in reshape_request()
5809 writepos -= reshape_sectors; in reshape_request()
5813 writepos += reshape_sectors; in reshape_request()
5827 stripe_addr = writepos; in reshape_request()
5833 BUG_ON(writepos != sector_nr + reshape_sectors); in reshape_request()
5861 writepos += conf->min_offset_diff; in reshape_request()
5864 ? (safepos > writepos && readpos < writepos) in reshape_request()
5865 : (safepos < writepos && readpos > writepos)) || in reshape_request()