Lines Matching refs:resync
4500 unsigned long resync, dt, db; in sync_speed_show() local
4503 resync = mddev->curr_mark_cnt - atomic_read(&mddev->recovery_active); in sync_speed_show()
4506 db = resync - mddev->resync_mark_cnt; in sync_speed_show()
4515 unsigned long long max_sectors, resync; in sync_completed_show() local
4530 resync = mddev->curr_resync_completed; in sync_completed_show()
4531 return sprintf(page, "%llu / %llu\n", resync, max_sectors); in sync_completed_show()
7220 sector_t max_sectors, resync, res; in status_resync() local
7232 resync = mddev->curr_resync; in status_resync()
7233 if (resync <= 3) { in status_resync()
7236 resync = max_sectors; in status_resync()
7238 resync -= atomic_read(&mddev->recovery_active); in status_resync()
7240 if (resync == 0) { in status_resync()
7247 if (resync < 3) { in status_resync()
7263 res = (resync>>scale)*1000; in status_resync()
7285 (unsigned long long) resync/2, in status_resync()
7307 rt = max_sectors - resync; /* number of remaining sectors */ in status_resync()