Lines Matching refs:curr_resync
4992 if (mddev->curr_resync == MD_RESYNC_NONE) in sync_speed_show()
5011 if (mddev->curr_resync == MD_RESYNC_YIELDED || in sync_completed_show()
5012 mddev->curr_resync == MD_RESYNC_DELAYED) in sync_completed_show()
6172 mddev->curr_resync = 0; in md_clean()
8020 resync = mddev->curr_resync; in status_resync()
8764 mddev->curr_resync = MD_RESYNC_DELAYED; in md_do_sync()
8776 && mddev2->curr_resync in md_do_sync()
8780 mddev->curr_resync == MD_RESYNC_DELAYED) { in md_do_sync()
8782 mddev->curr_resync = MD_RESYNC_YIELDED; in md_do_sync()
8786 mddev->curr_resync == MD_RESYNC_YIELDED) in md_do_sync()
8797 mddev2->curr_resync >= mddev->curr_resync) { in md_do_sync()
8816 } while (mddev->curr_resync < MD_RESYNC_DELAYED); in md_do_sync()
8898 mddev->curr_resync = j; in md_do_sync()
8900 mddev->curr_resync = MD_RESYNC_ACTIVE; /* no longer delayed */ in md_do_sync()
8913 ((mddev->curr_resync > mddev->curr_resync_completed && in md_do_sync()
8914 (mddev->curr_resync - mddev->curr_resync_completed) in md_do_sync()
8968 mddev->curr_resync = j; in md_do_sync()
9035 mddev->curr_resync >= MD_RESYNC_ACTIVE) { in md_do_sync()
9036 mddev->curr_resync_completed = mddev->curr_resync; in md_do_sync()
9042 mddev->curr_resync >= MD_RESYNC_ACTIVE) { in md_do_sync()
9045 if (mddev->curr_resync >= mddev->recovery_cp) { in md_do_sync()
9054 mddev->curr_resync; in md_do_sync()
9060 mddev->curr_resync = MaxSector; in md_do_sync()
9070 rdev->recovery_offset < mddev->curr_resync) in md_do_sync()
9071 rdev->recovery_offset = mddev->curr_resync; in md_do_sync()
9106 mddev->curr_resync = MD_RESYNC_NONE; in md_do_sync()