Lines Matching refs:MaxSector

782 	mddev->reshape_position = MaxSector;  in mddev_init()
786 mddev->resync_max = MaxSector; in mddev_init()
1182 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()
1513 mddev->reshape_position = MaxSector; in super_90_validate()
1523 mddev->resync_offset = MaxSector; in super_90_validate()
1642 if (mddev->reshape_position == MaxSector) in super_90_sync()
1658 if (mddev->resync_offset == MaxSector) in super_90_sync()
2052 mddev->reshape_position = MaxSector; in super_1_validate()
2204 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()
2250 if (mddev->reshape_position != MaxSector) { in super_1_sync()
2882 && (mddev->in_sync && mddev->resync_offset == MaxSector) in md_update_sb()
3553 recovery_start == MaxSector) in recovery_start_show()
3564 recovery_start = MaxSector; in recovery_start_store()
3573 if (recovery_start == MaxSector) in recovery_start_store()
4069 mddev->reshape_position != MaxSector || in level_store()
4341 if (mddev->reshape_position != MaxSector && in layout_show()
4374 if (mddev->reshape_position == MaxSector) in layout_store()
4388 if (mddev->reshape_position != MaxSector && in raid_disks_show()
4412 else if (mddev->reshape_position != MaxSector) { in raid_disks_store()
4449 if (mddev->reshape_position != MaxSector && in chunk_size_show()
4483 if (mddev->reshape_position == MaxSector) in chunk_size_store()
4495 if (mddev->resync_offset == MaxSector) in resync_start_show()
4507 n = MaxSector; in resync_start_store()
5044 if (mddev->resync_offset < MaxSector) in md_get_active_sync_action()
5047 if (mddev->reshape_position != MaxSector) in md_get_active_sync_action()
5052 if (rdev_needs_recovery(rdev, MaxSector)) { in md_get_active_sync_action()
5222 if (mddev->reshape_position == MaxSector || in mddev_start_reshape()
5563 if (mddev->resync_max == MaxSector) in max_sync_show()
5575 mddev->resync_max = MaxSector; in max_sync_store()
5677 if (mddev->reshape_position != MaxSector) in reshape_position_show()
6558 if (mddev->reshape_position != MaxSector && in md_run()
6793 mddev->resync_max = MaxSector; in md_clean()
6794 mddev->reshape_position = MaxSector; in md_clean()
7757 mddev->resync_offset = MaxSector; in md_set_array_info()
7780 mddev->reshape_position = MaxSector; in md_set_array_info()
7863 mddev->reshape_position != MaxSector) in update_raid_disks()
8685 rdev->recovery_offset != MaxSector && in status_resync()
8690 if (mddev->reshape_position != MaxSector) in status_resync()
8696 if (mddev->resync_offset < MaxSector) { in status_resync()
9393 mddev->reshape_position != MaxSector) in md_sync_position()
9397 start = MaxSector; in md_sync_position()
9409 start == MaxSector && mddev_select_lazy_recover_rdev(mddev)) in md_sync_position()
9426 return MaxSector; in md_sync_position()
9451 mddev->curr_resync = MaxSector; in md_finish_sync()
9456 mddev->curr_resync = MaxSector; in md_finish_sync()
9807 mddev->resync_max = MaxSector; in md_do_sync()
9973 if (mddev->reshape_position != MaxSector) { in md_choose_sync_action()
9985 if (mddev->resync_offset < MaxSector) { in md_choose_sync_action()
10028 if (mddev->reshape_position == MaxSector && in md_start_sync()
10161 mddev->resync_offset == MaxSector) in md_should_do_recovery()
10643 mddev->reshape_position != MaxSector && in check_sb_changes()
10646 mddev->reshape_position = MaxSector; in check_sb_changes()
10693 if (rdev->recovery_offset == MaxSector && in read_rdev()