Lines Matching refs:reason
27 static void log_and_status(Manager *m, bool warn, const char *message, const char *reason) { in log_and_status() argument
28 log_full(warn ? LOG_WARNING : LOG_DEBUG, "%s: %s", message, reason); in log_and_status()
32 "%s: %s", message, reason); in log_and_status()
41 const char *reason) { in emergency_action() argument
63 log_warning("Watchdog disabled! Not acting on: %s", reason); in emergency_action()
72 log_and_status(m, warn, "Rebooting", reason); in emergency_action()
79 log_and_status(m, warn, "Forcibly rebooting", reason); in emergency_action()
87 log_and_status(m, warn, "Rebooting immediately", reason); in emergency_action()
107 log_and_status(m, warn, "Exiting", reason); in emergency_action()
116 log_and_status(m, warn, "Powering off", reason); in emergency_action()
126 log_and_status(m, warn, "Exiting immediately", reason); in emergency_action()
135 log_and_status(m, warn, "Forcibly powering off", reason); in emergency_action()
140 log_and_status(m, warn, "Powering off immediately", reason); in emergency_action()