Lines Matching refs:MaxSector

688 	mddev->reshape_position = MaxSector;  in mddev_init()
692 mddev->resync_max = MaxSector; in mddev_init()
996 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()
1316 mddev->reshape_position = MaxSector; in super_90_validate()
1326 mddev->recovery_cp = MaxSector; in super_90_validate()
1448 if (mddev->reshape_position == MaxSector) in super_90_sync()
1464 if (mddev->recovery_cp == MaxSector) in super_90_sync()
1855 mddev->reshape_position = MaxSector; in super_1_validate()
1978 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()
2023 if (mddev->reshape_position != MaxSector) { in super_1_sync()
2716 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
3400 recovery_start == MaxSector) in recovery_start_show()
3411 recovery_start = MaxSector; in recovery_start_store()
3420 if (recovery_start == MaxSector) in recovery_start_store()
3905 mddev->reshape_position != MaxSector || in level_store()
4076 if (mddev->reshape_position != MaxSector && in layout_show()
4109 if (mddev->reshape_position == MaxSector) in layout_store()
4123 if (mddev->reshape_position != MaxSector && in raid_disks_show()
4147 else if (mddev->reshape_position != MaxSector) { in raid_disks_store()
4184 if (mddev->reshape_position != MaxSector && in chunk_size_show()
4218 if (mddev->reshape_position == MaxSector) in chunk_size_store()
4230 if (mddev->recovery_cp == MaxSector) in resync_start_show()
4242 n = MaxSector; in resync_start_store()
4770 else if (mddev->reshape_position != MaxSector) in action_show()
5052 if (mddev->resync_max == MaxSector) in max_sync_show()
5064 mddev->resync_max = MaxSector; in max_sync_store()
5178 if (mddev->reshape_position != MaxSector) in reshape_position_show()
5882 if (mddev->reshape_position != MaxSector && in md_run()
6148 mddev->resync_max = MaxSector; in md_clean()
6149 mddev->reshape_position = MaxSector; in md_clean()
7140 mddev->recovery_cp = MaxSector; in md_set_array_info()
7163 mddev->reshape_position = MaxSector; in md_set_array_info()
7249 mddev->reshape_position != MaxSector) in update_raid_disks()
8051 rdev->recovery_offset != MaxSector && in status_resync()
8056 if (mddev->reshape_position != MaxSector) in status_resync()
8062 if (mddev->recovery_cp < MaxSector) { in status_resync()
8849 mddev->reshape_position != MaxSector) in md_do_sync()
8854 j = MaxSector; in md_do_sync()
9067 mddev->recovery_cp = MaxSector; in md_do_sync()
9070 mddev->curr_resync = MaxSector; in md_do_sync()
9112 mddev->resync_max = MaxSector; in md_do_sync()
9305 && !mddev->in_sync && mddev->recovery_cp == MaxSector) in md_check_recovery()
9401 if (mddev->reshape_position != MaxSector) { in md_check_recovery()
9413 } else if (mddev->recovery_cp < MaxSector) { in md_check_recovery()
9758 mddev->reshape_position != MaxSector && in check_sb_changes()
9761 mddev->reshape_position = MaxSector; in check_sb_changes()
9808 if (rdev->recovery_offset == MaxSector && in read_rdev()