Searched refs:n_todo (Results 1 – 2 of 2) sorted by relevance
211 size_t n_todo = 0; in rm_rf_children() local221 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()
2275 size_t n_todo = 0; in unit_file_unmask() local2309 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() local2408 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 …]