| /linux/arch/x86/mm/ |
| H A D | extable.c | 99 struct pt_regs *regs, int trapnr) in ex_handler_fault() argument 101 regs->ax = trapnr; in ex_handler_fault() 106 struct pt_regs *regs, int trapnr) in ex_handler_sgx() argument 108 regs->ax = trapnr | SGX_ENCLS_FAULT_FLAG; in ex_handler_sgx() 158 struct pt_regs *regs, int trapnr, in ex_handler_uaccess() argument 161 WARN_ONCE(trapnr == X86_TRAP_GP && !gp_fault_address_ok(fault_address), in ex_handler_uaccess() 211 struct pt_regs *regs, int trapnr, in ex_handler_ucopy_len() argument 216 return ex_handler_uaccess(fixup, regs, trapnr, fault_address); in ex_handler_ucopy_len() 299 int fixup_exception(struct pt_regs *regs, int trapnr, unsigned long error_code, in fixup_exception() argument 333 return ex_handler_fault(e, regs, trapnr); in fixup_exception() [all …]
|
| /linux/arch/x86/kernel/ |
| H A D | traps.c | 279 do_trap_no_signal(struct task_struct *tsk, int trapnr, const char *str, in do_trap_no_signal() argument 287 if (trapnr < X86_TRAP_UD) { in do_trap_no_signal() 289 error_code, trapnr)) in do_trap_no_signal() 293 if (fixup_exception(regs, trapnr, error_code, 0)) in do_trap_no_signal() 297 tsk->thread.trap_nr = trapnr; in do_trap_no_signal() 300 if (fixup_vdso_exception(regs, trapnr, error_code, 0)) in do_trap_no_signal() 314 tsk->thread.trap_nr = trapnr; in do_trap_no_signal() 334 do_trap(int trapnr, int signr, char *str, struct pt_regs *regs, in do_trap() argument 339 if (!do_trap_no_signal(tsk, trapnr, str, regs, error_code)) in do_trap() 352 unsigned long trapnr, int signr, int sicode, void __user *addr) in do_error_trap() argument [all …]
|
| H A D | head64.c | 159 void __init do_early_exception(struct pt_regs *regs, int trapnr) in do_early_exception() argument 161 if (trapnr == X86_TRAP_PF && in do_early_exception() 166 trapnr == X86_TRAP_VC && handle_vc_boot_ghcb(regs)) in do_early_exception() 169 if (trapnr == X86_TRAP_VE && tdx_early_handle_ve(regs)) in do_early_exception() 172 early_fixup_exception(regs, trapnr); in do_early_exception()
|
| H A D | kgdb.c | 483 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()
|
| /linux/arch/x86/entry/vdso/ |
| H A D | extable.c | 12 bool fixup_vdso_exception(struct pt_regs *regs, int trapnr, in fixup_vdso_exception() argument 25 if (trapnr == X86_TRAP_DB || trapnr == X86_TRAP_BP) in fixup_vdso_exception() 38 regs->di = trapnr; in fixup_vdso_exception()
|
| /linux/arch/x86/include/asm/ |
| H A D | extable.h | 38 extern int fixup_exception(struct pt_regs *regs, int trapnr, 41 extern void early_fixup_exception(struct pt_regs *regs, int trapnr);
|
| H A D | kprobes.h | 115 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
| H A D | setup.h | 58 extern void __init do_early_exception(struct pt_regs *regs, int trapnr);
|
| /linux/arch/x86/kernel/cpu/sgx/ |
| H A D | virt.c | 354 int *trapnr) in sgx_virt_ecreate() argument 377 *trapnr = ENCLS_TRAPNR(ret); in sgx_virt_ecreate() 428 void __user *secs, u64 *lepubkeyhash, int *trapnr) in sgx_virt_einit() argument 448 *trapnr = ENCLS_TRAPNR(ret); in sgx_virt_einit()
|
| /linux/include/linux/ |
| H A D | kdebug.h | 13 int trapnr; member
|
| /linux/arch/riscv/include/asm/ |
| H A D | kprobes.h | 40 int kprobe_fault_handler(struct pt_regs *regs, unsigned int trapnr);
|
| /linux/arch/csky/include/asm/ |
| H A D | kprobes.h | 41 int kprobe_fault_handler(struct pt_regs *regs, unsigned int trapnr);
|
| /linux/arch/sh/include/asm/ |
| H A D | kprobes.h | 48 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
| /linux/arch/parisc/include/asm/ |
| H A D | kprobes.h | 55 static inline int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument
|
| /linux/arch/sparc/include/asm/ |
| H A D | kprobes.h | 50 int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
| /linux/arch/mips/include/asm/ |
| H A D | kprobes.h | 44 int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
| /linux/arch/loongarch/include/asm/ |
| H A D | kprobes.h | 48 bool kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
| /linux/arch/s390/include/asm/ |
| H A D | kprobes.h | 75 int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
| /linux/arch/mips/kernel/ |
| H A D | kprobes.c | 408 int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 448 && kprobe_fault_handler(args->regs, args->trapnr)) in kprobe_exceptions_notify()
|
| /linux/arch/sh/kernel/ |
| H A D | kprobes.c | 355 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 412 args->trapnr == (BREAKPOINT_INSTRUCTION & 0xff)) { in kprobe_exceptions_notify()
|
| H A D | hw_breakpoint.c | 385 if (args->trapnr != sh_ubc->trap_nr) in hw_breakpoint_exceptions_notify()
|
| /linux/drivers/misc/sgi-xp/ |
| H A D | xpc_main.c | 1157 if (die_args->trapnr == X86_TRAP_DF) in xpc_system_die() 1160 if (((die_args->trapnr == X86_TRAP_MF) || in xpc_system_die() 1161 (die_args->trapnr == X86_TRAP_XF)) && in xpc_system_die()
|
| /linux/arch/hexagon/kernel/ |
| H A D | kgdb.c | 165 if (kgdb_handle_exception(args->trapnr & 0xff, args->signr, args->err, in __kgdb_notify()
|
| /linux/arch/loongarch/kernel/ |
| H A D | kprobes.c | 288 bool kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument
|
| /linux/arch/arc/kernel/ |
| H A D | kprobes.c | 290 int __kprobes kprobe_fault_handler(struct pt_regs *regs, unsigned long trapnr) in kprobe_fault_handler() argument
|