Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:do_error_trap

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

Type:void

Parameter:

TypeParameterName
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  If Not ser_mode(regs) determines whether a register set came from user* mode && fixup_bug(regs, trapnr) Then Return
270  If notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) != Clean way to return from the notifier and stop further calls. Then
272  cond_local_irq_enable(regs)
273  do_trap(trapnr, signr, str, regs, error_code, sicode, addr)
Caller
NameDescribe
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