Lines Matching refs:MaxSector
628 if (conf->reshape_progress != MaxSector && in raid10_find_phys()
725 best_dist = MaxSector; in read_balance()
735 if ((conf->mddev->recovery_cp < MaxSector in read_balance()
766 if (best_dist < MaxSector) in read_balance()
1705 && tmp->replacement->recovery_offset == MaxSector in raid10_spare_active()
1723 && tmp->rdev->recovery_offset == MaxSector in raid10_spare_active()
1746 if (mddev->recovery_cp < MaxSector) in raid10_add_disk()
2912 mddev->recovery_cp == MaxSector && in raid10_sync_request()
2913 mddev->reshape_position == MaxSector && in raid10_sync_request()
2969 rdev->recovery_offset = MaxSector; in raid10_sync_request()
3667 if (mddev->reshape_position == MaxSector) { in setup_conf()
3669 conf->reshape_progress = MaxSector; in setup_conf()
3822 if (conf->reshape_progress != MaxSector) { in raid10_run()
3865 if (mddev->recovery_cp != MaxSector) in raid10_run()
3883 if (conf->reshape_progress != MaxSector) { in raid10_run()
3961 if (mddev->reshape_position != MaxSector) in raid10_resize()
4009 mddev->recovery_cp = MaxSector; in raid10_takeover_raid0()
4334 conf->reshape_progress = MaxSector; in raid10_start_reshape()
4335 conf->reshape_safe = MaxSector; in raid10_start_reshape()
4336 mddev->reshape_position = MaxSector; in raid10_start_reshape()
4713 conf->reshape_progress = MaxSector; in end_reshape()
4714 conf->reshape_safe = MaxSector; in end_reshape()
4729 || mddev->reshape_position == MaxSector) in raid10_update_reshape_pos()
4876 mddev->reshape_position = MaxSector; in raid10_finish_reshape()