Lines Matching refs:MaxSector
629 if (conf->reshape_progress != MaxSector && in raid10_find_phys()
726 best_dist = MaxSector; in read_balance()
736 if ((conf->mddev->recovery_cp < MaxSector in read_balance()
767 if (best_dist < MaxSector) in read_balance()
2035 && tmp->replacement->recovery_offset == MaxSector in raid10_spare_active()
2053 && tmp->rdev->recovery_offset == MaxSector in raid10_spare_active()
2076 if (mddev->recovery_cp < MaxSector) in raid10_add_disk()
3239 mddev->recovery_cp == MaxSector && in raid10_sync_request()
3240 mddev->reshape_position == MaxSector && in raid10_sync_request()
3296 rdev->recovery_offset = MaxSector; in raid10_sync_request()
3994 if (mddev->reshape_position == MaxSector) { in setup_conf()
3996 conf->reshape_progress = MaxSector; in setup_conf()
4149 if (conf->reshape_progress != MaxSector) { in raid10_run()
4192 if (mddev->recovery_cp != MaxSector) in raid10_run()
4210 if (conf->reshape_progress != MaxSector) { in raid10_run()
4288 if (mddev->reshape_position != MaxSector) in raid10_resize()
4336 mddev->recovery_cp = MaxSector; in raid10_takeover_raid0()
4661 conf->reshape_progress = MaxSector; in raid10_start_reshape()
4662 conf->reshape_safe = MaxSector; in raid10_start_reshape()
4663 mddev->reshape_position = MaxSector; in raid10_start_reshape()
5036 conf->reshape_progress = MaxSector; in end_reshape()
5037 conf->reshape_safe = MaxSector; in end_reshape()
5052 || mddev->reshape_position == MaxSector) in raid10_update_reshape_pos()
5199 mddev->reshape_position = MaxSector; in raid10_finish_reshape()