Lines Matching refs:MaxSector
659 mddev->reshape_position = MaxSector; in mddev_init()
663 mddev->resync_max = MaxSector; in mddev_init()
975 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()
1295 mddev->reshape_position = MaxSector; in super_90_validate()
1305 mddev->recovery_cp = MaxSector; in super_90_validate()
1427 if (mddev->reshape_position == MaxSector) in super_90_sync()
1443 if (mddev->recovery_cp == MaxSector) in super_90_sync()
1834 mddev->reshape_position = MaxSector; in super_1_validate()
1957 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()
2002 if (mddev->reshape_position != MaxSector) { in super_1_sync()
2694 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
3381 recovery_start == MaxSector) in recovery_start_show()
3392 recovery_start = MaxSector; in recovery_start_store()
3401 if (recovery_start == MaxSector) in recovery_start_store()
3903 mddev->reshape_position != MaxSector || in level_store()
4074 if (mddev->reshape_position != MaxSector && in layout_show()
4107 if (mddev->reshape_position == MaxSector) in layout_store()
4121 if (mddev->reshape_position != MaxSector && in raid_disks_show()
4145 else if (mddev->reshape_position != MaxSector) { in raid_disks_store()
4182 if (mddev->reshape_position != MaxSector && in chunk_size_show()
4216 if (mddev->reshape_position == MaxSector) in chunk_size_store()
4228 if (mddev->recovery_cp == MaxSector) in resync_start_show()
4240 n = MaxSector; in resync_start_store()
4755 else if (mddev->reshape_position != MaxSector) in action_show()
4843 } else if (mddev->reshape_position == MaxSector || in action_store()
5079 if (mddev->resync_max == MaxSector) in max_sync_show()
5091 mddev->resync_max = MaxSector; in max_sync_store()
5205 if (mddev->reshape_position != MaxSector) in reshape_position_show()
5915 if (mddev->reshape_position != MaxSector && in md_run()
6183 mddev->resync_max = MaxSector; in md_clean()
6184 mddev->reshape_position = MaxSector; in md_clean()
7190 mddev->recovery_cp = MaxSector; in md_set_array_info()
7213 mddev->reshape_position = MaxSector; in md_set_array_info()
7299 mddev->reshape_position != MaxSector) in update_raid_disks()
8107 rdev->recovery_offset != MaxSector && in status_resync()
8112 if (mddev->reshape_position != MaxSector) in status_resync()
8118 if (mddev->recovery_cp < MaxSector) { in status_resync()
8887 mddev->reshape_position != MaxSector) in md_do_sync()
8892 j = MaxSector; in md_do_sync()
9105 mddev->recovery_cp = MaxSector; in md_do_sync()
9108 mddev->curr_resync = MaxSector; in md_do_sync()
9150 mddev->resync_max = MaxSector; in md_do_sync()
9343 && !mddev->in_sync && mddev->recovery_cp == MaxSector) in md_check_recovery()
9445 if (mddev->reshape_position != MaxSector) { in md_check_recovery()
9457 } else if (mddev->recovery_cp < MaxSector) { in md_check_recovery()
9806 mddev->reshape_position != MaxSector && in check_sb_changes()
9809 mddev->reshape_position = MaxSector; in check_sb_changes()
9856 if (rdev->recovery_offset == MaxSector && in read_rdev()