Lines Matching refs:MaxSector

683 	mddev->reshape_position = MaxSector;  in mddev_init()
687 mddev->resync_max = MaxSector; in mddev_init()
1020 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()
1348 mddev->reshape_position = MaxSector; in super_90_validate()
1358 mddev->recovery_cp = MaxSector; in super_90_validate()
1477 if (mddev->reshape_position == MaxSector) in super_90_sync()
1493 if (mddev->recovery_cp == MaxSector) in super_90_sync()
1880 mddev->reshape_position = MaxSector; in super_1_validate()
2032 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()
2077 if (mddev->reshape_position != MaxSector) { in super_1_sync()
2723 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
3394 recovery_start == MaxSector) in recovery_start_show()
3405 recovery_start = MaxSector; in recovery_start_store()
3414 if (recovery_start == MaxSector) in recovery_start_store()
3913 mddev->reshape_position != MaxSector || in level_store()
4109 if (mddev->reshape_position != MaxSector && in layout_show()
4142 if (mddev->reshape_position == MaxSector) in layout_store()
4156 if (mddev->reshape_position != MaxSector && in raid_disks_show()
4180 else if (mddev->reshape_position != MaxSector) { in raid_disks_store()
4217 if (mddev->reshape_position != MaxSector && in chunk_size_show()
4251 if (mddev->reshape_position == MaxSector) in chunk_size_store()
4263 if (mddev->recovery_cp == MaxSector) in resync_start_show()
4275 n = MaxSector; in resync_start_store()
4822 mddev->reshape_position != MaxSector) in md_sync_action()
4945 if (mddev->reshape_position == MaxSector || in mddev_start_reshape()
5257 if (mddev->resync_max == MaxSector) in max_sync_show()
5269 mddev->resync_max = MaxSector; in max_sync_store()
5371 if (mddev->reshape_position != MaxSector) in reshape_position_show()
6119 if (mddev->reshape_position != MaxSector && in md_run()
6359 mddev->resync_max = MaxSector; in md_clean()
6360 mddev->reshape_position = MaxSector; in md_clean()
7312 mddev->recovery_cp = MaxSector; in md_set_array_info()
7335 mddev->reshape_position = MaxSector; in md_set_array_info()
7418 mddev->reshape_position != MaxSector) in update_raid_disks()
8217 rdev->recovery_offset != MaxSector && in status_resync()
8222 if (mddev->reshape_position != MaxSector) in status_resync()
8228 if (mddev->recovery_cp < MaxSector) { in status_resync()
8879 mddev->reshape_position != MaxSector) in md_sync_position()
8883 start = MaxSector; in md_sync_position()
8908 return MaxSector; in md_sync_position()
9223 mddev->recovery_cp = MaxSector; in md_do_sync()
9226 mddev->curr_resync = MaxSector; in md_do_sync()
9268 mddev->resync_max = MaxSector; in md_do_sync()
9419 if (mddev->reshape_position != MaxSector) { in md_choose_sync_action()
9446 if (mddev->recovery_cp < MaxSector) { in md_choose_sync_action()
9471 if (mddev->reshape_position == MaxSector && in md_start_sync()
9610 && !mddev->in_sync && mddev->recovery_cp == MaxSector) in md_check_recovery()
10043 mddev->reshape_position != MaxSector && in check_sb_changes()
10046 mddev->reshape_position = MaxSector; in check_sb_changes()
10093 if (rdev->recovery_offset == MaxSector && in read_rdev()