/linux-6.1.9/arch/powerpc/kernel/ |
D | uprobes.c | 68 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-6.1.9/arch/mips/kernel/ |
D | uprobes.c | 119 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()
|
D | traps.c | 401 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 …]
|
D | asm-offsets.c | 131 OFFSET(THREAD_TRAPNO, task_struct, thread.trap_nr); in output_thread_defines()
|
/linux-6.1.9/arch/loongarch/kernel/ |
D | traps.c | 235 if (notify_die(DIE_OOPS, str, regs, 0, current->thread.trap_nr, in die() 340 if (notify_die(DIE_FP, "FP exception", regs, 0, current->thread.trap_nr, in do_fpe() 412 current->thread.trap_nr = read_csr_excode(); in do_bp() 425 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 431 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 437 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 443 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 449 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 496 current->thread.trap_nr = read_csr_excode(); in do_ri() 498 if (notify_die(DIE_RI, "RI Fault", regs, 0, current->thread.trap_nr, in do_ri()
|
D | asm-offsets.c | 130 OFFSET(THREAD_TRAPNO, task_struct, thread.trap_nr); in output_thread_defines()
|
/linux-6.1.9/arch/mips/mm/ |
D | fault.c | 62 current->thread.trap_nr, SIGSEGV) == NOTIFY_STOP) in __do_page_fault() 222 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in __do_page_fault() 277 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in __do_page_fault()
|
/linux-6.1.9/arch/x86/kernel/ |
D | uprobes.c | 927 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() 1043 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_abort_xol()
|
D | traps.c | 123 tsk->thread.trap_nr = trapnr; in do_trap_no_signal() 140 tsk->thread.trap_nr = trapnr; in do_trap_no_signal() 507 tsk->thread.trap_nr = X86_TRAP_DF; in DEFINE_IDTENTRY_DF() 706 current->thread.trap_nr = trapnr; in gp_try_fixup_and_notify() 723 current->thread.trap_nr = trapnr; in gp_user_force_sig_segv() 1215 task->thread.trap_nr = trapnr; in math_error() 1229 task->thread.trap_nr = trapnr; in math_error()
|
D | umip.c | 307 tsk->thread.trap_nr = X86_TRAP_PF; in force_sig_info_umip_fault()
|
D | dumpstack.c | 421 current->thread.trap_nr, SIGSEGV) == NOTIFY_STOP) in __die_body()
|
/linux-6.1.9/arch/loongarch/include/asm/ |
D | processor.h | 125 unsigned long trap_nr; member 165 .trap_nr = 0, \
|
/linux-6.1.9/arch/loongarch/mm/ |
D | fault.c | 81 current->thread.trap_nr = read_csr_excode(); in do_sigbus() 103 current->thread.trap_nr = read_csr_excode(); in do_sigsegv()
|
/linux-6.1.9/arch/mips/include/asm/ |
D | processor.h | 263 unsigned long trap_nr; member 338 .trap_nr = 0, \
|
/linux-6.1.9/arch/sh/include/asm/ |
D | hw_breakpoint.h | 32 unsigned int trap_nr; member
|
/linux-6.1.9/arch/x86/include/asm/fpu/ |
D | api.h | 106 extern int fpu__exception_code(struct fpu *fpu, int trap_nr);
|
/linux-6.1.9/arch/sh/kernel/cpu/sh4a/ |
D | ubc.c | 88 .trap_nr = 0x1e0,
|
/linux-6.1.9/arch/x86/math-emu/ |
D | fpu_entry.c | 231 current->thread.trap_nr = X86_TRAP_MF; in math_emulate() 624 current->thread.trap_nr = X86_TRAP_MF; in math_abort()
|
/linux-6.1.9/arch/x86/kernel/fpu/ |
D | core.c | 787 int fpu__exception_code(struct fpu *fpu, int trap_nr) in fpu__exception_code() argument 791 if (trap_nr == X86_TRAP_MF) { in fpu__exception_code()
|
/linux-6.1.9/arch/sh/kernel/ |
D | hw_breakpoint.c | 385 if (args->trapnr != sh_ubc->trap_nr) in hw_breakpoint_exceptions_notify()
|
/linux-6.1.9/arch/x86/entry/vsyscall/ |
D | vsyscall_64.c | 111 thread->trap_nr = X86_TRAP_PF; in write_ok_or_segv()
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | processor.h | 182 unsigned long trap_nr; /* last trap # on this thread */ member
|
/linux-6.1.9/arch/powerpc/mm/ |
D | fault.c | 143 current->thread.trap_nr = BUS_ADRERR; in do_sigbus()
|
/linux-6.1.9/arch/x86/include/asm/ |
D | processor.h | 505 unsigned long trap_nr; member
|
/linux-6.1.9/arch/x86/ia32/ |
D | ia32_signal.c | 174 unsafe_put_user(current->thread.trap_nr, &sc->trapno, Efault); in __unsafe_setup_sigcontext32()
|