Lines Matching full:reboot

44 // When you see server:: or reboot:: you know we're referencing our base class
46 namespace reboot = sdbusplus::server::xyz::openbmc_project::control::boot;
84 reboot::RebootAttempts::retryAttempts(BOOT_COUNT_MAX_ALLOWED); in determineInitialState()
94 Transition::Reboot, in setupSupportedTransitions()
115 {Transition::Reboot, std::format("obmc-host-reboot@{}.target", id)}, in createSystemdTargetMaps()
116 // Some systems do not support a warm reboot so just map the reboot in createSystemdTargetMaps()
117 // requests to our normal cold reboot in that case in createSystemdTargetMaps()
120 std::format("obmc-host-warm-reboot@{}.target", id)}, in createSystemdTargetMaps()
122 std::format("obmc-host-force-warm-reboot@{}.target", id)}}; in createSystemdTargetMaps()
125 std::format("obmc-host-reboot@{}.target", id)}, in createSystemdTargetMaps()
127 std::format("obmc-host-reboot@{}.target", id)}}; in createSystemdTargetMaps()
208 * setting and do not auto reboot. in isAutoReboot()
229 info("Auto reboot (one-time) disabled"); in isAutoReboot()
240 auto rebootCounterParam = reboot::RebootAttempts::attemptsLeft(); in isAutoReboot()
248 "Auto reboot enabled and boot count at {BOOTCOUNT}, rebooting", in isAutoReboot()
254 // We are at 0 so reset reboot counter and go to quiesce state in isAutoReboot()
255 info("Auto reboot enabled but HOST BOOTCOUNT already set to 0"); in isAutoReboot()
256 attemptsLeft(reboot::RebootAttempts::retryAttempts()); in isAutoReboot()
273 info("Auto reboot disabled."); in isAutoReboot()
327 info("Beginning reboot..."); in sysStateChangeJobRemoved()
328 Host::requestedHostTransition(server::Host::Transition::Reboot); in sysStateChangeJobRemoved()
359 // how OpenBMC utilizes the targets in the reboot scenario in sysStateChangeJobNew()
360 info("Received signal that host has crashed, decrement reboot count"); in sysStateChangeJobNew()
362 // A host crash can cause a reboot of the host so decrement the reboot in sysStateChangeJobNew()
370 auto rebootCount = reboot::RebootAttempts::attemptsLeft(); in decrementRebootCount()
373 return (reboot::RebootAttempts::attemptsLeft(rebootCount - 1)); in decrementRebootCount()
424 // decrement the reboot counter. This code should in requestedHostTransition()