Lines Matching refs:MaxSector
689 mddev->reshape_position = MaxSector; in mddev_init()
693 mddev->resync_max = MaxSector; in mddev_init()
1004 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()
1327 mddev->reshape_position = MaxSector; in super_90_validate()
1337 mddev->recovery_cp = MaxSector; in super_90_validate()
1459 if (mddev->reshape_position == MaxSector) in super_90_sync()
1475 if (mddev->recovery_cp == MaxSector) in super_90_sync()
1867 mddev->reshape_position = MaxSector; in super_1_validate()
1990 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()
2035 if (mddev->reshape_position != MaxSector) { in super_1_sync()
2764 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
3453 recovery_start == MaxSector) in recovery_start_show()
3464 recovery_start = MaxSector; in recovery_start_store()
3473 if (recovery_start == MaxSector) in recovery_start_store()
3951 mddev->reshape_position != MaxSector || in level_store()
4122 if (mddev->reshape_position != MaxSector && in layout_show()
4155 if (mddev->reshape_position == MaxSector) in layout_store()
4169 if (mddev->reshape_position != MaxSector && in raid_disks_show()
4193 else if (mddev->reshape_position != MaxSector) { in raid_disks_store()
4230 if (mddev->reshape_position != MaxSector && in chunk_size_show()
4264 if (mddev->reshape_position == MaxSector) in chunk_size_store()
4276 if (mddev->recovery_cp == MaxSector) in resync_start_show()
4288 n = MaxSector; in resync_start_store()
4816 else if (mddev->reshape_position != MaxSector) in action_show()
5085 if (mddev->resync_max == MaxSector) in max_sync_show()
5097 mddev->resync_max = MaxSector; in max_sync_store()
5212 if (mddev->reshape_position != MaxSector) in reshape_position_show()
5906 if (mddev->reshape_position != MaxSector && in md_run()
6171 mddev->resync_max = MaxSector; in md_clean()
6172 mddev->reshape_position = MaxSector; in md_clean()
7158 mddev->recovery_cp = MaxSector; in md_set_array_info()
7181 mddev->reshape_position = MaxSector; in md_set_array_info()
7267 mddev->reshape_position != MaxSector) in update_raid_disks()
8048 rdev->recovery_offset != MaxSector && in status_resync()
8053 if (mddev->reshape_position != MaxSector) in status_resync()
8059 if (mddev->recovery_cp < MaxSector) { in status_resync()
8812 mddev->reshape_position != MaxSector) in md_do_sync()
8817 j = MaxSector; in md_do_sync()
9030 mddev->recovery_cp = MaxSector; in md_do_sync()
9033 mddev->curr_resync = MaxSector; in md_do_sync()
9075 mddev->resync_max = MaxSector; in md_do_sync()
9267 && !mddev->in_sync && mddev->recovery_cp == MaxSector) in md_check_recovery()
9361 if (mddev->reshape_position != MaxSector) { in md_check_recovery()
9373 } else if (mddev->recovery_cp < MaxSector) { in md_check_recovery()
9710 mddev->reshape_position != MaxSector && in check_sb_changes()
9713 mddev->reshape_position = MaxSector; in check_sb_changes()
9760 if (rdev->recovery_offset == MaxSector && in read_rdev()