Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\dumpstack.c Create Date:2022-07-28 07:34:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:oops_end

Proto:void oops_end(unsigned long flags, struct pt_regs *regs, int signr)

Type:void

Parameter:

TypeParameterName
unsigned longflags
struct pt_regs *regs
intsignr
333  If regs && kexec_should_crash(current process) Then crash_kexec(regs)
336  bust_spinlocks(0)
337  die_owner = -1
338  add_taint(TAINT_DIE, LOCKDEP_NOW_UNRELIABLE)
339  die_nest_count--
340  If Not die_nest_count Then arch_spin_unlock( & die_lock)
343  raw_local_irq_restore(flags)
344  oops_exit()
347  __show_regs( & exec_summary_regs, SHOW_REGS_ALL)
349  If Not signr Then Return
351  If in_interrupt() Then panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
353  If panic_on_oops Then panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
363  kasan_unpoison_task_stack(current process)
364  rewind_stack_do_exit(signr)
Caller
NameDescribe
dieThis is gone through when something in the kernel has done something bad* and is about to be terminated: