Home
last modified time | relevance | path

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

/arch/x86/kernel/
Dtraps.c166 do_trap(int trapnr, int signr, char *str, struct pt_regs *regs, in do_trap() argument
177 if (trapnr < 6) in do_trap()
199 tsk->thread.trap_no = trapnr; in do_trap()
222 tsk->thread.trap_no = trapnr; in do_trap()
230 error_code, trapnr)) in do_trap()
236 #define DO_ERROR(trapnr, signr, str, name) \ argument
239 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) \
243 do_trap(trapnr, signr, str, regs, error_code, NULL); \
246 #define DO_ERROR_INFO(trapnr, signr, str, name, sicode, siaddr) \ argument
254 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) \
[all …]
Dkgdb.c434 kgdb_arch_handle_exception(args->trapnr, args->signr, in single_step_cont()
494 if (kgdb_handle_exception(args->trapnr, args->signr, args->err, regs)) in __kgdb_notify()
Dkprobes.c891 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument
930 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
979 kprobe_fault_handler(args->regs, args->trapnr)) in kprobe_exceptions_notify()
/arch/m32r/kernel/
Dtraps.c248 static __inline__ void do_trap(int trapnr, int signr, const char * str, in do_trap() argument
255 tsk->thread.trap_no = trapnr; in do_trap()
269 #define DO_ERROR(trapnr, signr, str, name) \ argument
272 do_trap(trapnr, signr, NULL, regs, error_code, NULL); \
275 #define DO_ERROR_INFO(trapnr, signr, str, name, sicode, siaddr) \ argument
283 do_trap(trapnr, signr, str, regs, error_code, &info); \
/arch/sh/kernel/
Dtraps_64.c38 extern void show_excp_regs(char *fname, int trapnr, int signr,
44 static void do_unhandled_exception(int trapnr, int signr, char *str, char *fn_name,
47 #define DO_ERROR(trapnr, signr, str, name, tsk) \ argument
50 do_unhandled_exception(trapnr, signr, str, __stringify(name), error_code, regs, current); \
149 int trapnr = 12; in do_reserved_inst() local
222 trapnr = 87; in do_reserved_inst()
228 …do_unhandled_exception(trapnr, signr, exception_name, "do_reserved_inst", error_code, regs, curren… in do_reserved_inst()
282 static void do_unhandled_exception(int trapnr, int signr, char *str, char *fn_name, in do_unhandled_exception() argument
285 show_excp_regs(fn_name, trapnr, signr, regs); in do_unhandled_exception()
287 tsk->thread.trap_no = trapnr; in do_unhandled_exception()
Dkprobes.c410 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument
449 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
/arch/avr32/kernel/
Dkprobes.c186 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/
Dkprobes.h29 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/arch/sparc/include/asm/
Dkprobes.h48 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/arch/x86/include/asm/
Dkprobes.h85 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/arch/sh/include/asm/
Dkprobes.h49 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/arch/s390/include/asm/
Dkprobes.h97 int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/arch/ia64/include/asm/
Dkprobes.h124 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/arch/powerpc/include/asm/
Dkprobes.h116 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
/arch/blackfin/kernel/
Dtraps.c50 kgdb_handle_exception(trapnr, sig, info.si_code, fp); \
239 unsigned long trapnr = fp->seqstat & SEQSTAT_EXCAUSE; in trap_c() local
255 if ((bfin_read_IPEND() & 0xFFC0) && (trapnr != VEC_STEP) in trap_c()
257 && (trapnr != VEC_EXCPT02) in trap_c()
278 switch (trapnr) { in trap_c()
552 if (trapnr == VEC_CPLB_I_M || trapnr == VEC_CPLB_M) in trap_c()
/arch/mn10300/kernel/
Dkprobes.c546 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument
549 current_kprobe->fault_handler(current_kprobe, regs, trapnr)) in kprobe_fault_handler()
580 kprobe_fault_handler(args->regs, args->trapnr)) in kprobe_exceptions_notify()
/arch/s390/kernel/
Dkprobes.c508 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument
552 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
598 kprobe_fault_handler(args->regs, args->trapnr)) in kprobe_exceptions_notify()
/arch/sparc/kernel/
Dkprobes.c318 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument
360 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
/arch/powerpc/kernel/
Dkprobes.c428 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument
469 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
/arch/sh/lib64/
Ddbg.c272 void show_excp_regs(char *from, int trapnr, int signr, struct pt_regs *regs) in show_excp_regs() argument
279 ((from) ? from : "???"), current->pid, trapnr, signr); in show_excp_regs()
/arch/ia64/kernel/
Dkprobes.c922 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument
962 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()