/linux-6.6.21/arch/csky/kernel/ |
D | traps.c | 100 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/ |
D | uprobes.c | 52 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/ |
D | fault.c | 25 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/ |
D | core.c | 140 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/ |
D | faultinfo_64.h | 21 int trap_no; /* missing in ptrace_faultinfo */ member 28 #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14)
|
D | faultinfo_32.h | 21 int trap_no; /* missing in ptrace_faultinfo */ member 28 #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14)
|
D | mcontext.h | 17 (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \ 26 (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \
|
/linux-6.6.21/arch/arm/include/uapi/asm/ |
D | sigcontext.h | 11 unsigned long trap_no; member
|
/linux-6.6.21/arch/csky/include/asm/ |
D | processor.h | 43 unsigned long trap_no; /* saved status register */ member
|
D | ptrace.h | 26 #define trap_no(regs) ((regs->sr >> 16) & 0xff) macro
|
/linux-6.6.21/arch/arm64/include/asm/ |
D | signal32.h | 13 compat_ulong_t trap_no; member
|
/linux-6.6.21/arch/arm/include/asm/ |
D | processor.h | 34 unsigned long trap_no; member
|
/linux-6.6.21/arch/arm/kernel/ |
D | signal.c | 276 .trap_no = current->thread.trap_no, in setup_sigframe()
|
D | traps.c | 288 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/ |
D | fault.c | 202 tsk->thread.trap_no = 14; in __do_user_fault()
|
/linux-6.6.21/arch/arm/vfp/ |
D | vfpmodule.c | 221 current->thread.trap_no = 6; in vfp_raise_sigfpe()
|
/linux-6.6.21/arch/x86/um/ |
D | signal.c | 275 sc.trapno = fi->trap_no; in copy_sc_to_user()
|
/linux-6.6.21/arch/arm64/kernel/ |
D | signal32.c | 382 __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/ |
D | gdbmacros.txt | 163 printf "Trapno %ld, cr2 0x%lx, error_code %ld\n", $pid_task.thread.trap_no, \
|