Home
last modified time | relevance | path

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

12

/arch/x86/mm/
Dextable.c27 struct pt_regs *regs, int trapnr, in ex_handler_default() argument
37 struct pt_regs *regs, int trapnr, in ex_handler_fault() argument
42 regs->ax = trapnr; in ex_handler_fault()
58 struct pt_regs *regs, int trapnr, in ex_handler_fprestore() argument
73 struct pt_regs *regs, int trapnr, in ex_handler_uaccess() argument
77 …WARN_ONCE(trapnr == X86_TRAP_GP, "General protection fault in user access. Non-canonical address?"… in ex_handler_uaccess()
84 struct pt_regs *regs, int trapnr, in ex_handler_ext() argument
96 struct pt_regs *regs, int trapnr, in ex_handler_rdmsr_unsafe() argument
113 struct pt_regs *regs, int trapnr, in ex_handler_wrmsr_unsafe() argument
129 struct pt_regs *regs, int trapnr, in ex_handler_clear_fs() argument
[all …]
/arch/x86/kernel/
Dtraps.c174 int fixup_bug(struct pt_regs *regs, int trapnr) in fixup_bug() argument
176 if (trapnr != X86_TRAP_UD) in fixup_bug()
193 do_trap_no_signal(struct task_struct *tsk, int trapnr, const char *str, in do_trap_no_signal() argument
201 if (trapnr < X86_TRAP_UD) { in do_trap_no_signal()
203 error_code, trapnr)) in do_trap_no_signal()
207 if (fixup_exception(regs, trapnr, error_code, 0)) in do_trap_no_signal()
211 tsk->thread.trap_nr = trapnr; in do_trap_no_signal()
225 tsk->thread.trap_nr = trapnr; in do_trap_no_signal()
245 do_trap(int trapnr, int signr, char *str, struct pt_regs *regs, in do_trap() argument
251 if (!do_trap_no_signal(tsk, trapnr, str, regs, error_code)) in do_trap()
[all …]
Dkgdb.c483 kgdb_arch_handle_exception(args->trapnr, args->signr, in single_step_cont()
548 if (kgdb_handle_exception(args->trapnr, args->signr, cmd, regs)) in __kgdb_notify()
563 .trapnr = trap, in kgdb_ll_trap()
/arch/x86/include/asm/
Dextable.h32 extern int fixup_exception(struct pt_regs *regs, int trapnr,
34 extern int fixup_bug(struct pt_regs *regs, int trapnr);
36 extern void early_fixup_exception(struct pt_regs *regs, int trapnr);
Dkprobes.h104 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/arch/x86/kernel/cpu/mce/
Dinternal.h176 struct pt_regs *regs, int trapnr,
181 struct pt_regs *regs, int trapnr,
/arch/parisc/include/asm/
Dkprobes.h53 static inline int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument
/arch/sh/include/asm/
Dkprobes.h48 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/arch/sparc/include/asm/
Dkprobes.h52 int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/arch/mips/include/asm/
Dkprobes.h44 int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/arch/s390/kernel/
Dkprobes.c533 static int kprobe_trap_handler(struct pt_regs *regs, int trapnr) in kprobe_trap_handler() argument
569 if (p->fault_handler && p->fault_handler(p, regs, trapnr)) in kprobe_trap_handler()
594 int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument
600 ret = kprobe_trap_handler(regs, trapnr); in kprobe_fault_handler()
631 kprobe_trap_handler(regs, args->trapnr)) in kprobe_exceptions_notify()
/arch/s390/include/asm/
Dkprobes.h76 int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/arch/powerpc/include/asm/
Dkprobes.h89 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/arch/ia64/include/asm/
Dkprobes.h109 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/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()
Dkgdb.c352 .trapnr = trap, in kgdb_ll_trap()
/arch/sh/kernel/
Dkprobes.c412 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument
451 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
489 args->trapnr == (BREAKPOINT_INSTRUCTION & 0xff)) { in kprobe_exceptions_notify()
Dhw_breakpoint.c385 if (args->trapnr != sh_ubc->trap_nr) in hw_breakpoint_exceptions_notify()
Dkgdb.c327 ret = kgdb_handle_exception(args->trapnr & 0xff, args->signr, in __kgdb_notify()
/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()
/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()
/arch/powerpc/kernel/
Dkprobes.c523 int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument
564 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
/arch/hexagon/kernel/
Dkgdb.c165 if (kgdb_handle_exception(args->trapnr & 0xff, args->signr, args->err, in __kgdb_notify()
/arch/x86/kernel/kprobes/
Dcore.c1010 int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument
1065 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
/arch/ia64/kernel/
Dkprobes.c893 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument
933 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()

12