Home
last modified time | relevance | path

Searched refs:bg_op (Results 1 – 15 of 15) sorted by relevance

/dports/misc/vifm/vifm-0.11/src/
H A Dbackground.c1051 new->bg_op.total = 0; in add_background_job()
1052 new->bg_op.done = 0; in add_background_job()
1204 bg_job_t *const job = STRUCT_FROM_FIELD(bg_job_t, bg_op, bg_op); in bg_op_lock()
1211 bg_job_t *const job = STRUCT_FROM_FIELD(bg_job_t, bg_op, bg_op); in bg_op_unlock()
1224 bg_op_lock(bg_op); in bg_op_set_descr()
1226 bg_op_unlock(bg_op); in bg_op_set_descr()
1228 bg_op_changed(bg_op); in bg_op_set_descr()
1238 bg_op_lock(bg_op); in bg_op_cancel()
1241 bg_op_unlock(bg_op); in bg_op_cancel()
1252 bg_op_lock(bg_op); in bg_op_cancelled()
[all …]
H A Dbackground.h87 bg_op_t bg_op; member
105 typedef void (*bg_task_func)(bg_op_t *bg_op, void *arg);
172 void bg_op_lock(bg_op_t *bg_op);
175 void bg_op_unlock(bg_op_t *bg_op);
179 void bg_op_changed(bg_op_t *bg_op);
184 void bg_op_set_descr(bg_op_t *bg_op, const char descr[]);
189 int bg_op_cancelled(bg_op_t *bg_op);
H A Dfops_misc.c61 static void delete_files_in_bg(bg_op_t *bg_op, void *arg);
74 static void dir_size_bg(bg_op_t *bg_op, void *arg);
395 delete_files_in_bg(bg_op_t *bg_op, void *arg) in delete_files_in_bg() argument
400 fops_bg_ops_init(ops, bg_op); in delete_files_in_bg()
405 bg_op_set_descr(bg_op, "estimating..."); in delete_files_in_bg()
421 bg_op_set_descr(bg_op, src); in delete_files_in_bg()
423 ++bg_op->done; in delete_files_in_bg()
1122 dir_size_bg(bg_op_t *bg_op, void *arg) in dir_size_bg() argument
1126 dir_size(bg_op, args->path, args->force); in dir_size_bg()
1135 dir_size(bg_op_t *bg_op, char path[], int force) in dir_size() argument
[all …]
H A Dfops_common.c96 bg_op_t *bg_op; /* Information for background operation. */ member
465 bg_op_t *const bg_op = pdata->bg_op; in io_progress_bg() local
467 bg_op->progress = progress/IO_PRECISION; in io_progress_bg()
468 bg_op_changed(bg_op); in io_progress_bg()
877 fops_bg_ops_init(ops_t *ops, bg_op_t *bg_op) in fops_bg_ops_init() argument
879 ops->bg_op = bg_op; in fops_bg_ops_init()
883 pdata->bg_op = bg_op; in fops_bg_ops_init()
H A Dfops_cpmv.c53 static void cpmv_files_in_bg(bg_op_t *bg_op, void *arg);
519 cpmv_files_in_bg(bg_op_t *bg_op, void *arg) in cpmv_files_in_bg() argument
524 fops_bg_ops_init(ops, bg_op); in cpmv_files_in_bg()
529 bg_op_set_descr(bg_op, "estimating..."); in cpmv_files_in_bg()
542 bg_op_set_descr(bg_op, src); in cpmv_files_in_bg()
545 ++bg_op->done; in cpmv_files_in_bg()
H A Dfops_put.c51 static void put_files_in_bg(bg_op_t *bg_op, void *arg);
202 put_files_in_bg(bg_op_t *bg_op, void *arg) in put_files_in_bg() argument
207 fops_bg_ops_init(ops, bg_op); in put_files_in_bg()
212 bg_op_set_descr(bg_op, "estimating..."); in put_files_in_bg()
221 for(i = 0U; i < args->sel_list_len; ++i, ++bg_op->done) in put_files_in_bg()
247 bg_op_set_descr(bg_op, src); in put_files_in_bg()
H A Dops.h89 struct bg_op_t *bg_op; /* Information for background operation. */ member
H A Dfops_common.h153 void fops_bg_ops_init(ops_t *ops, bg_op_t *bg_op);
H A Dtrash.c97 static void empty_trash_in_bg(bg_op_t *bg_op, void *arg);
322 empty_trash_in_bg(bg_op_t *bg_op, void *arg) in empty_trash_in_bg() argument
H A Dops.c972 args->cancellation.arg = ops->bg_op; in exec_io_op()
1169 .arg = ops->bg_op, in run_operation_command()
/dports/misc/vifm/vifm-0.11/src/ui/
H A Dstatusline.h51 void ui_stat_job_bar_add(struct bg_op_t *bg_op);
54 void ui_stat_job_bar_remove(struct bg_op_t *bg_op);
57 void ui_stat_job_bar_changed(struct bg_op_t *bg_op);
H A Dstatusline.c633 ui_stat_job_bar_add(bg_op_t *bg_op) in ui_stat_job_bar_add() argument
644 bar_jobs[nbar_jobs] = bg_op; in ui_stat_job_bar_add()
661 ui_stat_job_bar_remove(bg_op_t *bg_op) in ui_stat_job_bar_remove() argument
668 if(bar_jobs[i] == bg_op) in ui_stat_job_bar_remove()
689 ui_stat_job_bar_changed(bg_op_t *bg_op) in ui_stat_job_bar_changed() argument
/dports/misc/vifm/vifm-0.11/tests/misc/
H A Dbackground.c15 static void task(bg_op_t *bg_op, void *arg);
62 task(bg_op_t *bg_op, void *arg) in task() argument
H A Dipc.c23 static void other_instance(bg_op_t *bg_op, void *arg);
235 other_instance(bg_op_t *bg_op, void *arg) in other_instance() argument
/dports/misc/vifm/vifm-0.11/src/menus/
H A Djobs_menu.c76 else if(p->bg_op.total == BG_UNDEFINED_TOTAL) in show_jobs_menu()
82 snprintf(info_buf, sizeof(info_buf), "%d/%d", p->bg_op.done + 1, in show_jobs_menu()
83 p->bg_op.total); in show_jobs_menu()