Lines Matching refs:MaxSector
787 mddev->reshape_position = MaxSector; in mddev_init()
791 mddev->resync_max = MaxSector; in mddev_init()
1187 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()
1518 mddev->reshape_position = MaxSector; in super_90_validate()
1528 mddev->resync_offset = MaxSector; in super_90_validate()
1647 if (mddev->reshape_position == MaxSector) in super_90_sync()
1663 if (mddev->resync_offset == MaxSector) in super_90_sync()
2057 mddev->reshape_position = MaxSector; in super_1_validate()
2209 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()
2255 if (mddev->reshape_position != MaxSector) { in super_1_sync()
2889 && (mddev->in_sync && mddev->resync_offset == MaxSector) in md_update_sb()
3560 recovery_start == MaxSector) in recovery_start_show()
3571 recovery_start = MaxSector; in recovery_start_store()
3580 if (recovery_start == MaxSector) in recovery_start_store()
4076 mddev->reshape_position != MaxSector || in level_store()
4348 if (mddev->reshape_position != MaxSector && in layout_show()
4381 if (mddev->reshape_position == MaxSector) in layout_store()
4395 if (mddev->reshape_position != MaxSector && in raid_disks_show()
4419 else if (mddev->reshape_position != MaxSector) { in raid_disks_store()
4456 if (mddev->reshape_position != MaxSector && in chunk_size_show()
4490 if (mddev->reshape_position == MaxSector) in chunk_size_store()
4502 if (mddev->resync_offset == MaxSector) in resync_start_show()
4514 n = MaxSector; in resync_start_store()
5051 if (mddev->resync_offset < MaxSector) in md_get_active_sync_action()
5054 if (mddev->reshape_position != MaxSector) in md_get_active_sync_action()
5059 if (rdev_needs_recovery(rdev, MaxSector)) { in md_get_active_sync_action()
5229 if (mddev->reshape_position == MaxSector || in mddev_start_reshape()
5570 if (mddev->resync_max == MaxSector) in max_sync_show()
5582 mddev->resync_max = MaxSector; in max_sync_store()
5684 if (mddev->reshape_position != MaxSector) in reshape_position_show()
6709 if (mddev->reshape_position != MaxSector && in md_run()
6948 mddev->resync_max = MaxSector; in md_clean()
6949 mddev->reshape_position = MaxSector; in md_clean()
7915 mddev->resync_offset = MaxSector; in md_set_array_info()
7938 mddev->reshape_position = MaxSector; in md_set_array_info()
8021 mddev->reshape_position != MaxSector) in update_raid_disks()
8848 rdev->recovery_offset != MaxSector && in status_resync()
8853 if (mddev->reshape_position != MaxSector) in status_resync()
8859 if (mddev->resync_offset < MaxSector) { in status_resync()
9541 mddev->reshape_position != MaxSector) in md_sync_position()
9545 start = MaxSector; in md_sync_position()
9557 start == MaxSector && mddev_select_lazy_recover_rdev(mddev)) in md_sync_position()
9574 return MaxSector; in md_sync_position()
9599 mddev->curr_resync = MaxSector; in md_finish_sync()
9604 mddev->curr_resync = MaxSector; in md_finish_sync()
9955 mddev->resync_max = MaxSector; in md_do_sync()
10121 if (mddev->reshape_position != MaxSector) { in md_choose_sync_action()
10133 if (mddev->resync_offset < MaxSector) { in md_choose_sync_action()
10176 if (mddev->reshape_position == MaxSector && in md_start_sync()
10309 mddev->resync_offset == MaxSector) in md_should_do_recovery()
10785 mddev->reshape_position != MaxSector && in check_sb_changes()
10788 mddev->reshape_position = MaxSector; in check_sb_changes()
10835 if (rdev->recovery_offset == MaxSector && in read_rdev()