Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\panic.c Create Date:2022-07-28 08:59:48
Last Modify:2022-05-22 10:57:01 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__warn

Proto:void __warn(const char *file, int line, void *caller, unsigned taint, struct pt_regs *regs, struct warn_args *args)

Type:void

Parameter:

TypeParameterName
const char *file
intline
void *caller
unsignedtaint
struct pt_regs *regs
struct warn_args *args
561  disable_trace_on_warning()
563  If file Then pr_warn("WARNING: CPU: %d PID: %d at %s:%d %pS\n", These macros fold the SMP functionality into a single CPU system(), pid, file, line, caller)
567  Else pr_warn("WARNING: CPU: %d PID: %d at %pS\n", These macros fold the SMP functionality into a single CPU system(), pid, caller)
571  If args Then vprintk(fmt, args)
574  If panic_on_warn Then
581  panic_on_warn = 0
582  panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
585  print_modules()
587  If regs Then show_regs(regs)
589  Else dump_stack()
592  print_irqtrace_events(current process)
594  print_oops_end_marker()
597  add_taint: add a taint flag if not already set.*@flag: one of the TAINT_* constants.*@lockdep_ok: whether lock debugging is still OK.* If something bad has gone wrong, you'll want @lockdebug_ok = false, but for
Caller
NameDescribe
report_bug