Lines Matching defs:units
361 log_error("Failed to list units: %s", bus_error_message(&error, -r));
813 static int list_dependencies_one(sd_bus *bus, const char *name, unsigned int level, char ***units,
823 if (strv_extend(units, name))
874 if (strv_contains(*units, *c)) {
882 r = list_dependencies_one(bus, *c, level + 1, units,
894 _cleanup_strv_free_ char **units = NULL;
944 return list_dependencies_one(bus, name, 0, &units, 0);
1022 _cleanup_strv_free_ char **units = NULL;
1038 r = bus_get_unit_property_strv(bus, u->unit_path, prop, &units);
1042 STRV_FOREACH(unit, units) {
1164 log_error("Failed to list units: %s", bus_error_message(&error, -r));
1307 " blame Print list of running units ordered by time to init\n"
1308 " critical-chain Print a tree of the time critical chain of units\n"