Lines Matching +full:retain +full:- +full:state +full:- +full:shutdown
3 .\" SPDX-License-Identifier: BSD-4-Clause
19 .\" 1. Redistributions of source code must retain the above copyright
65 function handles final system shutdown, and either halts, reboots,
71 .Bl -tag -compact -offset indent -width "RB_POWERCYCLE"
73 Halt the system in-place rather than restarting.
77 Request a power-cycle in addition to restarting.
79 Do not sync filesystems during shutdown.
81 Dump kernel memory during shutdown.
91 .Bl -enum -offset indent
121 Execute all registered shutdown hooks.
123 .Sx SHUTDOWN HOOKS
126 As a last resort, if none of the shutdown hooks handled the reboot, call the
127 machine-dependent
150 function is the intended path for performing a clean reboot or shutdown when
154 process, instructing it to perform a shutdown.
169 .Sh SHUTDOWN HOOKS
172 events, which are invoked successively during the shutdown procedure.
186 It enables any action or state transition that must happen before this point to
204 power-off, or halt.
208 event is also the point at which all kernel modules will have their shutdown
218 itself, may be run in either normal shutdown context or a kernel panic or
229 system shutdown.
235 event handler that can handle system power-off by writing to a device register,
237 .Bd -literal -offset indent
252 .Bd -literal -offset indent
274 .Bd -literal -offset indent
282 /* Some code that is not panic-safe. */