函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\dumpstack.c Create Date:2022-07-27 08:34:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:oops_end

函数原型:void oops_end(unsigned long flags, struct pt_regs *regs, int signr)

返回类型:void

参数:

类型参数名称
unsigned longflags
struct pt_regs *regs
intsignr
333  如果regskexec_should_crash(当前进程)则crash_kexec(regs)
336  bust_spinlocks(0)
337  die_owner等于负1
338  add_taint(TAINT_DIE, LOCKDEP_NOW_UNRELIABLE)
339  die_nest_count自减
340  如果非die_nest_countarch_spin_unlock( & die_lock)
343  raw_local_irq_restore(flags)
344  oops_exit()
347  __show_regs( & exec_summary_regs, SHOW_REGS_ALL)
349  如果非signr则返回
351  如果in_interrupt()则panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
353  如果panic_on_oopspanic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
363  kasan_unpoison_task_stack(当前进程)
364  rewind_stack_do_exit(signr)
调用者
名称描述
die终止程序