Home
last modified time | relevance | path

Searched refs:n_todo (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/shared/
Drm-rf.c211 size_t n_todo = 0; in rm_rf_children() local
221 if (n_todo > 0) { in rm_rf_children()
225 … r = unlinkat_harder(dirfd(todos[n_todo-1].dir), dirname, AT_REMOVEDIR, flags); in rm_rf_children()
231 n_todo --; in rm_rf_children()
232 d = TAKE_PTR(todos[n_todo].dir); in rm_rf_children()
233 dirname = TAKE_PTR(todos[n_todo].dirname); in rm_rf_children()
283 if (!GREEDY_REALLOC0(todos, n_todo + 2)) in rm_rf_children()
293 … todos[n_todo++] = (TodoEntry) { TAKE_PTR(d), TAKE_PTR(dirname) }; in rm_rf_children()
309 if (n_todo == 0) in rm_rf_children()
Dinstall.c2275 size_t n_todo = 0; in unit_file_unmask() local
2309 if (!GREEDY_REALLOC0(todo, n_todo + 2)) in unit_file_unmask()
2312 todo[n_todo] = strdup(*i); in unit_file_unmask()
2313 if (!todo[n_todo]) in unit_file_unmask()
2316 n_todo++; in unit_file_unmask()
2366 size_t n_todo = 0; in unit_file_link() local
2408 if (!GREEDY_REALLOC0(todo, n_todo + 2)) in unit_file_link()
2411 todo[n_todo] = strdup(*i); in unit_file_link()
2412 if (!todo[n_todo]) in unit_file_link()
2415 n_todo++; in unit_file_link()
[all …]