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()
8005 sector_t max_sectors, resync, res; in status_resync() local
8017 resync = mddev->curr_resync; in status_resync()
8018 if (resync <= 3) { in status_resync()
8021 resync = max_sectors; in status_resync()
8022 } else if (resync > max_sectors) in status_resync()
8023 resync = max_sectors; in status_resync()
8025 resync -= atomic_read(&mddev->recovery_active); in status_resync()
8027 if (resync == 0) { in status_resync()
8051 if (resync < 3) { in status_resync()
8067 res = (resync>>scale)*1000; in status_resync()
8089 (unsigned long long) resync/2, in status_resync()
8119 rt = max_sectors - resync; /* number of remaining sectors */ in status_resync()