Home
last modified time | relevance | path

Searched refs:BusWaitForUnits (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/shared/
Dbus-wait-for-units.h7 typedef struct BusWaitForUnits BusWaitForUnits; typedef
24 typedef void (*bus_wait_for_units_ready_callback)(BusWaitForUnits *d, BusWaitForUnitsState state, v…
25 typedef void (*bus_wait_for_units_unit_callback)(BusWaitForUnits *d, const char *unit_path, bool go…
27 int bus_wait_for_units_new(sd_bus *bus, BusWaitForUnits **ret);
28 BusWaitForUnits* bus_wait_for_units_free(BusWaitForUnits *d);
30 BusWaitForUnitsState bus_wait_for_units_state(BusWaitForUnits *d);
31 void bus_wait_for_units_set_ready_callback(BusWaitForUnits *d, bus_wait_for_units_ready_callback ca…
32 int bus_wait_for_units_add_unit(BusWaitForUnits *d, const char *unit, BusWaitForUnitsFlags flags, b…
33 int bus_wait_for_units_run(BusWaitForUnits *d);
35 DEFINE_TRIVIAL_CLEANUP_FUNC(BusWaitForUnits*, bus_wait_for_units_free);
Dbus-wait-for-units.c12 BusWaitForUnits *parent;
29 typedef struct BusWaitForUnits { struct
42 } BusWaitForUnits; argument
84 static void call_unit_callback_and_wait(BusWaitForUnits *d, WaitForItem *item, bool good) { in call_unit_callback_and_wait()
93 static void bus_wait_for_units_clear(BusWaitForUnits *d) { in bus_wait_for_units_clear()
108 BusWaitForUnits *d = userdata; in match_disconnected()
125 int bus_wait_for_units_new(sd_bus *bus, BusWaitForUnits **ret) { in bus_wait_for_units_new()
126 _cleanup_(bus_wait_for_units_freep) BusWaitForUnits *d = NULL; in bus_wait_for_units_new()
132 d = new(BusWaitForUnits, 1); in bus_wait_for_units_new()
136 *d = (BusWaitForUnits) { in bus_wait_for_units_new()
[all …]
/systemd-251/src/systemctl/
Dsystemctl-start-unit.c62 BusWaitForUnits *wu) { in start_unit_one()
262 _cleanup_(bus_wait_for_units_freep) BusWaitForUnits *wu = NULL; in verb_start()
Dsystemctl-clean-or-freeze.c11 _cleanup_(bus_wait_for_units_freep) BusWaitForUnits *w = NULL; in verb_clean_or_freeze()