Home
last modified time | relevance | path

Searched refs:trapnr (Results 1 – 25 of 42) sorted by relevance

12

/kernel/linux/linux-5.10/arch/x86/mm/
Dextable.c28 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/
Dtraps.c100 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 …]
Dhead64.c403 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()
Dsev-es.c90 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/
Dextable.h39 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);
Dkprobes.h103 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
Dsetup.h55 extern void __init do_early_exception(struct pt_regs *regs, int trapnr);
/kernel/linux/linux-5.10/arch/s390/kernel/
Dkprobes.c426 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/
Dkprobe_example.c87 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/
Dinternal.h190 struct pt_regs *regs, int trapnr,
195 struct pt_regs *regs, int trapnr,
/kernel/linux/linux-5.10/include/linux/
Dkdebug.h13 int trapnr; member
Dkprobes.h56 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/
Dkprobes.h41 int kprobe_fault_handler(struct pt_regs *regs, unsigned int trapnr);
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dkprobes.h53 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/
Dkprobes.h48 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dkprobes.h52 int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dkprobes.h44 int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/kernel/linux/linux-5.10/arch/sh/kernel/
Dkprobes.c360 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/
Dkprobes.c401 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/
Dkprobes.h75 int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkprobes.h89 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dkprobes.h109 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/kernel/linux/linux-5.10/arch/arc/kernel/
Dkprobes.c289 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/
Dkprobes.c270 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/
Dkprobes.c320 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()

12