Lines Matching refs:resync
5027 unsigned long resync, dt, db; in sync_speed_show() local
5030 resync = mddev->curr_mark_cnt - atomic_read(&mddev->recovery_active); in sync_speed_show()
5033 db = resync - mddev->resync_mark_cnt; in sync_speed_show()
5042 unsigned long long max_sectors, resync; in sync_completed_show() local
5057 resync = mddev->curr_resync_completed; in sync_completed_show()
5058 return sprintf(page, "%llu / %llu\n", resync, max_sectors); in sync_completed_show()
8031 sector_t max_sectors, resync, res; in status_resync() local
8043 resync = mddev->curr_resync; in status_resync()
8044 if (resync <= 3) { in status_resync()
8047 resync = max_sectors; in status_resync()
8048 } else if (resync > max_sectors) in status_resync()
8049 resync = max_sectors; in status_resync()
8051 resync -= atomic_read(&mddev->recovery_active); in status_resync()
8053 if (resync == 0) { in status_resync()
8077 if (resync < 3) { in status_resync()
8093 res = (resync>>scale)*1000; in status_resync()
8115 (unsigned long long) resync/2, in status_resync()
8145 rt = max_sectors - resync; /* number of remaining sectors */ in status_resync()