Home
last modified time | relevance | path

Searched refs:LookupPaths (Results 1 – 21 of 21) sorted by relevance

/systemd-251/src/basic/
Dpath-lookup.h23 typedef struct LookupPaths { struct
60 } LookupPaths; argument
62 int lookup_paths_init(LookupPaths *lp, LookupScope scope, LookupPathsFlags flags, const char *root_…
63 int lookup_paths_init_or_warn(LookupPaths *lp, LookupScope scope, LookupPathsFlags flags, const cha…
73 void lookup_paths_log(LookupPaths *p);
74 void lookup_paths_free(LookupPaths *p);
Dunit-file.h37 bool lookup_paths_timestamp_hash_same(const LookupPaths *lp, uint64_t timestamp_hash, uint64_t *ret…
49 const LookupPaths *lp,
Dpath-lookup.c511 LookupPaths *lp, in lookup_paths_init()
719 *lp = (LookupPaths) { in lookup_paths_init()
744 int lookup_paths_init_or_warn(LookupPaths *lp, LookupScope scope, LookupPathsFlags flags, const cha… in lookup_paths_init_or_warn()
754 void lookup_paths_free(LookupPaths *lp) { in lookup_paths_free()
779 void lookup_paths_log(LookupPaths *lp) { in lookup_paths_log()
Dunit-file.c200 static bool lookup_paths_mtime_exclude(const LookupPaths *lp, const char *path) { in lookup_paths_mtime_exclude()
213 bool lookup_paths_timestamp_hash_same(const LookupPaths *lp, uint64_t timestamp_hash, uint64_t *ret… in lookup_paths_timestamp_hash_same()
373 const LookupPaths *lp, in unit_file_build_name_map()
/systemd-251/src/shared/
Dinstall.c103 static int in_search_path(const LookupPaths *lp, const char *path) { in in_search_path()
136 static int path_is_generator(const LookupPaths *lp, const char *path) { in path_is_generator()
151 static int path_is_transient(const LookupPaths *lp, const char *path) { in path_is_transient()
164 static int path_is_control(const LookupPaths *lp, const char *path) { in path_is_control()
178 static int path_is_config(const LookupPaths *lp, const char *path, bool check_parent) { in path_is_config()
199 static int path_is_runtime(const LookupPaths *lp, const char *path, bool check_parent) { in path_is_runtime()
229 static int path_is_vendor_or_generator(const LookupPaths *lp, const char *path) { in path_is_vendor_or_generator()
253 static const char* config_path_from_flags(const LookupPaths *lp, UnitFileFlags flags) { in config_path_from_flags()
431 const LookupPaths *lp, in chroot_unit_symlinks_equivalent()
477 const LookupPaths *lp, in create_symlink()
[all …]
Dinstall.h184 const LookupPaths *paths,
189 int unit_file_exists(LookupScope scope, const LookupPaths *paths, const char *name);
/systemd-251/src/systemctl/
Dsystemctl-util.h37 int unit_file_find_path(LookupPaths *lp, const char *unit_name, char **ret_unit_path);
38 int unit_find_paths(sd_bus *bus, const char *unit_name, LookupPaths *lp, bool force_client_side, Ha…
40 int unit_is_masked(sd_bus *bus, LookupPaths *lp, const char *name);
41 int unit_exists(LookupPaths *lp, const char *unit);
Dsystemctl-edit.c27 _cleanup_(lookup_paths_free) LookupPaths lp = {}; in verb_cat()
208 const LookupPaths *paths, in get_file_to_edit()
241 const LookupPaths *paths, in unit_file_create_new()
272 const LookupPaths *paths, in unit_file_create_copy()
379 _cleanup_(lookup_paths_free) LookupPaths lp = {}; in find_paths_to_edit()
498 _cleanup_(lookup_paths_free) LookupPaths lp = {}; in verb_edit()
Dsystemctl-util.c386 int unit_file_find_path(LookupPaths *lp, const char *unit_name, char **ret_unit_path) { in unit_file_find_path()
421 LookupPaths *lp, in unit_find_paths()
558 LookupPaths *lp, in unit_find_template_path()
600 int unit_is_masked(sd_bus *bus, LookupPaths *lp, const char *name) { in unit_is_masked()
625 int unit_exists(LookupPaths *lp, const char *unit) { in unit_exists()
Dsystemctl-sysv-compat.c114 _cleanup_(lookup_paths_free) LookupPaths paths = {}; in enable_sysv_units()
Dsystemctl-enable.c142 _cleanup_(lookup_paths_free) LookupPaths lp = {}; in verb_enable()
/systemd-251/src/core/
Dgenerator-setup.h6 int lookup_paths_mkdir_generator(LookupPaths *p);
7 void lookup_paths_trim_generator(LookupPaths *p);
8 void lookup_paths_flush_generator(LookupPaths *p);
Dgenerator-setup.c10 int lookup_paths_mkdir_generator(LookupPaths *p) { in lookup_paths_mkdir_generator()
31 void lookup_paths_trim_generator(LookupPaths *p) { in lookup_paths_trim_generator()
44 void lookup_paths_flush_generator(LookupPaths *p) { in lookup_paths_flush_generator()
Dmanager.h239 LookupPaths lookup_paths;
/systemd-251/src/test/
Dtest-path-lookup.c16 _cleanup_(lookup_paths_free) LookupPaths lp_without_env = {}; in test_paths_one()
17 _cleanup_(lookup_paths_free) LookupPaths lp_with_env = {}; in test_paths_one()
43 _cleanup_(lookup_paths_free) LookupPaths lp_global = {}, lp_user = {}; in TEST()
Dtest-unit-file.c28 _cleanup_(lookup_paths_free) LookupPaths lp = {}; in TEST()
/systemd-251/src/analyze/
Danalyze-unit-paths.c9 _cleanup_(lookup_paths_free) LookupPaths paths = {}; in verb_unit_paths()
Danalyze-unit-files.c18 _cleanup_(lookup_paths_free) LookupPaths lp = {}; in verb_unit_files()
/systemd-251/src/sysv-generator/
Dsysv-generator.c707 static int enumerate_sysv(const LookupPaths *lp, Hashmap *all_services) { in enumerate_sysv()
788 static int set_dependencies_from_rcnd(const LookupPaths *lp, Hashmap *all_services) { in set_dependencies_from_rcnd()
888 _cleanup_(lookup_paths_free) LookupPaths lp = {}; in run()
/systemd-251/src/portable/
Dportable.c180 _cleanup_(lookup_paths_free) LookupPaths paths = {}; in extract_now()
1074 static const char *attached_path(const LookupPaths *paths, PortableFlags flags) { in attached_path()
1089 const LookupPaths *paths, in attach_unit_file()
1287 _cleanup_(lookup_paths_free) LookupPaths paths = {}; in portable_attach()
1537 _cleanup_(lookup_paths_free) LookupPaths paths = {}; in portable_detach()
1715 _cleanup_(lookup_paths_free) LookupPaths paths = {}; in portable_get_state_internal()
/systemd-251/src/libsystemd/sd-path/
Dsd-path.c603 _cleanup_(lookup_paths_free) LookupPaths lp = {}; in get_search()