Searched refs:paths (Results 1 - 19 of 19) sorted by relevance

/systemd/src/core/
H A Dload-dropin.h27 static inline int unit_find_dropin_paths(Unit *u, char ***paths) { argument
31 paths);
H A Dmanager.c2539 /* Find new unit paths */
2801 _cleanup_strv_free_ char **paths = NULL; local
2811 paths = generator_paths(m->running_as);
2812 if (!paths)
2817 STRV_FOREACH(path, paths) {
2846 execute_directories((const char* const*) paths, DEFAULT_TIMEOUT_USEC, (char**) argv);
/systemd/src/boot/efi/
H A Ddisk.c27 EFI_DEVICE_PATH *path, *paths; local
29 paths = UnpackDevicePath(device_path);
30 for (path = paths; !IsDevicePathEnd(path); path = NextDevicePathNode(path)) {
45 FreePool(paths);
/systemd/src/test/
H A Dtest-path-lookup.c58 _cleanup_strv_free_ char **paths; local
63 paths = generator_paths(running_as);
64 STRV_FOREACH(dir, paths)
/systemd/src/shared/
H A Dinstall.c1043 const LookupPaths *paths,
1052 assert(paths);
1063 STRV_FOREACH(p, paths->unit_path) {
1093 STRV_FOREACH(p, paths->unit_path) {
1147 const LookupPaths *paths,
1156 assert(paths);
1160 r = unit_file_search(c, start, paths, root_dir, flags);
1208 r = unit_file_search(c, i, paths, root_dir, flags);
1226 const LookupPaths *paths,
1235 assert(paths);
1040 unit_file_search( InstallContext *c, UnitFileInstallInfo *info, const LookupPaths *paths, const char *root_dir, SearchFlags flags) argument
1143 install_info_traverse( UnitFileScope scope, InstallContext *c, const char *root_dir, const LookupPaths *paths, UnitFileInstallInfo *start, SearchFlags flags, UnitFileInstallInfo **ret) argument
1222 install_info_discover( UnitFileScope scope, InstallContext *c, const char *root_dir, const LookupPaths *paths, const char *name, SearchFlags flags, UnitFileInstallInfo **ret) argument
1334 install_info_symlink_link( UnitFileInstallInfo *i, const LookupPaths *paths, const char *config_path, const char *root_dir, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1362 install_info_apply( UnitFileInstallInfo *i, const LookupPaths *paths, const char *config_path, const char *root_dir, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1397 install_context_apply( UnitFileScope scope, InstallContext *c, const LookupPaths *paths, const char *config_path, const char *root_dir, bool force, SearchFlags flags, UnitFileChange **changes, unsigned *n_changes) argument
1449 install_context_mark_for_removal( UnitFileScope scope, InstallContext *c, const LookupPaths *paths, Set **remove_symlinks_to, const char *config_path, const char *root_dir) argument
1628 _cleanup_lookup_paths_free_ LookupPaths paths = {}; local
1716 _cleanup_lookup_paths_free_ LookupPaths paths = {}; local
1791 _cleanup_lookup_paths_free_ LookupPaths paths = {}; local
1839 _cleanup_lookup_paths_free_ LookupPaths paths = {}; local
1913 _cleanup_lookup_paths_free_ LookupPaths paths = {}; local
1957 _cleanup_lookup_paths_free_ LookupPaths paths = {}; local
1989 unit_file_lookup_state( UnitFileScope scope, const char *root_dir, const LookupPaths *paths, const char *name, UnitFileState *ret) argument
2054 _cleanup_lookup_paths_free_ LookupPaths paths = {}; local
2161 execute_preset( UnitFileScope scope, InstallContext *plus, InstallContext *minus, const LookupPaths *paths, const char *config_path, const char *root_dir, char **files, UnitFilePresetMode mode, bool force, UnitFileChange **changes, unsigned *n_changes) argument
2208 preset_prepare_one( UnitFileScope scope, InstallContext *plus, InstallContext *minus, LookupPaths *paths, const char *root_dir, UnitFilePresetMode mode, const char *name) argument
2252 _cleanup_lookup_paths_free_ LookupPaths paths = {}; local
2295 _cleanup_lookup_paths_free_ LookupPaths paths = {}; local
2376 _cleanup_lookup_paths_free_ LookupPaths paths = {}; local
[all...]
H A Ddropin.h61 char ***paths);
H A Dpath-lookup.h55 int lookup_paths_init_from_scope(LookupPaths *paths,
H A Ddropin.c225 char ***paths) {
232 assert(paths);
248 *paths = ans;
221 unit_file_find_dropin_paths( char **lookup_path, Set *unit_path_cache, Set *names, char ***paths) argument
H A Dpath-lookup.c427 int lookup_paths_init_from_scope(LookupPaths *paths, argument
430 assert(paths);
434 zero(*paths);
436 return lookup_paths_init(paths,
H A Dinstall.h138 int unit_file_lookup_state(UnitFileScope scope, const char *root_dir,const LookupPaths *paths, const char *name, UnitFileState *ret);
/systemd/src/systemd/
H A Dsd-path.h74 /* Search paths */
87 int sd_path_search(uint64_t type, const char *suffix, char ***paths);
H A Dsd-journal.h87 int sd_journal_open_files(sd_journal **ret, const char **paths, int flags);
/systemd/src/libsystemd/sd-path/
H A Dsd-path.c564 _public_ int sd_path_search(uint64_t type, const char *suffix, char ***paths) { argument
568 assert_return(paths, -EINVAL);
594 *paths = l;
603 *paths = l;
631 *paths = n;
/systemd/src/basic/
H A Dpath-util.h57 bool paths_check_timestamp(const char* const* paths, usec_t *paths_ts_usec, bool update);
H A Dpath-util.c518 bool paths_check_timestamp(const char* const* paths, usec_t *timestamp, bool update) { argument
524 if (paths == NULL)
527 STRV_FOREACH(i, paths) {
642 * parsers, to handle paths that are passed in. It makes the
791 /* Returns true on paths that refer to a device, either in
/systemd/src/fstab-generator/
H A Dfstab-generator.c205 _cleanup_strv_free_ char **paths = NULL; local
212 r = fstab_extract_values(opts, "x-systemd.requires-mounts-for", &paths);
218 res = strv_join(paths, " ");
/systemd/src/libsystemd/sd-bus/
H A Dbusctl.c318 Set *paths = userdata; local
321 assert(paths);
323 r = set_put_strdup(paths, path);
330 static int find_nodes(sd_bus *bus, const char *service, const char *path, Set *paths, bool many) { argument
353 return parse_xml_introspect(path, xml, &ops, paths);
357 _cleanup_set_free_free_ Set *paths = NULL, *done = NULL, *failed = NULL; local
362 paths = set_new(&string_hash_ops);
363 if (!paths)
378 r = set_put(paths, m);
388 p = set_steal_first(paths);
[all...]
/systemd/src/systemctl/
H A Dsystemctl.c4754 return log_error_errno(r, "Failed to query unit lookup paths: %m");
5205 _cleanup_lookup_paths_free_ LookupPaths paths = {}; local
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) { argument
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) { argument
6066 assert(paths);
6104 _cleanup_strv_free_ char **paths = NULL; local
[all...]
/systemd/src/journal/
H A Dsd-journal.c1747 _public_ int sd_journal_open_files(sd_journal **ret, const char **paths, int flags) { argument
1759 STRV_FOREACH(path, paths) {

Completed in 112 milliseconds