Lines Matching +full:- +full:- +full:print +full:- +full:architecture

1 // SPDX-License-Identifier: GPL-2.0-only
9 * This function is used through-out the kernel (including mm and fs)
142 * Stop ourself in panic -- architecture code may override this
160 * Stop other CPUs in panic. Architecture dependent code may override this
161 * with more suitable version. For example, if the architecture supports
163 * per-CPU features such as virtualization extensions.
190 * nmi_panic_self_stop() which can provide architecture dependent code such
247 * and then performs the secondary CPUs shutdown - we cannot have
259 * and kmsg_dump, we will need architecture dependent extra in panic_other_cpus_shutdown()
270 * panic - halt the system
271 * @fmt: The text string to print
306 * It's possible to come here directly from a panic-assertion and in panic()
335 if (len && buf[len - 1] == '\n') in panic()
336 buf[len - 1] = '\0'; in panic()
338 pr_emerg("Kernel panic - not syncing: %s\n", buf); in panic()
341 * Avoid nested stack-dumping if a panic occurs during oops processing in panic()
395 * result. The release will also print the buffers out. Locks debug in panic()
436 /* Make sure the user can actually press Stop-A (L1-A) */ in panic()
438 pr_emerg("Press Stop-A (L1-A) from sun keyboard or send break\n" in panic()
445 pr_emerg("---[ end Kernel panic - not syncing: %s ]---\n", buf); in panic()
463 * TAINT_FORCED_RMMOD could be a per-module flag but the module
489 * print_tainted - return a string to represent the kernel taint state.
491 * For individual taint flag meanings, see Documentation/admin-guide/sysctl/kernel.rst
510 t->c_true : t->c_false; in print_tainted()
536 * some notewortht-but-not-corrupting cases, it can be set to true.
576 /* This CPU may now print the oops message */ in do_oops_enter_exit()
587 } while (--spin_counter); in do_oops_enter_exit()
602 * Return true if the calling CPU is allowed to print oops-related info.
611 * Called when the architecture enters its oops handler, before it prints
617 * side-effect of preventing later-oopsing CPUs from mucking up the display,
620 * It turns out that the CPU which is allowed to print ends up pausing for
637 pr_warn("---[ end trace %016llx ]---\n", 0ULL); in print_oops_end_marker()
641 * Called when the architecture exits its oops handler, after printing
663 raw_smp_processor_id(), current->pid, file, line, in __warn()
667 raw_smp_processor_id(), current->pid, caller); in __warn()
670 vprintk(args->fmt, args->args); in __warn()
736 memset(__start_once, 0, __end_once - __start_once); in clear_warn_once_set()
757 * Called when gcc's -fstack-protector feature is used, and
758 * gcc detects corruption of the on-stack canary value
763 panic("stack-protector: Kernel stack is corrupted in: %pB", in __stack_chk_fail()
780 return -EINVAL; in oops_setup()
792 return -EINVAL; in panic_on_taint_setup()
796 return -EINVAL; in panic_on_taint_setup()
798 /* make sure panic_on_taint doesn't hold out-of-range TAINT flags */ in panic_on_taint_setup()
802 return -EINVAL; in panic_on_taint_setup()