Lines Matching refs:wait
587 …maybe_start_stop_restart(sd_bus *bus, const char *path, const char *method, BusWaitForJobs *wait) { in maybe_start_stop_restart() argument
620 if (wait) { in maybe_start_stop_restart()
621 r = bus_wait_for_jobs_add(wait, job); in maybe_start_stop_restart()
631 _cleanup_(bus_wait_for_jobs_freep) BusWaitForJobs *wait = NULL; in maybe_enable_start()
638 r = bus_wait_for_jobs_new(bus, &wait); in maybe_enable_start()
661 (void) maybe_start_stop_restart(bus, path, "StartUnit", wait); in maybe_enable_start()
670 r = bus_wait_for_jobs(wait, arg_quiet, NULL); in maybe_enable_start()
679 _cleanup_(bus_wait_for_jobs_freep) BusWaitForJobs *wait = NULL; in maybe_stop_enable_restart()
686 r = bus_wait_for_jobs_new(bus, &wait); in maybe_stop_enable_restart()
711 (void) maybe_start_stop_restart(bus, path, "StopUnit", wait); in maybe_stop_enable_restart()
735 (void) maybe_start_stop_restart(bus, path, "RestartUnit", wait); in maybe_stop_enable_restart()
744 r = bus_wait_for_jobs(wait, arg_quiet, NULL); in maybe_stop_enable_restart()
753 _cleanup_(bus_wait_for_jobs_freep) BusWaitForJobs *wait = NULL; in maybe_stop_disable()
765 r = bus_wait_for_jobs_new(bus, &wait); in maybe_stop_disable()
809 (void) maybe_start_stop_restart(bus, name, "StopUnit", wait); in maybe_stop_disable()
818 r = bus_wait_for_jobs(wait, arg_quiet, NULL); in maybe_stop_disable()