Lines Matching refs:MaxSector

569 	mddev->reshape_position = MaxSector;  in mddev_init()
573 mddev->resync_max = MaxSector; in mddev_init()
860 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()
1173 mddev->reshape_position = MaxSector; in super_90_validate()
1181 mddev->recovery_cp = MaxSector; in super_90_validate()
1303 if (mddev->reshape_position == MaxSector) in super_90_sync()
1319 if (mddev->recovery_cp == MaxSector) in super_90_sync()
1698 mddev->reshape_position = MaxSector; in super_1_validate()
1810 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()
1855 if (mddev->reshape_position != MaxSector) { in super_1_sync()
2537 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
3214 recovery_start == MaxSector) in recovery_start_show()
3225 recovery_start = MaxSector; in recovery_start_store()
3234 if (recovery_start == MaxSector) in recovery_start_store()
3708 mddev->reshape_position != MaxSector || in level_store()
3877 if (mddev->reshape_position != MaxSector && in layout_show()
3910 if (mddev->reshape_position == MaxSector) in layout_store()
3924 if (mddev->reshape_position != MaxSector && in raid_disks_show()
3948 else if (mddev->reshape_position != MaxSector) { in raid_disks_store()
3977 if (mddev->reshape_position != MaxSector && in chunk_size_show()
4011 if (mddev->reshape_position == MaxSector) in chunk_size_store()
4023 if (mddev->recovery_cp == MaxSector) in resync_start_show()
4035 n = MaxSector; in resync_start_store()
4542 else if (mddev->reshape_position != MaxSector) in action_show()
4810 if (mddev->resync_max == MaxSector) in max_sync_show()
4822 mddev->resync_max = MaxSector; in max_sync_store()
4937 if (mddev->reshape_position != MaxSector) in reshape_position_show()
5557 if (mddev->reshape_position != MaxSector && in md_run()
5803 mddev->resync_max = MaxSector; in md_clean()
5804 mddev->reshape_position = MaxSector; in md_clean()
6793 mddev->recovery_cp = MaxSector; in set_array_info()
6813 mddev->reshape_position = MaxSector; in set_array_info()
6898 mddev->reshape_position != MaxSector) in update_raid_disks()
7686 rdev->recovery_offset != MaxSector && in status_resync()
7691 if (mddev->reshape_position != MaxSector) in status_resync()
7697 if (mddev->recovery_cp < MaxSector) { in status_resync()
8378 j = MaxSector; in md_do_sync()
8591 mddev->recovery_cp = MaxSector; in md_do_sync()
8594 mddev->curr_resync = MaxSector; in md_do_sync()
8635 mddev->resync_max = MaxSector; in md_do_sync()
8816 && !mddev->in_sync && mddev->recovery_cp == MaxSector) in md_check_recovery()
8909 if (mddev->reshape_position != MaxSector) { in md_check_recovery()
8921 } else if (mddev->recovery_cp < MaxSector) { in md_check_recovery()
9273 if (rdev->recovery_offset == MaxSector && in read_rdev()