Searched refs:restartCause (Results 1 – 2 of 2) sorted by relevance
372 static bool getRestartCause(ipmi::Context::ptr& ctx, std::string& restartCause) in getRestartCause() argument387 restartCause); in getRestartCause()403 std::string restartCause; in checkIPMIRestartCause() local404 if (!getRestartCause(ctx, restartCause)) in checkIPMIRestartCause()409 (restartCause == in checkIPMIRestartCause()
708 std::string restartCause = in setRestartCause() local712 restartCause = getRestartCause(RestartCause::watchdog); in setRestartCause()716 restartCause = getRestartCause(RestartCause::command); in setRestartCause()720 restartCause = getRestartCause(RestartCause::resetButton); in setRestartCause()724 restartCause = getRestartCause(RestartCause::powerButton); in setRestartCause()728 restartCause = getRestartCause(RestartCause::powerPolicyOn); in setRestartCause()732 restartCause = getRestartCause(RestartCause::powerPolicyRestore); in setRestartCause()743 restartCause = getRestartCause(RestartCause::softReset); in setRestartCause()746 setRestartCauseProperty(restartCause); in setRestartCause()