/kernel/linux/linux-5.10/arch/x86/mm/ |
D | extable.c | 28 struct pt_regs *regs, int trapnr, in ex_handler_default() argument 38 struct pt_regs *regs, int trapnr, in ex_handler_fault() argument 43 regs->ax = trapnr; in ex_handler_fault() 59 struct pt_regs *regs, int trapnr, in ex_handler_fprestore() argument 74 struct pt_regs *regs, int trapnr, in ex_handler_uaccess() argument 78 …WARN_ONCE(trapnr == X86_TRAP_GP, "General protection fault in user access. Non-canonical address?"… in ex_handler_uaccess() 85 struct pt_regs *regs, int trapnr, in ex_handler_copy() argument 89 …WARN_ONCE(trapnr == X86_TRAP_GP, "General protection fault in user access. Non-canonical address?"… in ex_handler_copy() 91 regs->ax = trapnr; in ex_handler_copy() 97 struct pt_regs *regs, int trapnr, in ex_handler_rdmsr_unsafe() argument [all …]
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | traps.c | 100 do_trap_no_signal(struct task_struct *tsk, int trapnr, const char *str, in do_trap_no_signal() argument 108 if (trapnr < X86_TRAP_UD) { in do_trap_no_signal() 110 error_code, trapnr)) in do_trap_no_signal() 114 if (fixup_exception(regs, trapnr, error_code, 0)) in do_trap_no_signal() 118 tsk->thread.trap_nr = trapnr; in do_trap_no_signal() 132 tsk->thread.trap_nr = trapnr; in do_trap_no_signal() 152 do_trap(int trapnr, int signr, char *str, struct pt_regs *regs, in do_trap() argument 157 if (!do_trap_no_signal(tsk, trapnr, str, regs, error_code)) in do_trap() 170 unsigned long trapnr, int signr, int sicode, void __user *addr) in do_error_trap() argument 174 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) != in do_error_trap() [all …]
|
D | head64.c | 403 void __init do_early_exception(struct pt_regs *regs, int trapnr) in do_early_exception() argument 405 if (trapnr == X86_TRAP_PF && in do_early_exception() 410 trapnr == X86_TRAP_VC && handle_vc_boot_ghcb(regs)) in do_early_exception() 413 early_fixup_exception(regs, trapnr); in do_early_exception()
|
D | sev-es.c | 90 void do_early_exception(struct pt_regs *regs, int trapnr); 201 void do_early_exception(struct pt_regs *regs, int trapnr); 756 int trapnr = ctxt->fi.vector; in vc_early_forward_exception() local 758 if (trapnr == X86_TRAP_PF) in vc_early_forward_exception() 762 do_early_exception(ctxt->regs, trapnr); in vc_early_forward_exception() 1253 int trapnr = ctxt->fi.vector; in vc_forward_exception() local 1257 switch (trapnr) { in vc_forward_exception()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | extable.h | 39 extern int fixup_exception(struct pt_regs *regs, int trapnr, 41 extern int fixup_bug(struct pt_regs *regs, int trapnr); 43 extern void early_fixup_exception(struct pt_regs *regs, int trapnr);
|
D | kprobes.h | 103 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
D | setup.h | 55 extern void __init do_early_exception(struct pt_regs *regs, int trapnr);
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | kprobes.c | 426 static int kprobe_trap_handler(struct pt_regs *regs, int trapnr) in kprobe_trap_handler() argument 462 if (p->fault_handler && p->fault_handler(p, regs, trapnr)) in kprobe_trap_handler() 485 int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 491 ret = kprobe_trap_handler(regs, trapnr); in kprobe_fault_handler() 522 kprobe_trap_handler(regs, args->trapnr)) in kprobe_exceptions_notify()
|
/kernel/linux/linux-5.10/samples/kprobes/ |
D | kprobe_example.c | 87 static int handler_fault(struct kprobe *p, struct pt_regs *regs, int trapnr) in handler_fault() argument 89 pr_info("fault_handler: p->addr = 0x%p, trap #%dn", p->addr, trapnr); in handler_fault()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/ |
D | internal.h | 190 struct pt_regs *regs, int trapnr, 195 struct pt_regs *regs, int trapnr,
|
/kernel/linux/linux-5.10/include/linux/ |
D | kdebug.h | 13 int trapnr; member
|
D | kprobes.h | 56 int trapnr); 410 static inline int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument
|
/kernel/linux/linux-5.10/arch/csky/include/asm/ |
D | kprobes.h | 41 int kprobe_fault_handler(struct pt_regs *regs, unsigned int trapnr);
|
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
D | kprobes.h | 53 static inline int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
D | kprobes.h | 48 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
D | kprobes.h | 52 int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | kprobes.h | 44 int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/kernel/linux/linux-5.10/arch/sh/kernel/ |
D | kprobes.c | 360 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 399 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler() 437 args->trapnr == (BREAKPOINT_INSTRUCTION & 0xff)) { in kprobe_exceptions_notify()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | kprobes.c | 401 int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 406 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler() 444 && kprobe_fault_handler(args->regs, args->trapnr)) in kprobe_exceptions_notify()
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | kprobes.h | 75 int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | kprobes.h | 89 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
D | kprobes.h | 109 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/kernel/linux/linux-5.10/arch/arc/kernel/ |
D | kprobes.c | 289 int __kprobes kprobe_fault_handler(struct pt_regs *regs, unsigned long trapnr) in kprobe_fault_handler() argument 333 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
|
/kernel/linux/linux-5.10/arch/csky/kernel/probes/ |
D | kprobes.c | 270 int __kprobes kprobe_fault_handler(struct pt_regs *regs, unsigned int trapnr) in kprobe_fault_handler() argument 311 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | kprobes.c | 320 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 362 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
|