Lines Matching refs:MaxSector
631 mddev->reshape_position = MaxSector; in mddev_init()
635 mddev->resync_max = MaxSector; in mddev_init()
922 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()
1234 mddev->reshape_position = MaxSector; in super_90_validate()
1244 mddev->recovery_cp = MaxSector; in super_90_validate()
1366 if (mddev->reshape_position == MaxSector) in super_90_sync()
1382 if (mddev->recovery_cp == MaxSector) in super_90_sync()
1764 mddev->reshape_position = MaxSector; in super_1_validate()
1887 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()
1932 if (mddev->reshape_position != MaxSector) { in super_1_sync()
2616 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
3297 recovery_start == MaxSector) in recovery_start_show()
3308 recovery_start = MaxSector; in recovery_start_store()
3317 if (recovery_start == MaxSector) in recovery_start_store()
3787 mddev->reshape_position != MaxSector || in level_store()
3956 if (mddev->reshape_position != MaxSector && in layout_show()
3989 if (mddev->reshape_position == MaxSector) in layout_store()
4003 if (mddev->reshape_position != MaxSector && in raid_disks_show()
4027 else if (mddev->reshape_position != MaxSector) { in raid_disks_store()
4056 if (mddev->reshape_position != MaxSector && in chunk_size_show()
4090 if (mddev->reshape_position == MaxSector) in chunk_size_store()
4102 if (mddev->recovery_cp == MaxSector) in resync_start_show()
4114 n = MaxSector; in resync_start_store()
4630 else if (mddev->reshape_position != MaxSector) in action_show()
4898 if (mddev->resync_max == MaxSector) in max_sync_show()
4910 mddev->resync_max = MaxSector; in max_sync_store()
5025 if (mddev->reshape_position != MaxSector) in reshape_position_show()
5659 if (mddev->reshape_position != MaxSector && in md_run()
5920 mddev->resync_max = MaxSector; in md_clean()
5921 mddev->reshape_position = MaxSector; in md_clean()
6904 mddev->recovery_cp = MaxSector; in set_array_info()
6927 mddev->reshape_position = MaxSector; in set_array_info()
7012 mddev->reshape_position != MaxSector) in update_raid_disks()
7800 rdev->recovery_offset != MaxSector && in status_resync()
7805 if (mddev->reshape_position != MaxSector) in status_resync()
7811 if (mddev->recovery_cp < MaxSector) { in status_resync()
8502 mddev->reshape_position != MaxSector) in md_do_sync()
8507 j = MaxSector; in md_do_sync()
8720 mddev->recovery_cp = MaxSector; in md_do_sync()
8723 mddev->curr_resync = MaxSector; in md_do_sync()
8766 mddev->resync_max = MaxSector; in md_do_sync()
8959 && !mddev->in_sync && mddev->recovery_cp == MaxSector) in md_check_recovery()
9053 if (mddev->reshape_position != MaxSector) { in md_check_recovery()
9065 } else if (mddev->recovery_cp < MaxSector) { in md_check_recovery()
9398 mddev->reshape_position != MaxSector && in check_sb_changes()
9401 mddev->reshape_position = MaxSector; in check_sb_changes()
9448 if (rdev->recovery_offset == MaxSector && in read_rdev()