<dec f='src/src/sys/sys/systm.h' l='335' type='void doshutdownhooks()'/>
<use f='src/src/sys/arch/amd64/amd64/machdep.c' l='681' u='c' c='cpu_reboot'/>
<def f='src/src/sys/kern/kern_hook.c' l='141' ll='160' type='void doshutdownhooks()'/>
<doc f='src/src/sys/kern/kern_hook.c' l='133'>/*
 * Run shutdown hooks.  Should be invoked immediately before the
 * system is halted or rebooted, i.e. after file systems unmounted,
 * after crash dump done, etc.
 *
 * Each shutdown hook is removed from the list before it&apos;s run, so that
 * it won&apos;t be run again.
 */</doc>
