Lines Matching refs:MaxSector
557 mddev->reshape_position = MaxSector; in mddev_init()
559 mddev->resync_max = MaxSector; in mddev_init()
1131 mddev->reshape_position = MaxSector; in super_90_validate()
1139 mddev->recovery_cp = MaxSector; in super_90_validate()
1254 if (mddev->reshape_position == MaxSector) in super_90_sync()
1270 if (mddev->recovery_cp == MaxSector) in super_90_sync()
1554 mddev->reshape_position = MaxSector; in super_1_validate()
1656 if (mddev->reshape_position != MaxSector) { in super_1_sync()
2234 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
2671 recovery_start == MaxSector) in recovery_start_show()
2682 recovery_start = MaxSector; in recovery_start_store()
2691 if (recovery_start == MaxSector) in recovery_start_store()
3041 mddev->reshape_position != MaxSector || in level_store()
3199 if (mddev->reshape_position != MaxSector && in layout_show()
3227 if (mddev->reshape_position == MaxSector) in layout_store()
3241 if (mddev->reshape_position != MaxSector && in raid_disks_show()
3262 else if (mddev->reshape_position != MaxSector) { in raid_disks_store()
3276 if (mddev->reshape_position != MaxSector && in chunk_size_show()
3305 if (mddev->reshape_position == MaxSector) in chunk_size_store()
3316 if (mddev->recovery_cp == MaxSector) in resync_start_show()
3330 n = MaxSector; in resync_start_store()
3989 if (mddev->resync_max == MaxSector) in max_sync_show()
3999 mddev->resync_max = MaxSector; in max_sync_store()
4096 if (mddev->reshape_position != MaxSector) in reshape_position_show()
4510 if (mddev->reshape_position != MaxSector && in md_run()
4706 mddev->resync_max = MaxSector; in md_clean()
4707 mddev->reshape_position = MaxSector; in md_clean()
5506 mddev->recovery_cp = MaxSector; in set_array_info()
5524 mddev->reshape_position = MaxSector; in set_array_info()
5597 if (mddev->sync_thread || mddev->reshape_position != MaxSector) in update_raid_disks()
6454 else if (mddev->recovery_cp < MaxSector) in md_seq_show()
6821 j = MaxSector; in md_do_sync()
6990 mddev->recovery_cp = MaxSector; in md_do_sync()
6993 mddev->curr_resync = MaxSector; in md_do_sync()
7012 mddev->resync_max = MaxSector; in md_do_sync()
7168 && !mddev->in_sync && mddev->recovery_cp == MaxSector) in md_check_recovery()
7203 mddev->recovery_cp == MaxSector) { in md_check_recovery()
7248 if (mddev->reshape_position != MaxSector) { in md_check_recovery()
7260 } else if (mddev->recovery_cp < MaxSector) { in md_check_recovery()