MCPcopy Create free account
hub / github.com/F-Stack/f-stack / panic

Function panic

freebsd/kern/kern_shutdown.c:837–844  ·  view source on GitHub ↗

* Panic is called on unresolvable fatal errors. It prints "panic: mesg", * and then reboots. If we are called twice, then we avoid trying to sync * the disks as this often leads to recursive panics. */

Source from the content-addressed store, hash-verified

835 * the disks as this often leads to recursive panics.
836 */
837void
838panic(const char *fmt, ...)
839{
840 va_list ap;
841
842 va_start(ap, fmt);
843 vpanic(fmt, ap);
844}
845
846void
847vpanic(const char *fmt, va_list ap)

Callers 15

_rm_assertFunction · 0.70
smp_rendezvous_cpusFunction · 0.70
smp_topoFunction · 0.70
smp_topo_addleafFunction · 0.70
epoch_allocFunction · 0.70
isrc_release_countersFunction · 0.70
intr_pic_deregisterFunction · 0.70
intr_is_per_cpuFunction · 0.70
intr_activate_irqFunction · 0.70

Calls 1

vpanicFunction · 0.70

Tested by 1

mainFunction · 0.40