Lines Matching full:panic
3 * linux/kernel/panic.c
145 * Stop ourself in panic -- architecture code may override this
163 * Stop other CPUs in panic. Architecture dependent code may override this
173 * This function can be called twice in panic path, but obviously in crash_smp_send_stop()
181 * unfortunately means it may not be hardened to work in a panic in crash_smp_send_stop()
191 * A variant of panic() called from NMI context. We return if we've already
205 panic("%s", msg); in nmi_panic()
243 panic("%s: panic_on_warn set ...\n", origin); in check_panic_on_warn()
247 panic("%s: system warned too often (kernel.warn_limit is %d)", in check_panic_on_warn()
259 /* Temporary allow non-panic CPUs to write their backtraces. */ in panic_other_cpus_shutdown()
267 * which unfortunately may not be hardened to work in a panic in panic_other_cpus_shutdown()
280 * panic - halt the system
287 void panic(const char *fmt, ...) in panic() function
298 * This thread may hit another WARN() in the panic path. in panic()
301 * panic_mutex in panic(). in panic()
308 * from deadlocking the first cpu that invokes the panic, since in panic()
310 * after setting panic_cpu) from invoking panic() again. in panic()
316 * It's possible to come here directly from a panic-assertion and in panic()
320 * Only one CPU is allowed to execute the panic code from here. For in panic()
321 * multiple parallel invocations of panic, all other CPUs either in panic()
348 pr_emerg("Kernel panic - not syncing: %s\n", buf); in panic()
351 * Avoid nested stack-dumping if a panic occurs during oops processing in panic()
380 * Run any panic handlers, including those that might need to in panic()
409 * panic() is not being callled from OOPS. in panic()
457 pr_emerg("---[ end Kernel panic - not syncing: %s ]---\n", buf); in panic()
481 EXPORT_SYMBOL(panic);
609 panic("panic_on_taint set ..."); in add_taint()
836 panic("stack-protector: Kernel stack is corrupted in: %pB", in __stack_chk_fail()
844 core_param(panic, panic_timeout, int, 0644);
854 if (!strcmp(s, "panic")) in oops_setup()