/arch/x86/mm/ |
D | extable.c | 21 struct pt_regs *regs, int trapnr) in ex_handler_default() argument 29 struct pt_regs *regs, int trapnr) in ex_handler_fault() argument 32 regs->ax = trapnr; in ex_handler_fault() 38 struct pt_regs *regs, int trapnr) in ex_handler_ext() argument 48 struct pt_regs *regs, int trapnr) in ex_handler_rdmsr_unsafe() argument 63 struct pt_regs *regs, int trapnr) in ex_handler_wrmsr_unsafe() argument 77 struct pt_regs *regs, int trapnr) in ex_handler_clear_fs() argument 82 return ex_handler_default(fixup, regs, trapnr); in ex_handler_clear_fs() 99 int fixup_exception(struct pt_regs *regs, int trapnr) in fixup_exception() argument 123 return handler(e, regs, trapnr); in fixup_exception() [all …]
|
/arch/x86/kernel/ |
D | traps.c | 172 do_trap_no_signal(struct task_struct *tsk, int trapnr, char *str, in do_trap_no_signal() argument 180 if (trapnr < X86_TRAP_UD) { in do_trap_no_signal() 182 error_code, trapnr)) in do_trap_no_signal() 189 if (!fixup_exception(regs, trapnr)) { in do_trap_no_signal() 191 tsk->thread.trap_nr = trapnr; in do_trap_no_signal() 200 static siginfo_t *fill_trap_info(struct pt_regs *regs, int signr, int trapnr, in fill_trap_info() argument 206 switch (trapnr) { in fill_trap_info() 232 do_trap(int trapnr, int signr, char *str, struct pt_regs *regs, in do_trap() argument 238 if (!do_trap_no_signal(tsk, trapnr, str, regs, error_code)) in do_trap() 250 tsk->thread.trap_nr = trapnr; in do_trap() [all …]
|
D | kgdb.c | 504 kgdb_arch_handle_exception(args->trapnr, args->signr, in single_step_cont() 569 if (kgdb_handle_exception(args->trapnr, args->signr, cmd, regs)) in __kgdb_notify() 584 .trapnr = trap, in kgdb_ll_trap()
|
/arch/blackfin/kernel/ |
D | traps.c | 28 kgdb_handle_exception(trapnr, sig, info.si_code, fp); \ 81 unsigned long trapnr = fp->seqstat & SEQSTAT_EXCAUSE; in trap_c() local 101 switch (trapnr) { in trap_c() 445 if (trapnr == VEC_CPLB_I_M || trapnr == VEC_CPLB_M) in trap_c() 479 switch (trapnr) { in trap_c() 493 if ((ANOMALY_05000461 && trapnr == VEC_HWERR && !access_ok(VERIFY_READ, fp->pc, 8)) || in trap_c() 494 (ANOMALY_05000281 && trapnr == VEC_HWERR) || in trap_c() 495 (ANOMALY_05000189 && (trapnr == VEC_CPLB_I_VL || trapnr == VEC_CPLB_VL))) in trap_c()
|
/arch/x86/include/asm/ |
D | extable.h | 31 extern int fixup_exception(struct pt_regs *regs, int trapnr); 33 extern void early_fixup_exception(struct pt_regs *regs, int trapnr);
|
D | kprobes.h | 114 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/arch/m32r/kernel/ |
D | traps.c | 236 static __inline__ void do_trap(int trapnr, int signr, const char * str, in do_trap() argument 243 tsk->thread.trap_no = trapnr; in do_trap() 257 #define DO_ERROR(trapnr, signr, str, name) \ argument 260 do_trap(trapnr, signr, NULL, regs, error_code, NULL); \ 263 #define DO_ERROR_INFO(trapnr, signr, str, name, sicode, siaddr) \ argument 271 do_trap(trapnr, signr, str, regs, error_code, &info); \
|
/arch/avr32/kernel/ |
D | kprobes.c | 186 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 190 pr_debug("kprobe_fault_handler: trapnr=%d\n", trapnr); in kprobe_fault_handler() 192 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
|
/arch/avr32/include/asm/ |
D | kprobes.h | 43 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/arch/sparc/include/asm/ |
D | kprobes.h | 48 int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/arch/sh/include/asm/ |
D | kprobes.h | 48 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/arch/s390/include/asm/ |
D | kprobes.h | 84 int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/arch/s390/kernel/ |
D | kprobes.c | 564 static int kprobe_trap_handler(struct pt_regs *regs, int trapnr) in kprobe_trap_handler() argument 603 if (p->fault_handler && p->fault_handler(p, regs, trapnr)) in kprobe_trap_handler() 628 int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 634 ret = kprobe_trap_handler(regs, trapnr); in kprobe_fault_handler() 665 kprobe_trap_handler(regs, args->trapnr)) in kprobe_exceptions_notify()
|
/arch/ia64/include/asm/ |
D | kprobes.h | 119 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/arch/tile/kernel/ |
D | kprobes.c | 316 static inline int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 321 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler() 362 && kprobe_fault_handler(args->regs, args->trapnr)) in kprobe_exceptions_notify()
|
/arch/powerpc/include/asm/ |
D | kprobes.h | 129 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/arch/mips/kernel/ |
D | kprobes.c | 418 static inline int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 423 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler() 461 && kprobe_fault_handler(args->regs, args->trapnr)) in kprobe_exceptions_notify()
|
/arch/mn10300/kernel/ |
D | kprobes.c | 549 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 552 cur_kprobe->fault_handler(cur_kprobe, regs, trapnr)) in kprobe_fault_handler() 583 kprobe_fault_handler(args->regs, args->trapnr)) in kprobe_exceptions_notify()
|
/arch/x86/kernel/kprobes/ |
D | core.c | 963 int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 1014 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler() 1021 if (fixup_exception(regs, trapnr)) in kprobe_fault_handler() 1053 kprobe_fault_handler(args->regs, args->trapnr)) in kprobe_exceptions_notify()
|
/arch/powerpc/kernel/ |
D | kprobes.c | 403 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 444 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
|
/arch/arc/kernel/ |
D | kprobes.c | 298 int __kprobes kprobe_fault_handler(struct pt_regs *regs, unsigned long trapnr) in kprobe_fault_handler() argument 342 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
|
/arch/sparc/kernel/ |
D | kprobes.c | 323 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 365 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
|
/arch/hexagon/kernel/ |
D | kgdb.c | 209 if (kgdb_handle_exception(args->trapnr & 0xff, args->signr, args->err, in __kgdb_notify()
|
/arch/sh/kernel/ |
D | kprobes.c | 420 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 459 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
|
D | hw_breakpoint.c | 398 if (args->trapnr != sh_ubc->trap_nr) in hw_breakpoint_exceptions_notify()
|