Lines Matching defs:paths
4754 return log_error_errno(r, "Failed to query unit lookup paths: %m");
5205 _cleanup_lookup_paths_free_ LookupPaths paths = {};
5222 r = lookup_paths_init(&paths, MANAGER_SYSTEM, false, arg_root, NULL, NULL, NULL);
5246 STRV_FOREACH(k, paths.unit_path) {
5976 static int run_editor(char **paths) {
5980 assert(paths);
5996 argc = strv_length(paths)/2 + 1;
6025 STRV_FOREACH_PAIR(original_path, tmp_path, paths) {
6058 static int find_paths_to_edit(sd_bus *bus, char **names, char ***paths) {
6066 assert(paths);
6094 r = strv_push_pair(paths, new_path, tmp_path);
6104 _cleanup_strv_free_ char **paths = NULL;
6127 r = find_paths_to_edit(bus, names, &paths);
6131 if (strv_isempty(paths))
6134 r = run_editor(paths);
6138 STRV_FOREACH_PAIR(original, tmp, paths) {
6160 STRV_FOREACH_PAIR(original, tmp, paths)