Home
last modified time | relevance | path

Searched refs:persistent_config (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/basic/
Dpath-lookup.c145 const char *persistent_config, in user_dirs() argument
182 if (strv_extend(&res, persistent_config) < 0) in user_dirs()
519 *persistent_config = NULL, *runtime_config = NULL, in lookup_paths_init() local
559 r = acquire_config_dirs(scope, &persistent_config, &runtime_config); in lookup_paths_init()
617 persistent_config, in lookup_paths_init()
641 persistent_config, in lookup_paths_init()
656 add = user_dirs(persistent_config, runtime_config, in lookup_paths_init()
680 r = patch_root_prefix(&persistent_config, root); in lookup_paths_init()
722 .persistent_config = TAKE_PTR(persistent_config), in lookup_paths_init()
760 lp->persistent_config = mfree(lp->persistent_config); in lookup_paths_free()
Dpath-lookup.h30 char *persistent_config; member
/systemd-251/src/shared/
Dinstall.c195 return path_equal_ptr(path, lp->persistent_config) || in path_is_config()
259 … return FLAGS_SET(flags, UNIT_FILE_RUNTIME) ? lp->runtime_config : lp->persistent_config; in config_path_from_flags()
970 if (path_equal_ptr(*p, lp->persistent_config)) { in find_symlinks_in_scope()
991 if (path_equal_ptr(*p, lp->persistent_config)) in find_symlinks_in_scope()
2237 config_path = (flags & UNIT_FILE_RUNTIME) ? lp.runtime_config : lp.persistent_config; in unit_file_mask()
2285 config_path = (flags & UNIT_FILE_RUNTIME) ? lp.runtime_config : lp.persistent_config; in unit_file_unmask()
2376 config_path = (flags & UNIT_FILE_RUNTIME) ? lp.runtime_config : lp.persistent_config; in unit_file_link()
2599 …q = remove_marked_symlinks(remove_symlinks_to, lp.persistent_config, &lp, false, changes, n_change… in unit_file_revert()
2636 config_path = (file_flags & UNIT_FILE_RUNTIME) ? lp.runtime_config : lp.persistent_config; in unit_file_add_dependency()
2912 new_path = strjoina(lp.persistent_config, "/" SPECIAL_DEFAULT_TARGET); in unit_file_set_default()
[all …]
/systemd-251/src/systemctl/
Dsystemctl-edit.c217 path = path_join(paths->persistent_config, name); in get_file_to_edit()
/systemd-251/src/tmpfiles/
Dtmpfiles.c293 _cleanup_free_ char *persistent_config = NULL, *runtime_config = NULL, *data_home = NULL; in user_config_paths() local
301 r = xdg_user_config_dir(&persistent_config, "/user-tmpfiles.d"); in user_config_paths()
317 r = strv_extend(&res, persistent_config); in user_config_paths()