Home | History | Annotate | Download | only in e2fsck

Lines Matching full:pass

354 static float calc_percent(struct percent_tbl *tbl, int pass, int curr,
359 if (pass <= 0)
361 if (pass > tbl->max_pass || max == 0)
364 return ((percent * (tbl->table[pass] - tbl->table[pass-1]))
365 + tbl->table[pass-1]);
448 static int e2fsck_update_progress(e2fsck_t ctx, int pass,
454 if (pass == 0)
458 sprintf(buf, "%d %lu %lu\n", pass, cur, max);
461 percent = calc_percent(&e2fsck_tbl, pass, cur, max);