Lines Matching refs:MaxSector
715 mddev->reshape_position = MaxSector; in mddev_init()
719 mddev->resync_max = MaxSector; in mddev_init()
1035 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()
1360 mddev->reshape_position = MaxSector; in super_90_validate()
1370 mddev->recovery_cp = MaxSector; in super_90_validate()
1492 if (mddev->reshape_position == MaxSector) in super_90_sync()
1508 if (mddev->recovery_cp == MaxSector) in super_90_sync()
1902 mddev->reshape_position = MaxSector; in super_1_validate()
2025 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()
2070 if (mddev->reshape_position != MaxSector) { in super_1_sync()
2791 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
3480 recovery_start == MaxSector) in recovery_start_show()
3491 recovery_start = MaxSector; in recovery_start_store()
3500 if (recovery_start == MaxSector) in recovery_start_store()
3978 mddev->reshape_position != MaxSector || in level_store()
4149 if (mddev->reshape_position != MaxSector && in layout_show()
4182 if (mddev->reshape_position == MaxSector) in layout_store()
4196 if (mddev->reshape_position != MaxSector && in raid_disks_show()
4220 else if (mddev->reshape_position != MaxSector) { in raid_disks_store()
4257 if (mddev->reshape_position != MaxSector && in chunk_size_show()
4291 if (mddev->reshape_position == MaxSector) in chunk_size_store()
4303 if (mddev->recovery_cp == MaxSector) in resync_start_show()
4315 n = MaxSector; in resync_start_store()
4843 else if (mddev->reshape_position != MaxSector) in action_show()
5112 if (mddev->resync_max == MaxSector) in max_sync_show()
5124 mddev->resync_max = MaxSector; in max_sync_store()
5239 if (mddev->reshape_position != MaxSector) in reshape_position_show()
5925 if (mddev->reshape_position != MaxSector && in md_run()
6186 mddev->resync_max = MaxSector; in md_clean()
6187 mddev->reshape_position = MaxSector; in md_clean()
7172 mddev->recovery_cp = MaxSector; in md_set_array_info()
7195 mddev->reshape_position = MaxSector; in md_set_array_info()
7281 mddev->reshape_position != MaxSector) in update_raid_disks()
8067 rdev->recovery_offset != MaxSector && in status_resync()
8072 if (mddev->reshape_position != MaxSector) in status_resync()
8078 if (mddev->recovery_cp < MaxSector) { in status_resync()
8776 mddev->reshape_position != MaxSector) in md_do_sync()
8781 j = MaxSector; in md_do_sync()
8994 mddev->recovery_cp = MaxSector; in md_do_sync()
8997 mddev->curr_resync = MaxSector; in md_do_sync()
9040 mddev->resync_max = MaxSector; in md_do_sync()
9232 && !mddev->in_sync && mddev->recovery_cp == MaxSector) in md_check_recovery()
9326 if (mddev->reshape_position != MaxSector) { in md_check_recovery()
9338 } else if (mddev->recovery_cp < MaxSector) { in md_check_recovery()
9679 mddev->reshape_position != MaxSector && in check_sb_changes()
9682 mddev->reshape_position = MaxSector; in check_sb_changes()
9729 if (rdev->recovery_offset == MaxSector && in read_rdev()