Lines Matching refs:dbus
171 struct debug_sink_dbus *dbus = userdata; in dbus_sink_dump_progress() local
254 sd_bus_slot *slot = sd_bus_get_current_slot(dbus->bus); in dbus_sink_dump_progress()
265 struct debug_sink_dbus *dbus = ctx; in dbus_sink_debug() local
273 rc = sd_bus_call_method(dbus->bus, in dbus_sink_debug()
293 rc = sd_bus_match_signal(dbus->bus, in dbus_sink_debug()
328 rc = sd_bus_get_property_string(dbus->bus, in dbus_sink_debug()
360 struct debug_sink_dbus *dbus = ctx; in dbus_sink_reboot() local
366 rc = sd_bus_call_method(dbus->bus, in dbus_sink_reboot()
383 struct debug_source_dbus *dbus = ctx; in dbus_source_poll() local
391 dbus->pfds[DBUS_SOURCE_PFD_DBUS].fd = sd_bus_get_fd(dbus->bus); in dbus_source_poll()
392 dbus->pfds[DBUS_SOURCE_PFD_DBUS].events = sd_bus_get_events(dbus->bus); in dbus_source_poll()
393 rc = sd_bus_get_timeout(dbus->bus, &dbusto); in dbus_source_poll()
399 } else if (dbus->pfds[DBUS_SOURCE_PFD_DBUS].events == 0) { in dbus_source_poll()
411 if ((rc = ppoll(dbus->pfds, ARRAY_SIZE(dbus->pfds), ptsto, NULL)) < 0) { in dbus_source_poll()
416 if (dbus->pfds[DBUS_SOURCE_PFD_SOURCE].revents) { in dbus_source_poll()
419 if ((ingress = read(dbus->pfds[DBUS_SOURCE_PFD_SOURCE].fd, op, 1)) != 1) { in dbus_source_poll()
431 if (dbus->pfds[DBUS_SOURCE_PFD_DBUS].revents) { in dbus_source_poll()
432 if ((rc = sd_bus_process(dbus->bus, NULL)) < 0) { in dbus_source_poll()