Lines Matching refs:MaxSector

689 	mddev->reshape_position = MaxSector;  in mddev_init()
693 mddev->resync_max = MaxSector; in mddev_init()
1005 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()
1328 mddev->reshape_position = MaxSector; in super_90_validate()
1338 mddev->recovery_cp = MaxSector; in super_90_validate()
1460 if (mddev->reshape_position == MaxSector) in super_90_sync()
1476 if (mddev->recovery_cp == MaxSector) in super_90_sync()
1870 mddev->reshape_position = MaxSector; in super_1_validate()
1993 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()
2038 if (mddev->reshape_position != MaxSector) { in super_1_sync()
2767 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
3447 recovery_start == MaxSector) in recovery_start_show()
3458 recovery_start = MaxSector; in recovery_start_store()
3467 if (recovery_start == MaxSector) in recovery_start_store()
3945 mddev->reshape_position != MaxSector || in level_store()
4116 if (mddev->reshape_position != MaxSector && in layout_show()
4149 if (mddev->reshape_position == MaxSector) in layout_store()
4163 if (mddev->reshape_position != MaxSector && in raid_disks_show()
4187 else if (mddev->reshape_position != MaxSector) { in raid_disks_store()
4224 if (mddev->reshape_position != MaxSector && in chunk_size_show()
4258 if (mddev->reshape_position == MaxSector) in chunk_size_store()
4270 if (mddev->recovery_cp == MaxSector) in resync_start_show()
4282 n = MaxSector; in resync_start_store()
4810 else if (mddev->reshape_position != MaxSector) in action_show()
5079 if (mddev->resync_max == MaxSector) in max_sync_show()
5091 mddev->resync_max = MaxSector; in max_sync_store()
5206 if (mddev->reshape_position != MaxSector) in reshape_position_show()
5893 if (mddev->reshape_position != MaxSector && in md_run()
6158 mddev->resync_max = MaxSector; in md_clean()
6159 mddev->reshape_position = MaxSector; in md_clean()
7144 mddev->recovery_cp = MaxSector; in md_set_array_info()
7167 mddev->reshape_position = MaxSector; in md_set_array_info()
7253 mddev->reshape_position != MaxSector) in update_raid_disks()
8034 rdev->recovery_offset != MaxSector && in status_resync()
8039 if (mddev->reshape_position != MaxSector) in status_resync()
8045 if (mddev->recovery_cp < MaxSector) { in status_resync()
8798 mddev->reshape_position != MaxSector) in md_do_sync()
8803 j = MaxSector; in md_do_sync()
9016 mddev->recovery_cp = MaxSector; in md_do_sync()
9019 mddev->curr_resync = MaxSector; in md_do_sync()
9061 mddev->resync_max = MaxSector; in md_do_sync()
9253 && !mddev->in_sync && mddev->recovery_cp == MaxSector) in md_check_recovery()
9347 if (mddev->reshape_position != MaxSector) { in md_check_recovery()
9359 } else if (mddev->recovery_cp < MaxSector) { in md_check_recovery()
9696 mddev->reshape_position != MaxSector && in check_sb_changes()
9699 mddev->reshape_position = MaxSector; in check_sb_changes()
9746 if (rdev->recovery_offset == MaxSector && in read_rdev()