/systemd/src/libsystemd/sd-bus/ |
H A D | test-bus-cleanup.c | 22 #include "sd-bus.h" 24 #include "bus-internal.h" 25 #include "bus-message.h" 26 #include "bus-util.h" 30 _cleanup_(sd_bus_unrefp) sd_bus *bus = NULL; 32 assert_se(sd_bus_new(&bus) == 0); 33 printf("after new: refcount %u\n", REFCNT_GET(bus->n_ref)); 37 _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL; 40 r = sd_bus_open_system(&bus); 45 printf("after open: refcount %u\n", REFCNT_GET(bus 51 sd_bus *bus = NULL; local 65 sd_bus *bus = NULL; local [all...] |
H A D | test-bus-introspect.c | 20 #include "bus-introspect.h" 23 static int prop_get(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) { argument 27 static int prop_set(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) { argument
|
H A D | bus-introspect.c | 20 #include "bus-internal.h" 21 #include "bus-introspect.h" 22 #include "bus-protocol.h" 23 #include "bus-signature.h" 177 int introspect_finish(struct introspect *i, sd_bus *bus, sd_bus_message *m, sd_bus_message **reply) { argument
|
H A D | bus-slot.c | 20 #include "sd-bus.h" 23 #include "bus-control.h" 24 #include "bus-objects.h" 25 #include "bus-slot.h" 29 sd_bus *bus, 37 assert(bus); 45 slot->bus = bus; 50 sd_bus_ref(bus); 52 LIST_PREPEND(slots, bus 28 bus_slot_allocate( sd_bus *bus, bool floating, BusSlotType type, size_t extra, void *userdata) argument 69 sd_bus *bus; local [all...] |
H A D | test-bus-server.c | 23 #include "sd-bus.h" 25 #include "bus-internal.h" 26 #include "bus-util.h" 43 sd_bus *bus = NULL; local 50 assert_se(sd_bus_new(&bus) >= 0); 51 assert_se(sd_bus_set_fd(bus, c->fds[0], c->fds[0]) >= 0); 52 assert_se(sd_bus_set_server(bus, 1, id) >= 0); 53 assert_se(sd_bus_set_anonymous(bus, c->server_anonymous_auth) >= 0); 54 assert_se(sd_bus_negotiate_fds(bus, c->server_negotiate_unix_fds) >= 0); 55 assert_se(sd_bus_start(bus) > [all...] |
H A D | test-bus-chat.c | 25 #include "sd-bus.h" 28 #include "bus-error.h" 29 #include "bus-internal.h" 30 #include "bus-match.h" 31 #include "bus-util.h" 63 sd_bus *bus = NULL; local 70 r = sd_bus_open_user(&bus); 72 log_error_errno(r, "Failed to connect to user bus: %m"); 76 r = sd_bus_get_bus_id(bus, &id); 82 r = sd_bus_get_unique_name(bus, 126 server(sd_bus *bus) argument 522 sd_bus *bus; local [all...] |
/systemd/src/machine/ |
H A D | machined.h | 24 #include "sd-bus.h" 38 sd_bus *bus; member in struct:Manager
|
H A D | image-dbus.c | 21 #include "bus-label.h" 22 #include "bus-util.h" 254 int image_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { argument 261 assert(bus); 326 int image_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { argument 333 assert(bus);
|
/systemd/src/core/ |
H A D | dbus-path.c | 20 #include "bus-util.h" 29 sd_bus *bus, 41 assert(bus); 59 sd_bus *bus, 69 assert(bus); 28 property_get_paths( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 58 property_get_unit( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
|
H A D | dbus-job.c | 20 #include "sd-bus.h" 34 sd_bus *bus, 45 assert(bus); 93 static int send_new_signal(sd_bus *bus, void *userdata) { argument 99 assert(bus); 107 bus, 119 return sd_bus_send(bus, m, NULL); 122 static int send_changed_signal(sd_bus *bus, void *userdata) { argument 126 assert(bus); 133 return sd_bus_emit_properties_changed(bus, 33 property_get_unit( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 153 send_removed_signal(sd_bus *bus, void *userdata) argument [all...] |
H A D | dbus-swap.c | 21 #include "bus-util.h" 30 sd_bus *bus, 41 assert(bus); 56 sd_bus *bus, 67 assert(bus); 29 property_get_priority( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 55 property_get_options( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
|
H A D | dbus-mount.c | 20 #include "bus-util.h" 30 sd_bus *bus, 41 assert(bus); 56 sd_bus *bus, 67 assert(bus); 82 sd_bus *bus, 93 assert(bus); 29 property_get_what( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 55 property_get_options( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 81 property_get_type( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
|
H A D | dbus-socket.c | 21 #include "bus-util.h" 33 sd_bus *bus, 46 assert(bus); 89 sd_bus *bus, 99 assert(bus); 32 property_get_listen( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 88 property_get_fdname( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
|
H A D | dbus-cgroup.c | 21 #include "bus-util.h" 32 sd_bus *bus, 44 assert(bus); 62 sd_bus *bus, 74 assert(bus); 96 sd_bus *bus, 108 assert(bus); 31 property_get_blockio_device_weight( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 61 property_get_blockio_device_bandwidths( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 95 property_get_device_allow( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
|
H A D | dbus-timer.c | 21 #include "bus-util.h" 30 sd_bus *bus, 42 assert(bus); 79 sd_bus *bus, 91 assert(bus); 118 sd_bus *bus, 128 assert(bus); 138 sd_bus *bus, 149 assert(bus); 29 property_get_monotonic_timers( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 78 property_get_calendar_timers( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 117 property_get_unit( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 137 property_get_next_elapse_monotonic( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
|
/systemd/src/login/ |
H A D | test-inhibit.c | 22 #include "sd-bus.h" 24 #include "bus-util.h" 29 static int inhibit(sd_bus *bus, const char *what) { argument 36 r = sd_bus_call_method(bus, 53 static void print_inhibitors(sd_bus *bus) { argument 61 r = sd_bus_call_method(bus, 86 _cleanup_(sd_bus_unrefp) sd_bus *bus = NULL; 90 r = sd_bus_open_system(&bus); 93 print_inhibitors(bus); 95 fd1 = inhibit(bus, "slee [all...] |
H A D | inhibit.c | 26 #include "sd-bus.h" 29 #include "bus-error.h" 30 #include "bus-util.h" 49 static int inhibit(sd_bus *bus, sd_bus_error *error) { argument 55 bus, 77 static int print_inhibitors(sd_bus *bus, sd_bus_error *error) { argument 85 bus, 225 _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL; 237 r = sd_bus_default_system(&bus); 239 log_error_errno(r, "Failed to connect to bus [all...] |
H A D | logind-user-dbus.c | 24 #include "bus-util.h" 32 sd_bus *bus, 43 assert(bus); 55 sd_bus *bus, 65 assert(bus); 73 sd_bus *bus, 85 assert(bus); 110 sd_bus *bus, 120 assert(bus); 128 sd_bus *bus, 31 property_get_display( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 54 property_get_state( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 72 property_get_sessions( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 109 property_get_idle_hint( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 127 property_get_idle_since_hint( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 150 property_get_linger( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 259 user_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) argument 315 user_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) argument [all...] |
/systemd/src/network/ |
H A D | networkd.h | 24 #include "sd-bus.h" 43 sd_bus *bus; member in struct:Manager
|
H A D | networkd-link-bus.c | 21 #include "bus-util.h" 57 int link_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { argument 64 assert(bus); 90 int link_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { argument 96 assert(bus); 126 if (!link->manager->bus) 136 link->manager->bus,
|
H A D | networkd-network-bus.c | 26 sd_bus *bus, 38 assert(bus); 101 int network_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { argument 107 assert(bus); 130 int network_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { argument 136 assert(bus); 25 property_get_ether_addrs( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
|
/systemd/src/resolve/ |
H A D | test-dnssec-complex.c | 22 #include "sd-bus.h" 26 #include "bus-common-errors.h" 55 static void test_rr_lookup(sd_bus *bus, const char *name, uint16_t type, const char *result) { argument 68 bus, 77 r = sd_bus_call(bus, req, DNS_CALL_TIMEOUT_USEC, &error, &reply); 89 static void test_hostname_lookup(sd_bus *bus, const char *name, int family, const char *result) { argument 105 bus, 114 r = sd_bus_call(bus, req, DNS_CALL_TIMEOUT_USEC, &error, &reply); 128 _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL; 137 assert_se(sd_bus_open_system(&bus) > [all...] |
/systemd/src/update-utmp/ |
H A D | update-utmp.c | 28 #include "sd-bus.h" 31 #include "bus-error.h" 32 #include "bus-util.h" 42 sd_bus *bus; member in struct:Context 56 c->bus, 100 c->bus, 253 r = bus_connect_system_systemd(&c.bus); 281 sd_bus_flush_close_unref(c.bus);
|
/systemd/src/initctl/ |
H A D | initctl.c | 26 #include "sd-bus.h" 30 #include "bus-error.h" 31 #include "bus-util.h" 52 sd_bus *bus; member in struct:Server 123 s->bus, 160 /* The bus connection will be 254 if (s->bus) { 255 sd_bus_flush(s->bus); 256 sd_bus_unref(s->bus); 320 r = bus_connect_system_systemd(&s->bus); [all...] |
/systemd/src/bus-proxyd/ |
H A D | driver.c | 26 #include "sd-bus.h" 29 #include "bus-internal.h" 30 #include "bus-message.h" 31 #include "bus-util.h" 40 static int get_creds_by_name(sd_bus *bus, const char *name, uint64_t mask, sd_bus_creds **_creds, sd_bus_error *error) { argument 44 assert(bus); 48 r = sd_bus_get_name_creds(bus, name, mask, &c); 60 static int get_creds_by_message(sd_bus *bus, sd_bus_message *m, uint64_t mask, sd_bus_creds **_creds, sd_bus_error *error) { argument 64 assert(bus); 72 return get_creds_by_name(bus, nam [all...] |