Home
last modified time | relevance | path

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

/systemd-251/src/systemctl/
Dsystemctl-log-setting.c39 _cleanup_free_ char *bus_name = NULL; in service_name_to_dbus() local
54 &bus_name); in service_name_to_dbus()
59 if (isempty(bus_name)) { in service_name_to_dbus()
65 *ret_dbus_name = TAKE_PTR(bus_name); in service_name_to_dbus()
/systemd-251/src/core/
Dservice.c384 if (s->bus_name) { in service_done()
385 unit_unwatch_bus_name(u, s->bus_name); in service_done()
386 s->bus_name = mfree(s->bus_name); in service_done()
608 if (s->type == SERVICE_DBUS && !s->bus_name) in service_verify()
711 if (!s->bus_name) in service_setup_bus_name()
725 r = unit_watch_bus_name(UNIT(s), s->bus_name); in service_setup_bus_name()
727 …o(UNIT(s), r, "Two services allocated for the same bus name %s, refusing operation.", s->bus_name); in service_setup_bus_name()
729 … return log_unit_error_errno(UNIT(s), r, "Cannot watch bus name %s: %m", s->bus_name); in service_setup_bus_name()
741 if (s->bus_name) in service_add_extras()
868 if (s->bus_name) in service_dump()
[all …]
Ddbus-service.c219 … SD_BUS_PROPERTY("BusName", "s", NULL, offsetof(Service, bus_name), SD_BUS_VTABLE_PROPERTY_CONST),
377 static BUS_DEFINE_SET_TRANSIENT_STRING_WITH_CHECK(bus_name, sd_bus_service_name_is_valid);
508 return bus_set_transient_bus_name(u, name, &s->bus_name, message, flags, error); in bus_service_set_transient_property()
Dservice.h186 char *bus_name; member
Dload-fragment-gperf.gperf.in417 …rse_bus_name, 0, offsetof(Service, bus_name)