Lines Matching full:reboot

43 // When you see server:: or reboot:: you know we're referencing our base class
45 namespace reboot = sdbusplus::server::xyz::openbmc_project::control::boot;
92 Transition::Reboot, in setupSupportedTransitions()
113 {Transition::Reboot, std::format("obmc-host-reboot@{}.target", id)}, in createSystemdTargetMaps()
114 // Some systems do not support a warm reboot so just map the reboot in createSystemdTargetMaps()
115 // requests to our normal cold reboot in that case in createSystemdTargetMaps()
118 std::format("obmc-host-warm-reboot@{}.target", id)}, in createSystemdTargetMaps()
120 std::format("obmc-host-force-warm-reboot@{}.target", id)}}; in createSystemdTargetMaps()
123 std::format("obmc-host-reboot@{}.target", id)}, in createSystemdTargetMaps()
125 std::format("obmc-host-reboot@{}.target", id)}}; in createSystemdTargetMaps()
206 * setting and do not auto reboot. in isAutoReboot()
227 info("Auto reboot (one-time) disabled"); in isAutoReboot()
238 auto rebootCounterParam = reboot::RebootAttempts::attemptsLeft(); in isAutoReboot()
246 "Auto reboot enabled and boot count at {BOOTCOUNT}, rebooting", in isAutoReboot()
252 // We are at 0 so reset reboot counter and go to quiesce state in isAutoReboot()
253 info("Auto reboot enabled but HOST BOOTCOUNT already set to 0"); in isAutoReboot()
254 attemptsLeft(reboot::RebootAttempts::retryAttempts()); in isAutoReboot()
271 info("Auto reboot disabled."); in isAutoReboot()
325 info("Beginning reboot..."); in sysStateChangeJobRemoved()
326 Host::requestedHostTransition(server::Host::Transition::Reboot); in sysStateChangeJobRemoved()
357 // how OpenBMC utilizes the targets in the reboot scenario in sysStateChangeJobNew()
358 info("Received signal that host has crashed, decrement reboot count"); in sysStateChangeJobNew()
360 // A host crash can cause a reboot of the host so decrement the reboot in sysStateChangeJobNew()
368 auto rebootCount = reboot::RebootAttempts::attemptsLeft(); in decrementRebootCount()
371 return (reboot::RebootAttempts::attemptsLeft(rebootCount - 1)); in decrementRebootCount()
421 // decrement the reboot counter. This code should in requestedHostTransition()