Lines Matching refs:MaxSector

740 	mddev->reshape_position = MaxSector;  in mddev_init()
744 mddev->resync_max = MaxSector; in mddev_init()
1038 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()
1363 mddev->reshape_position = MaxSector; in super_90_validate()
1373 mddev->recovery_cp = MaxSector; in super_90_validate()
1495 if (mddev->reshape_position == MaxSector) in super_90_sync()
1511 if (mddev->recovery_cp == MaxSector) in super_90_sync()
1905 mddev->reshape_position = MaxSector; in super_1_validate()
2028 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()
2073 if (mddev->reshape_position != MaxSector) { in super_1_sync()
2791 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
3471 recovery_start == MaxSector) in recovery_start_show()
3482 recovery_start = MaxSector; in recovery_start_store()
3491 if (recovery_start == MaxSector) in recovery_start_store()
3969 mddev->reshape_position != MaxSector || in level_store()
4140 if (mddev->reshape_position != MaxSector && in layout_show()
4173 if (mddev->reshape_position == MaxSector) in layout_store()
4187 if (mddev->reshape_position != MaxSector && in raid_disks_show()
4211 else if (mddev->reshape_position != MaxSector) { in raid_disks_store()
4248 if (mddev->reshape_position != MaxSector && in chunk_size_show()
4282 if (mddev->reshape_position == MaxSector) in chunk_size_store()
4294 if (mddev->recovery_cp == MaxSector) in resync_start_show()
4306 n = MaxSector; in resync_start_store()
4834 else if (mddev->reshape_position != MaxSector) in action_show()
5103 if (mddev->resync_max == MaxSector) in max_sync_show()
5115 mddev->resync_max = MaxSector; in max_sync_store()
5230 if (mddev->reshape_position != MaxSector) in reshape_position_show()
5927 if (mddev->reshape_position != MaxSector && in md_run()
6188 mddev->resync_max = MaxSector; in md_clean()
6189 mddev->reshape_position = MaxSector; in md_clean()
7173 mddev->recovery_cp = MaxSector; in md_set_array_info()
7196 mddev->reshape_position = MaxSector; in md_set_array_info()
7281 mddev->reshape_position != MaxSector) in update_raid_disks()
8060 rdev->recovery_offset != MaxSector && in status_resync()
8065 if (mddev->reshape_position != MaxSector) in status_resync()
8071 if (mddev->recovery_cp < MaxSector) { in status_resync()
8765 mddev->reshape_position != MaxSector) in md_do_sync()
8770 j = MaxSector; in md_do_sync()
8983 mddev->recovery_cp = MaxSector; in md_do_sync()
8986 mddev->curr_resync = MaxSector; in md_do_sync()
9029 mddev->resync_max = MaxSector; in md_do_sync()
9221 && !mddev->in_sync && mddev->recovery_cp == MaxSector) in md_check_recovery()
9315 if (mddev->reshape_position != MaxSector) { in md_check_recovery()
9327 } else if (mddev->recovery_cp < MaxSector) { in md_check_recovery()
9664 mddev->reshape_position != MaxSector && in check_sb_changes()
9667 mddev->reshape_position = MaxSector; in check_sb_changes()
9714 if (rdev->recovery_offset == MaxSector && in read_rdev()