函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:notify_die

函数原型:int notrace notify_die(enum die_val val, const char *str, struct pt_regs *regs, long err, int trap, int sig)

返回类型:int

参数:

类型参数名称
enum die_valval
const char *str
struct pt_regs *regs
longerr
inttrap
intsig
506  struct die_args args = {regs = regs, str = str, err = err, trapnr = trap, signr = sig, }
514  RCU_LOCKDEP_WARN(!_is_watching - see if RCU thinks that the current CPU is not idle* Return true if RCU is watching the running CPU, which means that this* CPU can safely enter RCU read-side critical sections, "notify_die called but RCU thinks we're quiescent")
516  返回:atomic_notifier_call_chain( & die_chain, val, & args)
调用者
名称描述
do_double_faultRuns on an IST stack for x86_64 and on a special task stack for x86_32.* On x86_64, this is more or less a normal kernel entry. Notwithstanding the* SDM's warnings about double faults being unrecoverable, returning works as* expected
do_bounds
do_general_protection
do_int3
do_debugOur handling of the processor debug registers is non-trivial.* We do not clear them on entry and exit from the kernel. Therefore* it is possible to get a watchpoint trap here from inside the kernel.* However, the code in
math_errorNote that we play around with the 'TS' bit in an attempt to get* the correct behaviour even in the presence of the asynchronous* IRQ13 behaviour
do_iret_error
__die
do_error_trap