Home
last modified time | relevance | path

Searched refs:trap_nr (Results 1 – 19 of 19) sorted by relevance

/linux/arch/powerpc/kernel/
H A Duprobes.c68 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 Duprobes.c42 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 Dtraps.c416 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 Dasm-offsets.c131 OFFSET(THREAD_TRAPNO, task_struct, thread.trap_nr); in output_thread_defines()
/linux/arch/mips/kernel/
H A Dtraps.c403 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 Dasm-offsets.c144 OFFSET(THREAD_TRAPNO, task_struct, thread.trap_nr); in output_thread_defines()
/linux/arch/mips/mm/
H A Dfault.c63 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 Dfault.c128 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 Dprocessor.h128 unsigned long trap_nr; member
174 .trap_nr = 0, \
/linux/arch/mips/include/asm/
H A Dprocessor.h265 unsigned long trap_nr; member
343 .trap_nr = 0, \
/linux/arch/sh/include/asm/
H A Dhw_breakpoint.h32 unsigned int trap_nr; member
/linux/arch/sh/kernel/cpu/sh4a/
H A Dubc.c88 .trap_nr = 0x1e0,
/linux/arch/x86/kernel/
H A Duprobes.c1712 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 Dsignal_64.c119 unsafe_put_user(current->thread.trap_nr, &sc->trapno, Efault); in __unsafe_setup_sigcontext()
H A Dvm86_32.c541 current->thread.trap_nr = trapno; in handle_vm86_trap()
H A Dptrace.c1412 tsk->thread.trap_nr = X86_TRAP_DB; in send_sigtrap()
/linux/arch/sh/kernel/
H A Dhw_breakpoint.c385 if (args->trapnr != sh_ubc->trap_nr) in hw_breakpoint_exceptions_notify()
/linux/arch/x86/kernel/cpu/
H A Dbus_lock.c295 current->thread.trap_nr = X86_TRAP_AC; in handle_guest_split_lock()
/linux/arch/powerpc/include/asm/
H A Dprocessor.h177 unsigned long trap_nr; /* last trap # on this thread */ member