Home
last modified time | relevance | path

Searched refs:chunks_left (Results 1 – 7 of 7) sorted by relevance

/reactos/dll/shellext/shellbtrfs/
H A Dscrub.cpp285 if (first_time || status != bqs.status || chunks_left != bqs.chunks_left) { in RefreshScrubDlg()
315 pc = ((float)(bqs.total_chunks - bqs.chunks_left) / (float)bqs.total_chunks) * 100.0f; in RefreshScrubDlg()
317 wstring_sprintf(s, t, bqs.total_chunks - bqs.chunks_left, bqs.total_chunks, pc); in RefreshScrubDlg()
327 …DlgItem(hwndDlg, IDC_SCRUB_PROGRESS), PBM_SETPOS, (WPARAM)(bqs.total_chunks - bqs.chunks_left), 0); in RefreshScrubDlg()
338 chunks_left = bqs.chunks_left; in RefreshScrubDlg()
342 if (bqs.status != BTRFS_SCRUB_STOPPED && chunks_left != bqs.chunks_left) { in RefreshScrubDlg()
343 …DlgItem(hwndDlg, IDC_SCRUB_PROGRESS), PBM_SETPOS, (WPARAM)(bqs.total_chunks - bqs.chunks_left), 0); in RefreshScrubDlg()
344 chunks_left = bqs.chunks_left; in RefreshScrubDlg()
H A Dscrub.h46 uint64_t chunks_left; variable
H A Dbalance.cpp315 …gItem(hwndDlg, IDC_BALANCE_PROGRESS), PBM_SETPOS, (WPARAM)(bqb.total_chunks - bqb.chunks_left), 0); in RefreshBalanceDlg()
328 … wstring_sprintf(t, s, bqb.data_opts.devid, bqb.total_chunks - bqb.chunks_left, bqb.total_chunks, in RefreshBalanceDlg()
329 … (float)(bqb.total_chunks - bqb.chunks_left) * 100.0f / (float)bqb.total_chunks); in RefreshBalanceDlg()
337 … wstring_sprintf(t, s, bqb.data_opts.devid, bqb.total_chunks - bqb.chunks_left, bqb.total_chunks, in RefreshBalanceDlg()
338 … (float)(bqb.total_chunks - bqb.chunks_left) * 100.0f / (float)bqb.total_chunks); in RefreshBalanceDlg()
346 wstring_sprintf(t, s, bqb.total_chunks - bqb.chunks_left, bqb.total_chunks, in RefreshBalanceDlg()
347 … (float)(bqb.total_chunks - bqb.chunks_left) * 100.0f / (float)bqb.total_chunks); in RefreshBalanceDlg()
/reactos/drivers/filesystems/btrfs/
H A Dbtrfsioctl.h169 uint64_t chunks_left; member
227 uint64_t chunks_left; member
H A Dbalance.c2938 Vcb->balance.chunks_left--; in try_consolidation()
3086 Vcb->balance.total_chunks = Vcb->balance.chunks_left = 0; in _Function_class_()
3147 Vcb->balance.chunks_left++; in _Function_class_()
3326 Vcb->balance.chunks_left--; in _Function_class_()
3367 Vcb->balance.chunks_left--; in _Function_class_()
3410 if (Vcb->balance.chunks_left == 0) { in _Function_class_()
3739 bqb->chunks_left = Vcb->balance.chunks_left; in query_balance()
H A Dscrub.c3174 Vcb->scrub.chunks_left = 0; in _Function_class_()
3194 Vcb->scrub.chunks_left++; in _Function_class_()
3239 Vcb->scrub.chunks_left--; in _Function_class_()
3316 if (Vcb->scrub.thread && Vcb->scrub.chunks_left > 0) in query_scrub()
3323 bqs->chunks_left = Vcb->scrub.chunks_left; in query_scrub()
H A Dbtrfs_drv.h700 uint64_t chunks_left; member
749 uint64_t chunks_left; member