| /linux/arch/powerpc/kernel/ |
| H A D | uprobes.c | 68 autask->saved_trap_nr = current->thread.trap_nr; in arch_uprobe_pre_xol() 69 current->thread.trap_nr = UPROBE_TRAP_NR; in arch_uprobe_pre_xol() 99 if (t->thread.trap_nr != UPROBE_TRAP_NR) in arch_uprobe_xol_was_trapped() 116 WARN_ON_ONCE(current->thread.trap_nr != UPROBE_TRAP_NR); in arch_uprobe_post_xol() 118 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_post_xol() 172 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_abort_xol()
|
| /linux/arch/loongarch/kernel/ |
| H A D | uprobes.c | 42 utask->autask.saved_trap_nr = current->thread.trap_nr; in arch_uprobe_pre_xol() 43 current->thread.trap_nr = UPROBE_TRAP_NR; in arch_uprobe_pre_xol() 53 WARN_ON_ONCE(current->thread.trap_nr != UPROBE_TRAP_NR); in arch_uprobe_post_xol() 54 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_post_xol() 64 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_abort_xol() 70 if (t->thread.trap_nr != UPROBE_TRAP_NR) in arch_uprobe_xol_was_trapped()
|
| H A D | traps.c | 416 current->thread.trap_nr, SIGSEGV); in die() 522 if (notify_die(DIE_FP, "FP exception", regs, 0, current->thread.trap_nr, in do_fpe() 648 current->thread.trap_nr = read_csr_excode(); in do_bce() 773 current->thread.trap_nr = read_csr_excode(); in do_bp() 775 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 872 current->thread.trap_nr = read_csr_excode(); in do_ri() 874 if (notify_die(DIE_RI, "RI Fault", regs, 0, current->thread.trap_nr, in do_ri()
|
| H A D | asm-offsets.c | 131 OFFSET(THREAD_TRAPNO, task_struct, thread.trap_nr); in output_thread_defines()
|
| /linux/arch/mips/kernel/ |
| H A D | traps.c | 403 if (notify_die(DIE_OOPS, str, regs, 0, current->thread.trap_nr, in die() 489 if (notify_die(DIE_OOPS, "bus error", regs, 0, current->thread.trap_nr, in do_be() 883 if (notify_die(DIE_FP, "FP exception", regs, 0, current->thread.trap_nr, in do_fpe() 975 if (kgdb_ll_trap(DIE_TRAP, str, regs, code, current->thread.trap_nr, in do_trap_or_bp() 980 if (notify_die(DIE_TRAP, str, regs, code, current->thread.trap_nr, in do_trap_or_bp() 1037 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in do_bp() 1079 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 1085 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 1091 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 1097 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() [all …]
|
| H A D | asm-offsets.c | 144 OFFSET(THREAD_TRAPNO, task_struct, thread.trap_nr); in output_thread_defines()
|
| /linux/arch/mips/mm/ |
| H A D | fault.c | 63 current->thread.trap_nr, SIGSEGV) == NOTIFY_STOP) in __do_page_fault() 215 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in __do_page_fault() 270 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in __do_page_fault()
|
| /linux/arch/loongarch/mm/ |
| H A D | fault.c | 128 current->thread.trap_nr = read_csr_excode(); in do_sigbus() 150 current->thread.trap_nr = read_csr_excode(); in do_sigsegv() 185 if (kprobe_page_fault(regs, current->thread.trap_nr)) in __do_page_fault()
|
| /linux/arch/loongarch/include/asm/ |
| H A D | processor.h | 128 unsigned long trap_nr; member 174 .trap_nr = 0, \
|
| /linux/arch/mips/include/asm/ |
| H A D | processor.h | 265 unsigned long trap_nr; member 343 .trap_nr = 0, \
|
| /linux/arch/sh/include/asm/ |
| H A D | hw_breakpoint.h | 32 unsigned int trap_nr; member
|
| /linux/arch/sh/kernel/cpu/sh4a/ |
| H A D | ubc.c | 88 .trap_nr = 0x1e0,
|
| /linux/arch/x86/kernel/ |
| H A D | uprobes.c | 1712 utask->autask.saved_trap_nr = current->thread.trap_nr; in arch_uprobe_pre_xol() 1713 current->thread.trap_nr = UPROBE_TRAP_NR; in arch_uprobe_pre_xol() 1735 if (t->thread.trap_nr != UPROBE_TRAP_NR) in arch_uprobe_xol_was_trapped() 1754 WARN_ON_ONCE(current->thread.trap_nr != UPROBE_TRAP_NR); in arch_uprobe_post_xol() 1755 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_post_xol() 1828 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_abort_xol()
|
| H A D | signal_64.c | 119 unsafe_put_user(current->thread.trap_nr, &sc->trapno, Efault); in __unsafe_setup_sigcontext()
|
| H A D | vm86_32.c | 541 current->thread.trap_nr = trapno; in handle_vm86_trap()
|
| H A D | ptrace.c | 1412 tsk->thread.trap_nr = X86_TRAP_DB; in send_sigtrap()
|
| /linux/arch/sh/kernel/ |
| H A D | hw_breakpoint.c | 385 if (args->trapnr != sh_ubc->trap_nr) in hw_breakpoint_exceptions_notify()
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | bus_lock.c | 295 current->thread.trap_nr = X86_TRAP_AC; in handle_guest_split_lock()
|
| /linux/arch/powerpc/include/asm/ |
| H A D | processor.h | 177 unsigned long trap_nr; /* last trap # on this thread */ member
|