Searched refs:bus_name (Results 1 - 10 of 10) sorted by relevance

/systemd/src/libsystemd/sd-bus/
H A Dtest-bus-kernel-bloom.c47 _cleanup_free_ char *name = NULL, *bus_name = NULL, *address = NULL; local
54 bus_ref = bus_kernel_create_bus(name, false, &bus_name);
60 address = strappend("kernel:path=", bus_name);
H A Dtest-bus-kernel.c34 _cleanup_free_ char *name = NULL, *bus_name = NULL, *address = NULL, *bname = NULL; local
46 bus_ref = bus_kernel_create_bus(name, false, &bus_name);
52 address = strappend("kernel:path=", bus_name);
H A Dbus-kernel.h73 int bus_kernel_create_endpoint(const char *bus_name, const char *ep_name, char **path);
H A Dtest-bus-zero-copy.c40 _cleanup_free_ char *name = NULL, *bus_name = NULL, *address = NULL; local
57 bus_ref = bus_kernel_create_bus(name, false, &bus_name);
63 address = strappend("kernel:path=", bus_name);
H A Dtest-bus-benchmark.c250 _cleanup_free_ char *name = NULL, *bus_name = NULL, *address = NULL, *server_name = NULL; local
281 bus_ref = bus_kernel_create_bus(name, false, &bus_name);
287 address = strappend("kernel:path=", bus_name);
H A Dbus-kernel.c1696 int bus_kernel_create_endpoint(const char *bus_name, const char *ep_name, char **ep_path) { argument
1703 fd = bus_kernel_open_bus_fd(bus_name, &path);
/systemd/src/core/
H A Dservice.h172 char *bus_name; member in struct:Service
H A Dservice.c317 if (s->bus_name) {
318 unit_unwatch_bus_name(u, s->bus_name);
319 s->bus_name = mfree(s->bus_name);
492 if (s->type == SERVICE_DBUS && !s->bus_name) {
497 if (s->bus_name && s->type != SERVICE_DBUS)
580 if (!s->bus_name)
586 n = strjoina(s->bus_name, ".busname");
603 r = unit_watch_bus_name(UNIT(s), s->bus_name);
605 return log_unit_error_errno(UNIT(s), r, "Two services allocated for the same bus name %s, refusing operation.", s->bus_name);
[all...]
H A Ddbus-service.c65 SD_BUS_PROPERTY("BusName", "s", NULL, offsetof(Service, bus_name), SD_BUS_VTABLE_PROPERTY_CONST),
H A Ddbus.c757 if (!streq_ptr(s->bus_name, name)) {
758 log_unit_warning(u, "Bus name has changed from %s → %s, ignoring.", s->bus_name, name);

Completed in 43 milliseconds