Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/arch/powerpc/kernel/
Duprobes.c56 autask->saved_trap_nr = current->thread.trap_nr; in arch_uprobe_pre_xol()
57 current->thread.trap_nr = UPROBE_TRAP_NR; in arch_uprobe_pre_xol()
87 if (t->thread.trap_nr != UPROBE_TRAP_NR) in arch_uprobe_xol_was_trapped()
104 WARN_ON_ONCE(current->thread.trap_nr != UPROBE_TRAP_NR); in arch_uprobe_post_xol()
106 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_post_xol()
159 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_abort_xol()
Dprocess.c615 current->thread.trap_nr = TRAP_HWBKPT; in do_send_trap()
666 current->thread.trap_nr = TRAP_HWBKPT; in do_break()
/kernel/linux/linux-5.10/arch/mips/kernel/
Duprobes.c119 utask->autask.saved_trap_nr = current->thread.trap_nr; in arch_uprobe_pre_xol()
120 current->thread.trap_nr = UPROBE_TRAP_NR; in arch_uprobe_pre_xol()
130 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_post_xol()
148 if (tsk->thread.trap_nr != UPROBE_TRAP_NR) in arch_uprobe_xol_was_trapped()
Dtraps.c392 if (notify_die(DIE_OOPS, str, regs, 0, current->thread.trap_nr, in die()
478 if (notify_die(DIE_OOPS, "bus error", regs, 0, current->thread.trap_nr, in do_be()
874 if (notify_die(DIE_FP, "FP exception", regs, 0, current->thread.trap_nr, in do_fpe()
966 if (kgdb_ll_trap(DIE_TRAP, str, regs, code, current->thread.trap_nr, in do_trap_or_bp()
971 if (notify_die(DIE_TRAP, str, regs, code, current->thread.trap_nr, in do_trap_or_bp()
1032 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in do_bp()
1074 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
1080 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
1086 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
1092 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
[all …]
Dasm-offsets.c133 OFFSET(THREAD_TRAPNO, task_struct, thread.trap_nr); in output_thread_defines()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dtraps.c118 tsk->thread.trap_nr = trapnr; in do_trap_no_signal()
132 tsk->thread.trap_nr = trapnr; in do_trap_no_signal()
414 tsk->thread.trap_nr = X86_TRAP_DF; in DEFINE_IDTENTRY_DF()
586 tsk->thread.trap_nr = X86_TRAP_GP; in DEFINE_IDTENTRY_ERRORCODE()
597 tsk->thread.trap_nr = X86_TRAP_GP; in DEFINE_IDTENTRY_ERRORCODE()
1066 task->thread.trap_nr = trapnr; in math_error()
1079 task->thread.trap_nr = trapnr; in math_error()
Duprobes.c927 utask->autask.saved_trap_nr = current->thread.trap_nr; in arch_uprobe_pre_xol()
928 current->thread.trap_nr = UPROBE_TRAP_NR; in arch_uprobe_pre_xol()
950 if (t->thread.trap_nr != UPROBE_TRAP_NR) in arch_uprobe_xol_was_trapped()
969 WARN_ON_ONCE(current->thread.trap_nr != UPROBE_TRAP_NR); in arch_uprobe_post_xol()
970 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_post_xol()
1041 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_abort_xol()
Dumip.c307 tsk->thread.trap_nr = X86_TRAP_PF; in force_sig_info_umip_fault()
Ddumpstack.c421 current->thread.trap_nr, SIGSEGV) == NOTIFY_STOP) in __die_body()
Dvm86_32.c576 current->thread.trap_nr = trapno; in handle_vm86_trap()
Dsignal.c174 unsafe_put_user(current->thread.trap_nr, &sc->trapno, Efault); in __unsafe_setup_sigcontext()
/kernel/linux/linux-5.10/arch/mips/mm/
Dfault.c62 current->thread.trap_nr, SIGSEGV) == NOTIFY_STOP) in __do_page_fault()
216 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in __do_page_fault()
271 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in __do_page_fault()
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dprocessor.h282 unsigned long trap_nr; member
360 .trap_nr = 0, \
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dhw_breakpoint.h32 unsigned int trap_nr; member
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/
Dcore.c442 int fpu__exception_code(struct fpu *fpu, int trap_nr) in fpu__exception_code() argument
446 if (trap_nr == X86_TRAP_MF) { in fpu__exception_code()
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4a/
Dubc.c88 .trap_nr = 0x1e0,
/kernel/linux/linux-5.10/arch/x86/math-emu/
Dfpu_entry.c231 current->thread.trap_nr = X86_TRAP_MF; in math_emulate()
624 current->thread.trap_nr = X86_TRAP_MF; in math_abort()
/kernel/linux/linux-5.10/arch/sh/kernel/
Dhw_breakpoint.c385 if (args->trapnr != sh_ubc->trap_nr) in hw_breakpoint_exceptions_notify()
/kernel/linux/linux-5.10/arch/x86/entry/vsyscall/
Dvsyscall_64.c111 thread->trap_nr = X86_TRAP_PF; in write_ok_or_segv()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dprocessor.h186 unsigned long trap_nr; /* last trap # on this thread */ member
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dfault.c142 current->thread.trap_nr = BUS_ADRERR; in do_sigbus()
/kernel/linux/linux-5.10/arch/x86/include/asm/fpu/
Dinternal.h37 extern int fpu__exception_code(struct fpu *fpu, int trap_nr);
/kernel/linux/linux-5.10/arch/x86/ia32/
Dia32_signal.c175 unsafe_put_user(current->thread.trap_nr, &sc->trapno, Efault); in __unsafe_setup_sigcontext32()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dprocessor.h521 unsigned long trap_nr; member
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Dintel.c1112 current->thread.trap_nr = X86_TRAP_AC; in handle_guest_split_lock()

12