Lines Matching refs:MaxSector
562 mddev->reshape_position = MaxSector; in mddev_init()
566 mddev->resync_max = MaxSector; in mddev_init()
852 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()
1165 mddev->reshape_position = MaxSector; in super_90_validate()
1173 mddev->recovery_cp = MaxSector; in super_90_validate()
1295 if (mddev->reshape_position == MaxSector) in super_90_sync()
1311 if (mddev->recovery_cp == MaxSector) in super_90_sync()
1690 mddev->reshape_position = MaxSector; in super_1_validate()
1809 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()
1854 if (mddev->reshape_position != MaxSector) { in super_1_sync()
2528 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
3207 recovery_start == MaxSector) in recovery_start_show()
3218 recovery_start = MaxSector; in recovery_start_store()
3227 if (recovery_start == MaxSector) in recovery_start_store()
3701 mddev->reshape_position != MaxSector || in level_store()
3870 if (mddev->reshape_position != MaxSector && in layout_show()
3903 if (mddev->reshape_position == MaxSector) in layout_store()
3917 if (mddev->reshape_position != MaxSector && in raid_disks_show()
3941 else if (mddev->reshape_position != MaxSector) { in raid_disks_store()
3970 if (mddev->reshape_position != MaxSector && in chunk_size_show()
4004 if (mddev->reshape_position == MaxSector) in chunk_size_store()
4016 if (mddev->recovery_cp == MaxSector) in resync_start_show()
4028 n = MaxSector; in resync_start_store()
4535 else if (mddev->reshape_position != MaxSector) in action_show()
4803 if (mddev->resync_max == MaxSector) in max_sync_show()
4815 mddev->resync_max = MaxSector; in max_sync_store()
4930 if (mddev->reshape_position != MaxSector) in reshape_position_show()
5535 if (mddev->reshape_position != MaxSector && in md_run()
5771 mddev->resync_max = MaxSector; in md_clean()
5772 mddev->reshape_position = MaxSector; in md_clean()
6753 mddev->recovery_cp = MaxSector; in set_array_info()
6773 mddev->reshape_position = MaxSector; in set_array_info()
6858 mddev->reshape_position != MaxSector) in update_raid_disks()
7638 if (mddev->recovery_cp < MaxSector) { in status_resync()
8327 j = MaxSector; in md_do_sync()
8540 mddev->recovery_cp = MaxSector; in md_do_sync()
8543 mddev->curr_resync = MaxSector; in md_do_sync()
8581 mddev->resync_max = MaxSector; in md_do_sync()
8774 && !mddev->in_sync && mddev->recovery_cp == MaxSector) in md_check_recovery()
8868 if (mddev->reshape_position != MaxSector) { in md_check_recovery()
8880 } else if (mddev->recovery_cp < MaxSector) { in md_check_recovery()
9223 if (rdev->recovery_offset == MaxSector && in read_rdev()