Home
last modified time | relevance | path

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

12

/linux-6.1.9/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-6.1.9/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-6.1.9/arch/loongarch/kernel/
Dtraps.c235 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()
Dasm-offsets.c130 OFFSET(THREAD_TRAPNO, task_struct, thread.trap_nr); in output_thread_defines()
/linux-6.1.9/arch/mips/mm/
Dfault.c62 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/
Duprobes.c927 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()
Dtraps.c123 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()
Dumip.c307 tsk->thread.trap_nr = X86_TRAP_PF; in force_sig_info_umip_fault()
Ddumpstack.c421 current->thread.trap_nr, SIGSEGV) == NOTIFY_STOP) in __die_body()
/linux-6.1.9/arch/loongarch/include/asm/
Dprocessor.h125 unsigned long trap_nr; member
165 .trap_nr = 0, \
/linux-6.1.9/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-6.1.9/arch/mips/include/asm/
Dprocessor.h263 unsigned long trap_nr; member
338 .trap_nr = 0, \
/linux-6.1.9/arch/sh/include/asm/
Dhw_breakpoint.h32 unsigned int trap_nr; member
/linux-6.1.9/arch/x86/include/asm/fpu/
Dapi.h106 extern int fpu__exception_code(struct fpu *fpu, int trap_nr);
/linux-6.1.9/arch/sh/kernel/cpu/sh4a/
Dubc.c88 .trap_nr = 0x1e0,
/linux-6.1.9/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-6.1.9/arch/x86/kernel/fpu/
Dcore.c787 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/
Dhw_breakpoint.c385 if (args->trapnr != sh_ubc->trap_nr) in hw_breakpoint_exceptions_notify()
/linux-6.1.9/arch/x86/entry/vsyscall/
Dvsyscall_64.c111 thread->trap_nr = X86_TRAP_PF; in write_ok_or_segv()
/linux-6.1.9/arch/powerpc/include/asm/
Dprocessor.h182 unsigned long trap_nr; /* last trap # on this thread */ member
/linux-6.1.9/arch/powerpc/mm/
Dfault.c143 current->thread.trap_nr = BUS_ADRERR; in do_sigbus()
/linux-6.1.9/arch/x86/include/asm/
Dprocessor.h505 unsigned long trap_nr; member
/linux-6.1.9/arch/x86/ia32/
Dia32_signal.c174 unsafe_put_user(current->thread.trap_nr, &sc->trapno, Efault); in __unsafe_setup_sigcontext32()

12