Lines Matching defs:action
1054 static int item_do_children(Item *i, const char *path, action_t action) {
1089 q = action(i, p);
1094 q = item_do_children(i, p, action);
1103 static int glob_item(Item *i, action_t action, bool recursive) {
1120 k = action(i, *fn);
1125 k = item_do_children(i, *fn, action);
1159 log_debug("Running create action for entry %c %s", (char) i->type, i->path);
1545 log_debug("Running remove action for entry %c %s", (char) i->type, i->path);
1640 log_debug("Running clean action for entry %c %s", (char) i->type, i->path);
1812 _cleanup_free_ char *action = NULL, *mode = NULL, *user = NULL, *group = NULL, *age = NULL, *path = NULL;
1827 &action,
1847 if (isempty(action)) {
1848 log_error("[%s:%u] Command too short '%s'.", fname, line, action);
1852 for (pos = 1; action[pos]; pos++) {
1853 if (action[pos] == '!' && !boot)
1855 else if (action[pos] == '+' && !force)
1859 fname, line, action);
1866 action, path);
1870 i.type = action[0];