Searched refs:unit_path (Results 1 - 15 of 15) sorted by relevance

/systemd/src/core/
H A Dload-dropin.h28 return unit_file_find_dropin_paths(u->manager->lookup_paths.unit_path,
H A Dload-dropin.c58 STRV_FOREACH(p, u->manager->lookup_paths.unit_path) {
H A Ddbus-manager.c894 _cleanup_free_ char *unit_path = NULL, *job_path = NULL; local
908 unit_path = unit_dbus_path(u);
909 if (!unit_path)
926 unit_path,
981 _cleanup_free_ char *unit_path = NULL, *job_path = NULL; local
987 unit_path = unit_dbus_path(j->unit);
988 if (!unit_path)
998 unit_path);
1927 SD_BUS_PROPERTY("UnitPath", "as", NULL, offsetof(Manager, lookup_paths.unit_path), SD_BUS_VTABLE_PROPERTY_CONST),
H A Dmanager.c1056 STRV_FOREACH(i, m->lookup_paths.unit_path) {
2862 strv_remove(m->lookup_paths.unit_path, *generator);
H A Dload-fragment.c3659 STRV_FOREACH(p, u->manager->lookup_paths.unit_path) {
/systemd/src/test/
H A Dtest-path-lookup.c44 assert_se(!strv_isempty(lp_without_env.unit_path));
45 assert_se(strv_contains(lp_without_env.unit_path, exists));
46 assert_se(strv_contains(lp_without_env.unit_path, not));
51 assert_se(strv_length(lp_with_env.unit_path) == 1);
52 assert_se(streq(lp_with_env.unit_path[0], systemd_unit_path));
/systemd/src/shared/
H A Dpath-lookup.c265 r = path_split_and_make_absolute(e, &p->unit_path);
269 p->unit_path = NULL;
271 if (!p->unit_path || append) {
274 _cleanup_strv_free_ char **unit_path; local
284 unit_path = user_dirs(generator, generator_early, generator_late);
286 unit_path = strv_new(
303 unit_path = strv_new(
320 if (!unit_path)
323 r = strv_extend_strv(&p->unit_path, unit_path, fals
[all...]
H A Ddropin.h49 const char *unit_path,
H A Dpath-lookup.h26 char **unit_path; member in struct:LookupPaths
H A Ddropin.c180 const char *unit_path,
191 assert(unit_path);
195 path = strjoin(unit_path, "/", name, suffix, NULL);
210 p = strjoin(unit_path, "/", template, suffix, NULL);
178 unit_file_process_dir( Set *unit_path_cache, const char *unit_path, const char *name, const char *suffix, UnitDependency dependency, dependency_consumer_t consumer, void *arg, char ***strv) argument
H A Dbus-util.h137 const char *unit_path; member in struct:UnitInfo
H A Dinstall.c1063 STRV_FOREACH(p, paths->unit_path) {
1093 STRV_FOREACH(p, paths->unit_path) {
1351 r = in_search_path(i->path, paths->unit_path);
1675 q = in_search_path(*i, paths.unit_path);
2316 STRV_FOREACH(i, paths.unit_path) {
2392 STRV_FOREACH(i, paths.unit_path) {
H A Dbus-util.c1391 &u->unit_path,
/systemd/src/analyze/
H A Danalyze.c384 if (bus_get_uint64_property(bus, u.unit_path,
388 bus_get_uint64_property(bus, u.unit_path,
392 bus_get_uint64_property(bus, u.unit_path,
396 bus_get_uint64_property(bus, u.unit_path,
1038 r = bus_get_unit_property_strv(bus, u->unit_path, prop, &units);
/systemd/src/systemctl/
H A Dsystemctl.c723 const char* unit_path,
734 unit_path,
910 r = get_triggered_units(bus, u->unit_path, &triggered);
914 c = get_listening(bus, u->unit_path, &listening);
1220 r = get_triggered_units(bus, u->unit_path, &triggered);
1224 r = get_next_elapse(bus, u->unit_path, &next);
1228 get_last_trigger(bus, u->unit_path, &last);
2131 const char *name, *type, *state, *job_path, *unit_path; local
2162 while ((r = sd_bus_message_read(reply, "(usssoo)", &id, &name, &type, &state, &job_path, &unit_path)) > 0) {
2277 static int unit_file_find_path(LookupPaths *lp, const char *unit_name, char **unit_path) { argument
721 get_listening( sd_bus *bus, const char* unit_path, char*** listening) argument
[all...]

Completed in 2927 milliseconds