Home
last modified time | relevance | path

Searched refs:sd_bus_slot (Results 1 – 25 of 27) sorted by relevance

12

/systemd-251/src/libsystemd/sd-bus/
Dbus-slot.c11 sd_bus_slot *bus_slot_allocate( in bus_slot_allocate()
18 sd_bus_slot *slot; in bus_slot_allocate()
22 slot = malloc0(offsetof(sd_bus_slot, reply_callback) + extra); in bus_slot_allocate()
40 void bus_slot_disconnect(sd_bus_slot *slot, bool unref) { in bus_slot_disconnect()
179 static sd_bus_slot* bus_slot_free(sd_bus_slot *slot) { in bus_slot_free()
191 DEFINE_PUBLIC_TRIVIAL_REF_UNREF_FUNC(sd_bus_slot, sd_bus_slot, bus_slot_free);
193 _public_ sd_bus* sd_bus_slot_get_bus(sd_bus_slot *slot) { in sd_bus_slot_get_bus()
199 _public_ void *sd_bus_slot_get_userdata(sd_bus_slot *slot) { in sd_bus_slot_get_userdata()
205 _public_ void *sd_bus_slot_set_userdata(sd_bus_slot *slot, void *userdata) { in sd_bus_slot_set_userdata()
216 _public_ int sd_bus_slot_set_destroy_callback(sd_bus_slot *slot, sd_bus_destroy_t callback) { in sd_bus_slot_set_destroy_callback()
[all …]
Dbus-internal.h42 sd_bus_slot *install_slot; /* The AddMatch() call */
128 struct sd_bus_slot { struct
148 LIST_FIELDS(sd_bus_slot, slots); argument
304 sd_bus_slot *current_slot;
315 LIST_HEAD(sd_bus_slot, slots);
Dbus-objects.c22 sd_bus_slot *s; in node_vtable_get_userdata()
30 s = container_of(c, sd_bus_slot, node_vtable); in node_vtable_get_userdata()
112 sd_bus_slot *slot; in add_enumerated_to_set()
117 slot = container_of(c, sd_bus_slot, node_enumerator); in add_enumerated_to_set()
258 sd_bus_slot *slot; in node_callbacks_run()
277 slot = container_of(c, sd_bus_slot, node_callback); in node_callbacks_run()
399 sd_bus_slot *slot; in method_callbacks_run()
401 slot = container_of(c->parent, sd_bus_slot, node_vtable); in method_callbacks_run()
424 sd_bus_slot *slot, in invoke_property_get()
489 sd_bus_slot *slot, in invoke_property_set()
[all …]
Dbus-slot.h8 sd_bus_slot *bus_slot_allocate(sd_bus *bus, bool floating, BusSlotType type, size_t extra, void *us…
10 void bus_slot_disconnect(sd_bus_slot *slot, bool unref);
Dtest-bus-match.c39 static int match_add(sd_bus_slot *slots, struct bus_match_node *root, const char *match, int value)… in match_add()
42 sd_bus_slot *s; in match_add()
76 sd_bus_slot slots[19] = {}; in main()
Dsd-bus.c164 sd_bus_slot *s; in bus_free()
2239 sd_bus_slot **slot, in sd_bus_call_async()
2246 _cleanup_(sd_bus_slot_unrefp) sd_bus_slot *s = NULL; in sd_bus_call_async()
2615 sd_bus_slot *slot; in process_timeout()
2651 slot = container_of(c, sd_bus_slot, reply_callback); in process_timeout()
2705 sd_bus_slot *slot; in process_reply()
2724 slot = container_of(c, sd_bus_slot, reply_callback); in process_reply()
2795 sd_bus_slot *slot; in process_filter()
2810 slot = container_of(l, sd_bus_slot, filter_callback); in process_filter()
3070 sd_bus_slot *slot; in process_closing_reply_callback()
[all …]
Dbus-control.h7 int bus_add_match_internal_async(sd_bus *bus, sd_bus_slot **ret, const char *match, sd_bus_message_…
Dbus-convenience.c69 sd_bus_slot **slot, in sd_bus_call_method_asyncv()
103 sd_bus_slot **slot, in sd_bus_call_method_async()
748 sd_bus_slot **ret, in sd_bus_match_signal()
773 sd_bus_slot **ret, in sd_bus_match_signal_async()
Dfuzz-bus-match.c35 sd_bus_slot slot = { in LLVMFuzzerTestOneInput()
Dbus-control.c184 sd_bus_slot **ret_slot, in sd_bus_request_name_async()
333 sd_bus_slot **ret_slot, in sd_bus_release_name_async()
841 sd_bus_slot **ret_slot, in bus_add_match_internal_async()
Dbus-match.c306 sd_bus_slot *slot; in bus_match_run()
308 slot = container_of(node->leaf.callback, sd_bus_slot, match_callback); in bus_match_run()
1027 container_of(node->leaf.callback, sd_bus_slot, match_callback)->userdata); in bus_match_dump()
Dbus-track.c13 sd_bus_slot *slot;
/systemd-251/src/systemd/
Dsd-bus.h41 typedef struct sd_bus_slot sd_bus_slot; typedef
203 int sd_bus_call_async(sd_bus *bus, sd_bus_slot **slot, sd_bus_message *m, sd_bus_message_handler_t …
214 sd_bus_slot* sd_bus_get_current_slot(sd_bus *bus);
229 int sd_bus_add_filter(sd_bus *bus, sd_bus_slot **slot, sd_bus_message_handler_t callback, void *use…
230 int sd_bus_add_match(sd_bus *bus, sd_bus_slot **slot, const char *match, sd_bus_message_handler_t c…
231 int sd_bus_add_match_async(sd_bus *bus, sd_bus_slot **slot, const char *match, sd_bus_message_handl…
232 int sd_bus_add_object(sd_bus *bus, sd_bus_slot **slot, const char *path, sd_bus_message_handler_t c…
233 int sd_bus_add_fallback(sd_bus *bus, sd_bus_slot **slot, const char *prefix, sd_bus_message_handler…
234 int sd_bus_add_object_vtable(sd_bus *bus, sd_bus_slot **slot, const char *path, const char *interfa…
235 int sd_bus_add_fallback_vtable(sd_bus *bus, sd_bus_slot **slot, const char *prefix, const char *int…
[all …]
/systemd-251/src/shared/
Dbus-locator.h25 int bus_call_method_async(sd_bus *bus, sd_bus_slot **slot, const BusLocator *locator, const char *m…
32 int bus_match_signal(sd_bus *bus, sd_bus_slot **ret, const BusLocator *locator, const char *member,…
33 int bus_match_signal_async(sd_bus *bus, sd_bus_slot **ret, const BusLocator *locator, const char *m…
Dbus-locator.c70 sd_bus_slot **slot, in bus_call_method_async()
179 sd_bus_slot **ret, in bus_match_signal()
192 sd_bus_slot **ret, in bus_match_signal_async()
Dbus-wait-for-units.c18 sd_bus_slot *slot_get_all;
19 sd_bus_slot *slot_properties_changed;
31 sd_bus_slot *slot_disconnected;
Dbus-wait-for-jobs.c22 sd_bus_slot *slot_job_removed;
23 sd_bus_slot *slot_disconnected;
Dbus-polkit.c162 sd_bus_slot *slot;
/systemd-251/src/test/
Dtest-bus-util.c19 sd_bus_slot *slot = NULL; in TEST()
/systemd-251/src/systemctl/
Dsystemctl-is-system-running.c28 _cleanup_(sd_bus_slot_unrefp) sd_bus_slot *slot_startup_finished = NULL; in verb_is_system_running()
/systemd-251/src/core/
Dservice.h198 sd_bus_slot *bus_name_pid_lookup_slot;
Dunit.h183 sd_bus_slot *match_bus_slot;
184 sd_bus_slot *get_name_owner_slot;
/systemd-251/src/timedate/
Dtimedated.c64 sd_bus_slot *slot_job_removed;
919 _cleanup_(sd_bus_slot_unrefp) sd_bus_slot *slot = NULL; in method_set_ntp()
/systemd-251/src/hostname/
Dhostnamed.c751 sd_bus_slot *slot; in property_get_machine_info_field()
780 sd_bus_slot *slot; in property_get_os_release_field()
/systemd-251/src/machine/
Dmachinectl.c1294 _cleanup_(sd_bus_slot_unrefp) sd_bus_slot *slot = NULL; in login_machine()
1348 _cleanup_(sd_bus_slot_unrefp) sd_bus_slot *slot = NULL; in shell_machine()
1775 … _cleanup_(sd_bus_slot_unrefp) sd_bus_slot *slot_job_removed = NULL, *slot_log_message = NULL; in transfer_image_common()

12