Lines Matching refs:MaxSector

709 	mddev->reshape_position = MaxSector;  in mddev_init()
713 mddev->resync_max = MaxSector; in mddev_init()
1080 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()
1408 mddev->reshape_position = MaxSector; in super_90_validate()
1418 mddev->resync_offset = MaxSector; in super_90_validate()
1537 if (mddev->reshape_position == MaxSector) in super_90_sync()
1553 if (mddev->resync_offset == MaxSector) in super_90_sync()
1940 mddev->reshape_position = MaxSector; in super_1_validate()
2092 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()
2137 if (mddev->reshape_position != MaxSector) { in super_1_sync()
2770 && (mddev->in_sync && mddev->resync_offset == MaxSector) in md_update_sb()
3441 recovery_start == MaxSector) in recovery_start_show()
3452 recovery_start = MaxSector; in recovery_start_store()
3461 if (recovery_start == MaxSector) in recovery_start_store()
3960 mddev->reshape_position != MaxSector || in level_store()
4152 if (mddev->reshape_position != MaxSector && in layout_show()
4185 if (mddev->reshape_position == MaxSector) in layout_store()
4199 if (mddev->reshape_position != MaxSector && in raid_disks_show()
4223 else if (mddev->reshape_position != MaxSector) { in raid_disks_store()
4260 if (mddev->reshape_position != MaxSector && in chunk_size_show()
4294 if (mddev->reshape_position == MaxSector) in chunk_size_store()
4306 if (mddev->resync_offset == MaxSector) in resync_start_show()
4318 n = MaxSector; in resync_start_store()
4865 mddev->reshape_position != MaxSector) in md_sync_action()
4988 if (mddev->reshape_position == MaxSector || in mddev_start_reshape()
5329 if (mddev->resync_max == MaxSector) in max_sync_show()
5341 mddev->resync_max = MaxSector; in max_sync_store()
5443 if (mddev->reshape_position != MaxSector) in reshape_position_show()
6188 if (mddev->reshape_position != MaxSector && in md_run()
6428 mddev->resync_max = MaxSector; in md_clean()
6429 mddev->reshape_position = MaxSector; in md_clean()
7371 mddev->resync_offset = MaxSector; in md_set_array_info()
7394 mddev->reshape_position = MaxSector; in md_set_array_info()
7477 mddev->reshape_position != MaxSector) in update_raid_disks()
8301 rdev->recovery_offset != MaxSector && in status_resync()
8306 if (mddev->reshape_position != MaxSector) in status_resync()
8312 if (mddev->resync_offset < MaxSector) { in status_resync()
8964 mddev->reshape_position != MaxSector) in md_sync_position()
8968 start = MaxSector; in md_sync_position()
8993 return MaxSector; in md_sync_position()
9326 mddev->resync_offset = MaxSector; in md_do_sync()
9329 mddev->curr_resync = MaxSector; in md_do_sync()
9371 mddev->resync_max = MaxSector; in md_do_sync()
9537 if (mddev->reshape_position != MaxSector) { in md_choose_sync_action()
9548 if (mddev->resync_offset < MaxSector) { in md_choose_sync_action()
9590 if (mddev->reshape_position == MaxSector && in md_start_sync()
9729 && !mddev->in_sync && mddev->resync_offset == MaxSector) in md_check_recovery()
10174 mddev->reshape_position != MaxSector && in check_sb_changes()
10177 mddev->reshape_position = MaxSector; in check_sb_changes()
10224 if (rdev->recovery_offset == MaxSector && in read_rdev()