Lines Matching refs:resync_offset
1522 mddev->resync_offset = MaxSector; in super_90_validate()
1526 mddev->resync_offset = sb->recovery_cp; in super_90_validate()
1528 mddev->resync_offset = 0; in super_90_validate()
1654 sb->recovery_cp = mddev->resync_offset; in super_90_sync()
1657 if (mddev->resync_offset == MaxSector) in super_90_sync()
2012 mddev->resync_offset = le64_to_cpu(sb->resync_offset); in super_1_validate()
2201 sb->resync_offset = cpu_to_le64(mddev->resync_offset); in super_1_sync()
2203 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()
2205 sb->resync_offset = cpu_to_le64(0); in super_1_sync()
2884 && (mddev->in_sync && mddev->resync_offset == MaxSector) in md_update_sb()
4497 if (mddev->resync_offset == MaxSector) in resync_start_show()
4499 return sprintf(page, "%llu\n", (unsigned long long)mddev->resync_offset); in resync_start_show()
4525 mddev->resync_offset = n; in resync_start_store()
5046 if (mddev->resync_offset < MaxSector) in md_get_active_sync_action()
6788 mddev->resync_offset = 0; in md_clean()
7752 mddev->resync_offset = MaxSector; in md_set_array_info()
7754 mddev->resync_offset = 0; in md_set_array_info()
8691 if (mddev->resync_offset < MaxSector) { in status_resync()
9377 return mddev->resync_offset; in md_sync_position()
9617 j > mddev->resync_offset) in md_do_sync()
9618 mddev->resync_offset = j; in md_do_sync()
9745 if (mddev->curr_resync >= mddev->resync_offset) { in md_do_sync()
9750 mddev->resync_offset = in md_do_sync()
9753 mddev->resync_offset = in md_do_sync()
9757 mddev->resync_offset = MaxSector; in md_do_sync()
9976 if (mddev->resync_offset < MaxSector) { in md_choose_sync_action()
10152 mddev->resync_offset == MaxSector) in md_should_do_recovery()