Home
last modified time | relevance | path

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

12

/linux-5.19.10/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()
172 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_abort_xol()
/linux-5.19.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.c401 if (notify_die(DIE_OOPS, str, regs, 0, current->thread.trap_nr, in die()
487 if (notify_die(DIE_OOPS, "bus error", regs, 0, current->thread.trap_nr, in do_be()
881 if (notify_die(DIE_FP, "FP exception", regs, 0, current->thread.trap_nr, in do_fpe()
973 if (kgdb_ll_trap(DIE_TRAP, str, regs, code, current->thread.trap_nr, in do_trap_or_bp()
978 if (notify_die(DIE_TRAP, str, regs, code, current->thread.trap_nr, in do_trap_or_bp()
1035 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in do_bp()
1077 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
1083 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
1089 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
1095 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
[all …]
Dasm-offsets.c131 OFFSET(THREAD_TRAPNO, task_struct, thread.trap_nr); in output_thread_defines()
/linux-5.19.10/arch/loongarch/kernel/
Dtraps.c232 if (notify_die(DIE_OOPS, str, regs, 0, current->thread.trap_nr, in die()
334 if (notify_die(DIE_FP, "FP exception", regs, 0, current->thread.trap_nr, in do_fpe()
383 current->thread.trap_nr = read_csr_excode(); in do_bp()
396 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
402 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
408 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
414 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
420 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
470 current->thread.trap_nr = read_csr_excode(); in do_ri()
472 if (notify_die(DIE_RI, "RI Fault", regs, 0, current->thread.trap_nr, in do_ri()
Dasm-offsets.c128 OFFSET(THREAD_TRAPNO, task_struct, thread.trap_nr); in output_thread_defines()
/linux-5.19.10/arch/mips/mm/
Dfault.c62 current->thread.trap_nr, SIGSEGV) == NOTIFY_STOP) in __do_page_fault()
218 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in __do_page_fault()
273 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in __do_page_fault()
/linux-5.19.10/arch/x86/kernel/
Duprobes.c925 utask->autask.saved_trap_nr = current->thread.trap_nr; in arch_uprobe_pre_xol()
926 current->thread.trap_nr = UPROBE_TRAP_NR; in arch_uprobe_pre_xol()
948 if (t->thread.trap_nr != UPROBE_TRAP_NR) in arch_uprobe_xol_was_trapped()
967 WARN_ON_ONCE(current->thread.trap_nr != UPROBE_TRAP_NR); in arch_uprobe_post_xol()
968 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()
Dtraps.c121 tsk->thread.trap_nr = trapnr; in do_trap_no_signal()
138 tsk->thread.trap_nr = trapnr; in do_trap_no_signal()
498 tsk->thread.trap_nr = X86_TRAP_DF; in DEFINE_IDTENTRY_DF()
697 current->thread.trap_nr = trapnr; in gp_try_fixup_and_notify()
714 current->thread.trap_nr = trapnr; in gp_user_force_sig_segv()
1206 task->thread.trap_nr = trapnr; in math_error()
1220 task->thread.trap_nr = trapnr; in math_error()
Dumip.c307 tsk->thread.trap_nr = X86_TRAP_PF; in force_sig_info_umip_fault()
Ddumpstack.c415 current->thread.trap_nr, SIGSEGV) == NOTIFY_STOP) in __die_body()
/linux-5.19.10/arch/loongarch/include/asm/
Dprocessor.h121 unsigned long trap_nr; member
156 .trap_nr = 0, \
/linux-5.19.10/arch/loongarch/mm/
Dfault.c81 current->thread.trap_nr = read_csr_excode(); in do_sigbus()
103 current->thread.trap_nr = read_csr_excode(); in do_sigsegv()
/linux-5.19.10/arch/mips/include/asm/
Dprocessor.h263 unsigned long trap_nr; member
338 .trap_nr = 0, \
/linux-5.19.10/arch/sh/include/asm/
Dhw_breakpoint.h32 unsigned int trap_nr; member
/linux-5.19.10/arch/x86/include/asm/fpu/
Dapi.h106 extern int fpu__exception_code(struct fpu *fpu, int trap_nr);
/linux-5.19.10/arch/sh/kernel/cpu/sh4a/
Dubc.c88 .trap_nr = 0x1e0,
/linux-5.19.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()
/linux-5.19.10/arch/x86/kernel/fpu/
Dcore.c790 int fpu__exception_code(struct fpu *fpu, int trap_nr) in fpu__exception_code() argument
794 if (trap_nr == X86_TRAP_MF) { in fpu__exception_code()
/linux-5.19.10/arch/sh/kernel/
Dhw_breakpoint.c385 if (args->trapnr != sh_ubc->trap_nr) in hw_breakpoint_exceptions_notify()
/linux-5.19.10/arch/x86/entry/vsyscall/
Dvsyscall_64.c111 thread->trap_nr = X86_TRAP_PF; in write_ok_or_segv()
/linux-5.19.10/arch/powerpc/include/asm/
Dprocessor.h183 unsigned long trap_nr; /* last trap # on this thread */ member
/linux-5.19.10/arch/powerpc/mm/
Dfault.c143 current->thread.trap_nr = BUS_ADRERR; in do_sigbus()
/linux-5.19.10/arch/x86/include/asm/
Dprocessor.h505 unsigned long trap_nr; member
/linux-5.19.10/arch/x86/ia32/
Dia32_signal.c174 unsafe_put_user(current->thread.trap_nr, &sc->trapno, Efault); in __unsafe_setup_sigcontext32()

12