Lines Matching refs:resync
5009 unsigned long resync, dt, db; in sync_speed_show() local
5012 resync = mddev->curr_mark_cnt - atomic_read(&mddev->recovery_active); in sync_speed_show()
5015 db = resync - mddev->resync_mark_cnt; in sync_speed_show()
5024 unsigned long long max_sectors, resync; in sync_completed_show() local
5039 resync = mddev->curr_resync_completed; in sync_completed_show()
5040 return sprintf(page, "%llu / %llu\n", resync, max_sectors); in sync_completed_show()
8019 sector_t max_sectors, resync, res; in status_resync() local
8031 resync = mddev->curr_resync; in status_resync()
8032 if (resync <= 3) { in status_resync()
8035 resync = max_sectors; in status_resync()
8036 } else if (resync > max_sectors) in status_resync()
8037 resync = max_sectors; in status_resync()
8039 resync -= atomic_read(&mddev->recovery_active); in status_resync()
8041 if (resync == 0) { in status_resync()
8065 if (resync < 3) { in status_resync()
8081 res = (resync>>scale)*1000; in status_resync()
8103 (unsigned long long) resync/2, in status_resync()
8133 rt = max_sectors - resync; /* number of remaining sectors */ in status_resync()