Lines Matching refs:min_offset_diff
6319 if (conf->min_offset_diff < 0) { in reshape_request()
6320 safepos += -conf->min_offset_diff; in reshape_request()
6321 readpos += -conf->min_offset_diff; in reshape_request()
6323 writepos += conf->min_offset_diff; in reshape_request()
7725 long long min_offset_diff = 0; in raid5_run() local
7753 min_offset_diff = diff; in raid5_run()
7756 diff < min_offset_diff) in raid5_run()
7757 min_offset_diff = diff; in raid5_run()
7759 diff > min_offset_diff) in raid5_run()
7760 min_offset_diff = diff; in raid5_run()
7834 if (abs(min_offset_diff) >= mddev->chunk_sectors && in raid5_run()
7835 abs(min_offset_diff) >= mddev->new_chunk_sectors) in raid5_run()
7844 ? (here_new * chunk_sectors + min_offset_diff <= in raid5_run()
7847 here_old * chunk_sectors + (-min_offset_diff))) { in raid5_run()
7891 conf->min_offset_diff = min_offset_diff; in raid5_run()