/linux-5.19.10/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-5.19.10/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-5.19.10/arch/loongarch/kernel/ |
D | traps.c | 232 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()
|
D | asm-offsets.c | 128 OFFSET(THREAD_TRAPNO, task_struct, thread.trap_nr); in output_thread_defines()
|
/linux-5.19.10/arch/mips/mm/ |
D | fault.c | 62 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/ |
D | uprobes.c | 925 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()
|
D | traps.c | 121 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()
|
D | umip.c | 307 tsk->thread.trap_nr = X86_TRAP_PF; in force_sig_info_umip_fault()
|
D | dumpstack.c | 415 current->thread.trap_nr, SIGSEGV) == NOTIFY_STOP) in __die_body()
|
/linux-5.19.10/arch/loongarch/include/asm/ |
D | processor.h | 121 unsigned long trap_nr; member 156 .trap_nr = 0, \
|
/linux-5.19.10/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-5.19.10/arch/mips/include/asm/ |
D | processor.h | 263 unsigned long trap_nr; member 338 .trap_nr = 0, \
|
/linux-5.19.10/arch/sh/include/asm/ |
D | hw_breakpoint.h | 32 unsigned int trap_nr; member
|
/linux-5.19.10/arch/x86/include/asm/fpu/ |
D | api.h | 106 extern int fpu__exception_code(struct fpu *fpu, int trap_nr);
|
/linux-5.19.10/arch/sh/kernel/cpu/sh4a/ |
D | ubc.c | 88 .trap_nr = 0x1e0,
|
/linux-5.19.10/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-5.19.10/arch/x86/kernel/fpu/ |
D | core.c | 790 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/ |
D | hw_breakpoint.c | 385 if (args->trapnr != sh_ubc->trap_nr) in hw_breakpoint_exceptions_notify()
|
/linux-5.19.10/arch/x86/entry/vsyscall/ |
D | vsyscall_64.c | 111 thread->trap_nr = X86_TRAP_PF; in write_ok_or_segv()
|
/linux-5.19.10/arch/powerpc/include/asm/ |
D | processor.h | 183 unsigned long trap_nr; /* last trap # on this thread */ member
|
/linux-5.19.10/arch/powerpc/mm/ |
D | fault.c | 143 current->thread.trap_nr = BUS_ADRERR; in do_sigbus()
|
/linux-5.19.10/arch/x86/include/asm/ |
D | processor.h | 505 unsigned long trap_nr; member
|
/linux-5.19.10/arch/x86/ia32/ |
D | ia32_signal.c | 174 unsafe_put_user(current->thread.trap_nr, &sc->trapno, Efault); in __unsafe_setup_sigcontext32()
|