Lines Matching refs:unit_name
1360 const char *unit_name) {
1365 assert(unit_name);
1370 if (streq(unit_name, SPECIAL_POWEROFF_TARGET)) {
1373 } else if (streq(unit_name, SPECIAL_HALT_TARGET)) {
1376 } else if (streq(unit_name, SPECIAL_REBOOT_TARGET)) {
1379 } else if (streq(unit_name, SPECIAL_KEXEC_TARGET)) {
1461 const char *unit_name,
1472 assert(unit_name);
1474 bus_manager_log_shutdown(m, w, unit_name);
1488 "ss", unit_name, "replace-irreversibly");
1501 m->action_unit = unit_name;
1568 const char *unit_name) {
1576 assert(unit_name);
1595 m->action_unit = unit_name;
1625 const char *unit_name,
1633 assert(unit_name);
1648 r = delay_shutdown_or_sleep(m, w, unit_name);
1652 r = execute_shutdown_or_sleep(m, w, unit_name, error);
1722 const char *unit_name,
1734 assert(unit_name);
1760 r = bus_manager_shutdown_or_sleep_now_or_later(m, unit_name, w, error);