Home
last modified time | relevance | path

Searched refs:sd_bus (Results 1 – 25 of 212) sorted by relevance

123456789

/systemd-251/src/systemd/
Dsd-bus.h33 #define SD_BUS_DEFAULT ((sd_bus *) 1)
34 #define SD_BUS_DEFAULT_USER ((sd_bus *) 2)
35 #define SD_BUS_DEFAULT_SYSTEM ((sd_bus *) 3)
39 typedef struct sd_bus sd_bus; typedef
111 typedef int (*sd_bus_property_get_t) (sd_bus *bus, const char *path, const char *interface, const c…
112 typedef int (*sd_bus_property_set_t) (sd_bus *bus, const char *path, const char *interface, const c…
113 typedef int (*sd_bus_object_find_t) (sd_bus *bus, const char *path, const char *interface, void *us…
114 typedef int (*sd_bus_node_enumerator_t) (sd_bus *bus, const char *prefix, void *userdata, char ***r…
130 int sd_bus_default(sd_bus **ret);
131 int sd_bus_default_user(sd_bus **ret);
[all …]
/systemd-251/src/libsystemd/sd-bus/
Dbus-socket.h6 void bus_socket_setup(sd_bus *b);
8 int bus_socket_connect(sd_bus *b);
9 int bus_socket_exec(sd_bus *b);
10 int bus_socket_take_fd(sd_bus *b);
11 int bus_socket_start_auth(sd_bus *b);
13 int bus_socket_write_message(sd_bus *bus, sd_bus_message *m, size_t *idx);
14 int bus_socket_read_message(sd_bus *bus);
16 int bus_socket_process_opening(sd_bus *b);
17 int bus_socket_process_authenticating(sd_bus *b);
18 int bus_socket_process_watch_bind(sd_bus *b);
[all …]
Dbus-internal.h142 sd_bus *bus;
183 struct sd_bus { struct
308 sd_bus **default_bus_ptr; argument
369 sd_bus *bus_resolve(sd_bus *bus);
371 int bus_ensure_running(sd_bus *bus);
372 int bus_start_running(sd_bus *bus);
373 int bus_next_address(sd_bus *bus);
375 int bus_seal_synthetic_message(sd_bus *b, sd_bus_message *m);
377 int bus_rqueue_make_room(sd_bus *bus);
379 bool bus_pid_changed(sd_bus *bus);
[all …]
Dsd-bus.c64 static int bus_poll(sd_bus *bus, bool need_more, uint64_t timeout_usec);
65 static void bus_detach_io_events(sd_bus *b);
67 static thread_local sd_bus *default_system_bus = NULL;
68 static thread_local sd_bus *default_user_bus = NULL;
69 static thread_local sd_bus *default_starter_bus = NULL;
71 static sd_bus **bus_choose_default(int (**bus_open)(sd_bus **)) { in bus_choose_default() argument
116 sd_bus *bus_resolve(sd_bus *bus) { in bus_resolve()
129 void bus_close_io_fds(sd_bus *b) { in bus_close_io_fds()
139 void bus_close_inotify_fd(sd_bus *b) { in bus_close_inotify_fd()
149 static void bus_reset_queues(sd_bus *b) { in bus_reset_queues()
[all …]
Dbus-message.h62 sd_bus *bus;
182 sd_bus *bus,
195 sd_bus *bus,
218 int bus_message_new_synthetic_error(sd_bus *bus, uint64_t serial, const sd_bus_error *e, sd_bus_mes…
220 int bus_message_remarshal(sd_bus *bus, sd_bus_message **m);
222 void bus_message_set_sender_driver(sd_bus *bus, sd_bus_message *m);
223 void bus_message_set_sender_local(sd_bus *bus, sd_bus_message *m);
225 sd_bus_message* bus_message_ref_queued(sd_bus_message *m, sd_bus *bus);
226 sd_bus_message* bus_message_unref_queued(sd_bus_message *m, sd_bus *bus);
Dbus-socket.c110 bool bus_socket_auth_needs_write(sd_bus *b) { in bus_socket_auth_needs_write()
127 static int bus_socket_write_auth(sd_bus *b) { in bus_socket_write_auth()
158 static int bus_socket_auth_verify_client(sd_bus *b) { in bus_socket_auth_verify_client()
271 static int verify_anonymous_token(sd_bus *b, const char *p, size_t l) { in verify_anonymous_token()
298 static int verify_external_token(sd_bus *b, const char *p, size_t l) { in verify_external_token()
339 static int bus_socket_auth_write(sd_bus *b, const char *t) { in bus_socket_auth_write()
366 static int bus_socket_auth_write_ok(sd_bus *b) { in bus_socket_auth_write_ok()
376 static int bus_socket_auth_verify_server(sd_bus *b) { in bus_socket_auth_verify_server()
505 static int bus_socket_auth_verify(sd_bus *b) { in bus_socket_auth_verify()
514 static int bus_socket_read_auth(sd_bus *b) { in bus_socket_read_auth()
[all …]
Dbus-objects.c16 sd_bus *bus, in node_vtable_get_userdata()
73 sd_bus *bus, in vtable_property_get_userdata()
98 sd_bus *bus, in add_enumerated_to_set()
168 sd_bus *bus, in add_subtree_to_set()
216 sd_bus *bus, in get_child_nodes()
244 sd_bus *bus, in node_callbacks_run()
297 static int check_access(sd_bus *bus, sd_bus_message *m, struct vtable_member *c, sd_bus_error *erro… in check_access()
334 sd_bus *bus, in method_callbacks_run()
423 sd_bus *bus, in invoke_property_get()
488 sd_bus *bus, in invoke_property_set()
[all …]
Dbus-control.c23 _public_ int sd_bus_get_unique_name(sd_bus *bus, const char **unique) { in sd_bus_get_unique_name()
43 sd_bus *bus, in validate_request_name_parameters()
81 sd_bus *bus, in sd_bus_request_name()
183 sd_bus *bus, in sd_bus_request_name_async()
217 sd_bus *bus, in validate_release_name_parameters()
240 sd_bus *bus, in sd_bus_release_name()
332 sd_bus *bus, in sd_bus_release_name_async()
362 _public_ int sd_bus_list_names(sd_bus *bus, char ***acquired, char ***activatable) { in sd_bus_list_names()
425 sd_bus *bus, in sd_bus_get_name_creds()
725 _public_ int sd_bus_get_owner_creds(sd_bus *bus, uint64_t mask, sd_bus_creds **ret) { in sd_bus_get_owner_creds()
[all …]
/systemd-251/src/shared/
Dbus-util.h25 int bus_async_unregister_and_exit(sd_event *e, sd_bus *bus, const char *name);
29 int bus_event_loop_with_idle(sd_event *e, sd_bus *bus, const char *name, usec_t timeout, check_idle…
31 int bus_name_has_owner(sd_bus *c, const char *name, sd_bus_error *error);
34 int bus_check_peercred(sd_bus *c);
36 int bus_connect_system_systemd(sd_bus **_bus);
37 int bus_connect_user_systemd(sd_bus **_bus);
39 int bus_connect_transport(BusTransport transport, const char *host, bool user, sd_bus **bus);
40 int bus_connect_transport_systemd(BusTransport transport, const char *host, bool user, sd_bus **bus…
51 int bus_path_encode_unique(sd_bus *b, const char *prefix, const char *sender_id, const char *extern…
56 int bus_open_system_watch_bind_with_description(sd_bus **ret, const char *description);
[all …]
Dbus-locator.h25 int bus_call_method_async(sd_bus *bus, sd_bus_slot **slot, const BusLocator *locator, const char *m…
26 int bus_call_method(sd_bus *bus, const BusLocator *locator, const char *member, sd_bus_error *error…
27 int bus_get_property(sd_bus *bus, const BusLocator *locator, const char *member, sd_bus_error *erro…
28 int bus_get_property_trivial(sd_bus *bus, const BusLocator *locator, const char *member, sd_bus_err…
29 int bus_get_property_string(sd_bus *bus, const BusLocator *locator, const char *member, sd_bus_erro…
30 int bus_get_property_strv(sd_bus *bus, const BusLocator *locator, const char *member, sd_bus_error …
31 int bus_set_property(sd_bus *bus, const BusLocator *locator, const char *member, sd_bus_error *erro…
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…
34 int bus_message_new_method_call(sd_bus *bus, sd_bus_message **m, const BusLocator *locator, const c…
Dbus-get-properties.h8 int bus_property_get_bool(sd_bus *bus, const char *path, const char *interface, const char *propert…
9 int bus_property_set_bool(sd_bus *bus, const char *path, const char *interface, const char *propert…
10 int bus_property_get_id128(sd_bus *bus, const char *path, const char *interface, const char *proper…
26 int bus_property_get_size(sd_bus *bus, const char *path, const char *interface, const char *propert…
33 int bus_property_get_long(sd_bus *bus, const char *path, const char *interface, const char *propert…
34 int bus_property_get_ulong(sd_bus *bus, const char *path, const char *interface, const char *proper…
52 int bus_property_get_rlimit(sd_bus *bus, const char *path, const char *interface, const char *prope…
55 int function(sd_bus *bus, \
70 int function(sd_bus *bus, \
Dbus-locator.c69 sd_bus *bus, in bus_call_method_async()
90 sd_bus *bus, in bus_call_method()
110 sd_bus *bus, in bus_get_property()
123 sd_bus *bus, in bus_get_property_trivial()
135 sd_bus *bus, in bus_get_property_string()
147 sd_bus *bus, in bus_get_property_strv()
159 sd_bus *bus, in bus_set_property()
178 sd_bus *bus, in bus_match_signal()
191 sd_bus *bus, in bus_match_signal_async()
205 sd_bus *bus, in bus_message_new_method_call()
Dbus-log-control-api.h9 static inline int bus_log_control_api_register(sd_bus *bus) { in bus_log_control_api_register()
13 int bus_property_get_log_level(sd_bus *bus, const char *path, const char *interface, const char *pr…
14 int bus_property_set_log_level(sd_bus *bus, const char *path, const char *interface, const char *pr…
16 int bus_property_get_log_target(sd_bus *bus, const char *path, const char *interface, const char *p…
17 int bus_property_set_log_target(sd_bus *bus, const char *path, const char *interface, const char *p…
19 int bus_property_get_syslog_identifier(sd_bus *bus, const char *path, const char *interface, const …
Dbus-util.c55 int bus_async_unregister_and_exit(sd_event *e, sd_bus *bus, const char *name) { in bus_async_unregister_and_exit()
96 sd_bus *bus, in bus_event_loop_with_idle()
147 int bus_name_has_owner(sd_bus *c, const char *name, sd_bus_error *error) { in bus_name_has_owner()
180 int bus_check_peercred(sd_bus *c) { in bus_check_peercred()
200 int bus_connect_system_systemd(sd_bus **_bus) { in bus_connect_system_systemd()
201 _cleanup_(sd_bus_close_unrefp) sd_bus *bus = NULL; in bus_connect_system_systemd()
233 int bus_connect_user_systemd(sd_bus **_bus) { in bus_connect_user_systemd()
234 _cleanup_(sd_bus_close_unrefp) sd_bus *bus = NULL; in bus_connect_user_systemd()
274 sd_bus **ret) { in bus_connect_transport()
276 _cleanup_(sd_bus_close_unrefp) sd_bus *bus = NULL; in bus_connect_transport()
[all …]
Dbus-get-properties.c9 sd_bus *bus, in bus_property_get_bool()
23 sd_bus *bus, in bus_property_set_bool()
42 sd_bus *bus, in bus_property_get_id128()
60 sd_bus *bus, in bus_property_get_size()
76 sd_bus *bus, in bus_property_get_long()
90 sd_bus *bus, in bus_property_get_ulong()
105 sd_bus *bus, in bus_property_get_rlimit()
Dbus-map-properties.h6 typedef int (*bus_property_set_t) (sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error…
20 int bus_map_id128(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void *us…
21 int bus_map_strv_sort(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void…
24 int bus_map_all_properties(sd_bus *bus, const char *destination, const char *path, const struct bus…
/systemd-251/src/systemctl/
Dsystemctl-util.h16 int acquire_bus(BusFocus focus, sd_bus **ret);
24 int get_state_one_unit(sd_bus *bus, const char *name, UnitActiveState *ret_active_state);
25 int get_unit_list(sd_bus *bus, const char *machine, char **patterns, UnitInfo **unit_infos, int c, …
26 int expand_unit_names(sd_bus *bus, char **names, const char* suffix, char ***ret, bool *ret_expande…
28 int check_triggering_units(sd_bus *bus, const char *unit);
30 int need_daemon_reload(sd_bus *bus, const char *unit);
34 int append_unit_dependencies(sd_bus *bus, char **names, char ***ret);
35 int maybe_extend_with_unit_dependencies(sd_bus *bus, char ***list);
38 int unit_find_paths(sd_bus *bus, const char *unit_name, LookupPaths *lp, bool force_client_side, Ha…
40 int unit_is_masked(sd_bus *bus, LookupPaths *lp, const char *name);
[all …]
Dsystemctl-logind.c21 sd_bus *bus; in logind_set_wall_message()
64 sd_bus *bus; in logind_reboot()
113 sd_bus *bus; in logind_check_inhibitors()
226 sd_bus *bus; in prepare_firmware_setup()
251 sd_bus *bus; in prepare_boot_loader_menu()
276 sd_bus *bus; in prepare_boot_loader_entry()
299 sd_bus *bus; in logind_schedule_shutdown()
332 sd_bus *bus; in logind_cancel_shutdown()
356 sd_bus *bus; in logind_show_shutdown()
400 sd_bus *bus; in help_boot_loader_entry()
/systemd-251/src/network/
Dnetworkd-link-bus.h14 int link_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error…
15 int link_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **f…
19 int property_get_operational_state(sd_bus *bus, const char *path, const char *interface, const char…
20 int property_get_carrier_state(sd_bus *bus, const char *path, const char *interface, const char *pr…
21 int property_get_address_state(sd_bus *bus, const char *path, const char *interface, const char *pr…
22 int property_get_online_state(sd_bus *bus, const char *path, const char *interface, const char *pro…
/systemd-251/src/machine/
Dmachinectl.c98 static int call_get_os_release(sd_bus *bus, const char *method, const char *name, const char *query… in call_get_os_release()
160 sd_bus *bus, in call_get_addresses()
271 sd_bus *bus = userdata; in list_machines()
350 sd_bus *bus = userdata; in list_images()
407 static int show_unit_cgroup(sd_bus *bus, const char *unit, pid_t leader) { in show_unit_cgroup()
447 static int print_os_release(sd_bus *bus, const char *method, const char *name, const char *prefix) { in print_os_release()
465 static int print_uid_shift(sd_bus *bus, const char *name) { in print_uid_shift()
509 static void print_machine_status_info(sd_bus *bus, MachineStatusInfo *i) { in print_machine_status_info()
610 static int map_netif(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void … in map_netif()
631 static int show_machine_info(const char *verb, sd_bus *bus, const char *path, bool *new_line) { in show_machine_info()
[all …]
/systemd-251/src/core/
Ddbus.c49 static void destroy_bus(Manager *m, sd_bus **bus);
129 sd_bus *bus; in signal_disconnected()
277 static int find_unit(Manager *m, sd_bus *bus, const char *path, Unit **unit, sd_bus_error *error) { in find_unit()
316 static int bus_unit_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void… in bus_unit_find()
328 static int bus_unit_interface_find(sd_bus *bus, const char *path, const char *interface, void *user… in bus_unit_interface_find()
350 static int bus_unit_cgroup_find(sd_bus *bus, const char *path, const char *interface, void *userdat… in bus_unit_cgroup_find()
375 static int bus_cgroup_context_find(sd_bus *bus, const char *path, const char *interface, void *user… in bus_cgroup_context_find()
402 static int bus_exec_context_find(sd_bus *bus, const char *path, const char *interface, void *userda… in bus_exec_context_find()
429 static int bus_kill_context_find(sd_bus *bus, const char *path, const char *interface, void *userda… in bus_kill_context_find()
456 static int bus_unit_enumerate(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_… in bus_unit_enumerate()
[all …]
/systemd-251/src/login/
Dlogind-user-dbus.c21 sd_bus *bus, in property_get_uid()
39 sd_bus *bus, in property_get_gid()
57 sd_bus *bus, in property_get_name()
77 sd_bus *bus, in property_get_display()
100 sd_bus *bus, in property_get_sessions()
136 sd_bus *bus, in property_get_idle_hint()
154 sd_bus *bus, in property_get_idle_since_hint()
177 sd_bus *bus, in property_get_linger()
261 static int user_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, v… in user_object_find()
316 static int user_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bu… in user_node_enumerator()
Dloginctl.c64 static int get_session_path(sd_bus *bus, const char *session_id, sd_bus_error *error, char **path) { in get_session_path()
120 sd_bus *bus = userdata; in list_sessions()
194 sd_bus *bus = userdata; in list_users()
244 sd_bus *bus = userdata; in list_seats()
285 static int show_unit_cgroup(sd_bus *bus, const char *interface, const char *unit, pid_t leader) { in show_unit_cgroup()
377 static int prop_map_first_of_struct(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_erro… in prop_map_first_of_struct()
404 static int prop_map_sessions_strv(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error … in prop_map_sessions_strv()
426 static int print_session_status_info(sd_bus *bus, const char *path, bool *new_line) { in print_session_status_info()
561 static int print_user_status_info(sd_bus *bus, const char *path, bool *new_line) { in print_user_status_info()
638 static int print_seat_status_info(sd_bus *bus, const char *path, bool *new_line) { in print_seat_status_info()
[all …]
/systemd-251/src/nspawn/
Dnspawn-register.h10 int register_machine(sd_bus *bus, const char *machine_name, pid_t pid, const char *directory, sd_id…
11 int unregister_machine(sd_bus *bus, const char *machine_name);
13 int allocate_scope(sd_bus *bus, const char *machine_name, pid_t pid, const char *slice, CustomMount…
14 int terminate_scope(sd_bus *bus, const char *machine_name);
/systemd-251/src/timedate/
Dtimedatectl.c182 sd_bus *bus = userdata; in show_status()
202 sd_bus *bus = userdata; in show_properties()
223 sd_bus *bus = userdata; in set_time()
248 sd_bus *bus = userdata; in set_timezone()
262 sd_bus *bus = userdata; in set_local_rtc()
286 sd_bus *bus = userdata; in set_ntp()
304 sd_bus *bus = userdata; in list_timezones()
521 static int map_server_address(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *err… in map_server_address()
565 static int map_ntp_message(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error,… in map_ntp_message()
608 static int show_timesync_status_once(sd_bus *bus) { in show_timesync_status_once()
[all …]

123456789