Lines Matching defs:progress
56 #include "progress.h"
68 { 'P', "progress", &v7fs_opts->progress, OPT_INT32, false, true,
69 "Progress bar" },
100 if ((progress_bar_enable = v7fs_opts->progress)) {
103 progress(&(struct progress_arg){ .cdev = image });
165 progress(const struct progress_arg *p)
168 static struct progress_arg Progress;
176 Progress = *p;
183 if (!Progress.tick)
185 if (++Progress.cnt > Progress.tick) {
186 Progress.cnt = 0;
187 Progress.total++;
188 progress_bar(cdev, label, Progress.total, PROGRESS_BAR_GRANULE);