Home
last modified time | relevance | path

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

12

/arch/powerpc/kernel/
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()
171 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_abort_xol()
Dprocess.c587 current->thread.trap_nr = signal_code; in do_send_trap()
605 current->thread.trap_nr = TRAP_HWBKPT; in do_break()
/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.c393 if (notify_die(DIE_OOPS, str, regs, 0, current->thread.trap_nr, in die()
479 if (notify_die(DIE_OOPS, "bus error", regs, 0, current->thread.trap_nr, in do_be()
842 if (notify_die(DIE_FP, "FP exception", regs, 0, current->thread.trap_nr, in do_fpe()
898 if (kgdb_ll_trap(DIE_TRAP, str, regs, code, current->thread.trap_nr, in do_trap_or_bp()
903 if (notify_die(DIE_TRAP, str, regs, code, current->thread.trap_nr, in do_trap_or_bp()
970 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in do_bp()
1012 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
1018 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
1024 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
1030 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
[all …]
Dasm-offsets.c134 OFFSET(THREAD_TRAPNO, task_struct, thread.trap_nr); in output_thread_defines()
/arch/x86/kernel/
Dtraps.c212 tsk->thread.trap_nr = trapnr; in do_trap_no_signal()
269 tsk->thread.trap_nr = trapnr; in do_trap()
396 tsk->thread.trap_nr = X86_TRAP_DF; in do_double_fault()
551 tsk->thread.trap_nr = X86_TRAP_GP; in do_general_protection()
559 tsk->thread.trap_nr = X86_TRAP_GP; in do_general_protection()
838 task->thread.trap_nr = trapnr; in math_error()
851 task->thread.trap_nr = trapnr; in math_error()
Duprobes.c833 utask->autask.saved_trap_nr = current->thread.trap_nr; in arch_uprobe_pre_xol()
834 current->thread.trap_nr = UPROBE_TRAP_NR; in arch_uprobe_pre_xol()
856 if (t->thread.trap_nr != UPROBE_TRAP_NR) in arch_uprobe_xol_was_trapped()
875 WARN_ON_ONCE(current->thread.trap_nr != UPROBE_TRAP_NR); in arch_uprobe_post_xol()
876 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_post_xol()
947 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_abort_xol()
Ddumpstack.c326 current->thread.trap_nr, SIGSEGV) == NOTIFY_STOP) in __die()
Dsignal.c191 put_user_ex(current->thread.trap_nr, &sc->trapno); in setup_sigcontext()
Dvm86_32.c584 current->thread.trap_nr = trapno; in handle_vm86_trap()
Dptrace.c1421 tsk->thread.trap_nr = X86_TRAP_DB; in fill_sigtrap_info()
/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()
284 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in __do_page_fault()
/arch/sh/include/asm/
Dhw_breakpoint.h33 unsigned int trap_nr; member
/arch/mips/include/asm/
Dprocessor.h288 unsigned long trap_nr; member
359 .trap_nr = 0, \
/arch/x86/kernel/fpu/
Dcore.c405 int fpu__exception_code(struct fpu *fpu, int trap_nr) in fpu__exception_code() argument
409 if (trap_nr == X86_TRAP_MF) { in fpu__exception_code()
/arch/sh/kernel/cpu/sh4a/
Dubc.c91 .trap_nr = 0x1e0,
/arch/x86/mm/
Dfault.c744 tsk->thread.trap_nr = X86_TRAP_PF; in pgtable_bad()
778 tsk->thread.trap_nr = X86_TRAP_PF; in no_context()
853 tsk->thread.trap_nr = X86_TRAP_PF; in no_context()
938 tsk->thread.trap_nr = X86_TRAP_PF; in __bad_area_nosemaphore()
1035 tsk->thread.trap_nr = X86_TRAP_PF; in do_sigbus()
/arch/x86/math-emu/
Dfpu_entry.c234 current->thread.trap_nr = X86_TRAP_MF; in math_emulate()
627 current->thread.trap_nr = X86_TRAP_MF; in math_abort()
/arch/sh/kernel/
Dhw_breakpoint.c400 if (args->trapnr != sh_ubc->trap_nr) in hw_breakpoint_exceptions_notify()
/arch/x86/entry/vsyscall/
Dvsyscall_64.c112 thread->trap_nr = X86_TRAP_PF; in write_ok_or_segv()
/arch/powerpc/include/asm/
Dprocessor.h267 unsigned long trap_nr; /* last trap # on this thread */ member
/arch/powerpc/mm/
Dfault.c162 current->thread.trap_nr = BUS_ADRERR; in do_sigbus()
/arch/x86/include/asm/fpu/
Dinternal.h36 extern int fpu__exception_code(struct fpu *fpu, int trap_nr);
/arch/x86/ia32/
Dia32_signal.c200 put_user_ex(current->thread.trap_nr, &sc->trapno); in ia32_setup_sigcontext()
/arch/x86/include/asm/
Dprocessor.h489 unsigned long trap_nr; member

12