Home
last modified time | relevance | path

Searched refs:trap_no (Results 1 – 19 of 19) sorted by relevance

/linux-6.6.21/arch/csky/kernel/
Dtraps.c100 ret = notify_die(DIE_OOPS, str, regs, 0, trap_no(regs), SIGSEGV); in die()
134 current->thread.trap_no = trap_no(regs); in do_trap_error()
162 current->thread.trap_no = trap_no(regs); in do_trap_misaligned()
189 current->thread.trap_no = trap_no(regs); in do_trap_illinsn()
232 switch (trap_no(regs)) { in trap_c()
/linux-6.6.21/arch/csky/kernel/probes/
Duprobes.c52 utask->autask.saved_trap_no = current->thread.trap_no; in arch_uprobe_pre_xol()
53 current->thread.trap_no = UPROBE_TRAP_NR; in arch_uprobe_pre_xol()
66 WARN_ON_ONCE(current->thread.trap_no != UPROBE_TRAP_NR); in arch_uprobe_post_xol()
67 current->thread.trap_no = utask->autask.saved_trap_no; in arch_uprobe_post_xol()
78 if (t->thread.trap_no != UPROBE_TRAP_NR) in arch_uprobe_xol_was_trapped()
105 current->thread.trap_no = utask->autask.saved_trap_no; in arch_uprobe_abort_xol()
/linux-6.6.21/arch/csky/mm/
Dfault.c25 switch (trap_no(regs)) { in is_write()
45 if (trap_no(regs) != VEC_TLBMODIFIED) in csky_cmpxchg_fixup()
56 current->thread.trap_no = trap_no(regs); in no_context()
75 current->thread.trap_no = trap_no(regs); in mm_fault_error()
202 if (kprobe_page_fault(regs, tsk->thread.trap_no)) in do_page_fault()
/linux-6.6.21/arch/arm/probes/uprobes/
Dcore.c140 utask->autask.saved_trap_no = current->thread.trap_no; in arch_uprobe_pre_xol()
141 current->thread.trap_no = UPROBE_TRAP_NR; in arch_uprobe_pre_xol()
151 WARN_ON_ONCE(current->thread.trap_no != UPROBE_TRAP_NR); in arch_uprobe_post_xol()
153 current->thread.trap_no = utask->autask.saved_trap_no; in arch_uprobe_post_xol()
164 if (t->thread.trap_no != UPROBE_TRAP_NR) in arch_uprobe_xol_was_trapped()
174 current->thread.trap_no = utask->autask.saved_trap_no; in arch_uprobe_abort_xol()
/linux-6.6.21/arch/x86/um/shared/sysdep/
Dfaultinfo_64.h21 int trap_no; /* missing in ptrace_faultinfo */ member
28 #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14)
Dfaultinfo_32.h21 int trap_no; /* missing in ptrace_faultinfo */ member
28 #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14)
Dmcontext.h17 (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \
26 (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \
/linux-6.6.21/arch/arm/include/uapi/asm/
Dsigcontext.h11 unsigned long trap_no; member
/linux-6.6.21/arch/csky/include/asm/
Dprocessor.h43 unsigned long trap_no; /* saved status register */ member
Dptrace.h26 #define trap_no(regs) ((regs->sr >> 16) & 0xff) macro
/linux-6.6.21/arch/arm64/include/asm/
Dsignal32.h13 compat_ulong_t trap_no; member
/linux-6.6.21/arch/arm/include/asm/
Dprocessor.h34 unsigned long trap_no; member
/linux-6.6.21/arch/arm/kernel/
Dsignal.c276 .trap_no = current->thread.trap_no, in setup_sigframe()
Dtraps.c288 ret = notify_die(DIE_OOPS, str, regs, err, tsk->thread.trap_no, SIGSEGV); in __die()
385 current->thread.trap_no = trap; in arm_notify_die()
/linux-6.6.21/arch/arm/mm/
Dfault.c202 tsk->thread.trap_no = 14; in __do_user_fault()
/linux-6.6.21/arch/arm/vfp/
Dvfpmodule.c221 current->thread.trap_no = 6; in vfp_raise_sigfpe()
/linux-6.6.21/arch/x86/um/
Dsignal.c275 sc.trapno = fi->trap_no; in copy_sc_to_user()
/linux-6.6.21/arch/arm64/kernel/
Dsignal32.c382 __put_user_error((compat_ulong_t)0, &sf->uc.uc_mcontext.trap_no, err); in compat_setup_sigframe()
/linux-6.6.21/Documentation/admin-guide/kdump/
Dgdbmacros.txt163 printf "Trapno %ld, cr2 0x%lx, error_code %ld\n", $pid_task.thread.trap_no, \