Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/powerpc/kernel/
Duprobes.c55 autask->saved_trap_nr = current->thread.trap_nr; in arch_uprobe_pre_xol()
56 current->thread.trap_nr = UPROBE_TRAP_NR; in arch_uprobe_pre_xol()
86 if (t->thread.trap_nr != UPROBE_TRAP_NR) in arch_uprobe_xol_was_trapped()
103 WARN_ON_ONCE(current->thread.trap_nr != UPROBE_TRAP_NR); in arch_uprobe_post_xol()
105 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_post_xol()
158 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_abort_xol()
Dprocess.c604 current->thread.trap_nr = TRAP_HWBKPT; in do_send_trap()
617 current->thread.trap_nr = TRAP_HWBKPT; in do_break()
/Linux-v5.4/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.c394 if (notify_die(DIE_OOPS, str, regs, 0, current->thread.trap_nr, in die()
480 if (notify_die(DIE_OOPS, "bus error", regs, 0, current->thread.trap_nr, in do_be()
832 if (notify_die(DIE_FP, "FP exception", regs, 0, current->thread.trap_nr, in do_fpe()
924 if (kgdb_ll_trap(DIE_TRAP, str, regs, code, current->thread.trap_nr, in do_trap_or_bp()
929 if (notify_die(DIE_TRAP, str, regs, code, current->thread.trap_nr, in do_trap_or_bp()
990 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in do_bp()
1032 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
1038 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
1044 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
1050 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()
/Linux-v5.4/arch/x86/kernel/
Dtraps.c211 tsk->thread.trap_nr = trapnr; in do_trap_no_signal()
225 tsk->thread.trap_nr = trapnr; in do_trap_no_signal()
375 tsk->thread.trap_nr = X86_TRAP_DF; in do_double_fault()
543 tsk->thread.trap_nr = X86_TRAP_GP; in do_general_protection()
561 tsk->thread.trap_nr = X86_TRAP_GP; in do_general_protection()
833 task->thread.trap_nr = trapnr; in math_error()
846 task->thread.trap_nr = trapnr; in math_error()
Duprobes.c923 utask->autask.saved_trap_nr = current->thread.trap_nr; in arch_uprobe_pre_xol()
924 current->thread.trap_nr = UPROBE_TRAP_NR; in arch_uprobe_pre_xol()
946 if (t->thread.trap_nr != UPROBE_TRAP_NR) in arch_uprobe_xol_was_trapped()
965 WARN_ON_ONCE(current->thread.trap_nr != UPROBE_TRAP_NR); in arch_uprobe_post_xol()
966 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_post_xol()
1037 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_abort_xol()
Dumip.c289 tsk->thread.trap_nr = X86_TRAP_PF; in force_sig_info_umip_fault()
Ddumpstack.c392 current->thread.trap_nr, SIGSEGV) == NOTIFY_STOP) in __die()
Dsignal.c192 put_user_ex(current->thread.trap_nr, &sc->trapno); in setup_sigcontext()
Dvm86_32.c584 current->thread.trap_nr = trapno; in handle_vm86_trap()
/Linux-v5.4/arch/mips/mm/
Dfault.c62 current->thread.trap_nr, SIGSEGV) == NOTIFY_STOP) in __do_page_fault()
225 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in __do_page_fault()
280 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in __do_page_fault()
/Linux-v5.4/arch/mips/include/asm/
Dprocessor.h280 unsigned long trap_nr; member
358 .trap_nr = 0, \
/Linux-v5.4/arch/x86/kernel/fpu/
Dcore.c379 int fpu__exception_code(struct fpu *fpu, int trap_nr) in fpu__exception_code() argument
383 if (trap_nr == X86_TRAP_MF) { in fpu__exception_code()
/Linux-v5.4/arch/sh/include/asm/
Dhw_breakpoint.h32 unsigned int trap_nr; member
/Linux-v5.4/arch/sh/kernel/cpu/sh4a/
Dubc.c88 .trap_nr = 0x1e0,
/Linux-v5.4/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()
/Linux-v5.4/arch/sh/kernel/
Dhw_breakpoint.c385 if (args->trapnr != sh_ubc->trap_nr) in hw_breakpoint_exceptions_notify()
/Linux-v5.4/arch/x86/entry/vsyscall/
Dvsyscall_64.c111 thread->trap_nr = X86_TRAP_PF; in write_ok_or_segv()
/Linux-v5.4/arch/powerpc/include/asm/
Dprocessor.h181 unsigned long trap_nr; /* last trap # on this thread */ member
/Linux-v5.4/arch/powerpc/mm/
Dfault.c148 current->thread.trap_nr = BUS_ADRERR; in do_sigbus()
/Linux-v5.4/arch/x86/include/asm/fpu/
Dinternal.h35 extern int fpu__exception_code(struct fpu *fpu, int trap_nr);
/Linux-v5.4/arch/x86/ia32/
Dia32_signal.c199 put_user_ex(current->thread.trap_nr, &sc->trapno); in ia32_setup_sigcontext()
/Linux-v5.4/arch/x86/include/asm/
Dprocessor.h476 unsigned long trap_nr; member
/Linux-v5.4/arch/x86/mm/
Dfault.c701 tsk->thread.trap_nr = X86_TRAP_PF; in set_signal_archinfo()

12