函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:do_error_trap

函数原型:static void do_error_trap(struct pt_regs *regs, long error_code, char *str, unsigned long trapnr, int signr, int sicode, void __user *addr)

返回类型:void

参数:

类型参数名称
struct pt_regs *regs
longerror_code
char *str
unsigned longtrapnr
intsignr
intsicode
void __user *addr
261  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, "entry code didn't wake RCU")
267  如果非ser_mode(regs) determines whether a register set came from user* modefixup_bug(regs, trapnr)则返回
270  如果notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr)不等于Clean way to return from the notifier and stop further calls.
272  cond_local_irq_enable(regs)
273  do_trap(trapnr, signr, str, regs, error_code, sicode, addr)
调用者
名称描述
do_divide_error
do_overflow
do_invalid_op
do_coprocessor_segment_overrun
do_invalid_TSS
do_segment_not_present
do_stack_segment
do_alignment_check