Lines Matching refs:resync
5003 unsigned long resync, dt, db; in sync_speed_show() local
5006 resync = mddev->curr_mark_cnt - atomic_read(&mddev->recovery_active); in sync_speed_show()
5009 db = resync - mddev->resync_mark_cnt; in sync_speed_show()
5018 unsigned long long max_sectors, resync; in sync_completed_show() local
5033 resync = mddev->curr_resync_completed; in sync_completed_show()
5034 return sprintf(page, "%llu / %llu\n", resync, max_sectors); in sync_completed_show()
8068 sector_t max_sectors, resync, res; in status_resync() local
8080 resync = mddev->curr_resync; in status_resync()
8081 if (resync < MD_RESYNC_ACTIVE) { in status_resync()
8084 resync = max_sectors; in status_resync()
8085 } else if (resync > max_sectors) { in status_resync()
8086 resync = max_sectors; in status_resync()
8094 if (resync < res || resync - res < MD_RESYNC_ACTIVE) in status_resync()
8095 resync = MD_RESYNC_ACTIVE; in status_resync()
8097 resync -= res; in status_resync()
8100 if (resync == MD_RESYNC_NONE) { in status_resync()
8124 if (resync < MD_RESYNC_ACTIVE) { in status_resync()
8140 res = (resync>>scale)*1000; in status_resync()
8162 (unsigned long long) resync/2, in status_resync()
8192 rt = max_sectors - resync; /* number of remaining sectors */ in status_resync()