/openbmc/linux/arch/csky/kernel/probes/ |
H A 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()
|
/openbmc/linux/arch/csky/kernel/ |
H A 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()
|
/openbmc/linux/arch/csky/mm/ |
H A 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()
|
/openbmc/linux/arch/arm/probes/uprobes/ |
H A 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()
|
/openbmc/linux/arch/x86/um/shared/sysdep/ |
H A D | faultinfo_32.h | 21 int trap_no; /* missing in ptrace_faultinfo */ member 28 #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14)
|
H A D | faultinfo_64.h | 21 int trap_no; /* missing in ptrace_faultinfo */ member 28 #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14)
|
H A D | mcontext.h | 17 (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \ 26 (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \
|
/openbmc/linux/arch/arm/include/uapi/asm/ |
H A D | sigcontext.h | 11 unsigned long trap_no; member
|
/openbmc/linux/arch/csky/include/asm/ |
H A D | processor.h | 43 unsigned long trap_no; /* saved status register */ member
|
H A D | ptrace.h | 26 #define trap_no(regs) ((regs->sr >> 16) & 0xff) macro
|
/openbmc/u-boot/arch/mips/include/asm/ |
H A D | processor.h | 91 unsigned long trap_no; member
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | signal32.h | 13 compat_ulong_t trap_no; member
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | processor.h | 70 unsigned long trap_no; member
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | processor.h | 34 unsigned long trap_no; member
|
/openbmc/linux/arch/arm/kernel/ |
H A D | signal.c | 276 .trap_no = current->thread.trap_no, in setup_sigframe()
|
H A 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()
|
/openbmc/qemu/linux-user/arm/ |
H A D | signal.c | 28 abi_ulong trap_no; member 152 __put_user(/* current->thread.trap_no */ 0, &sc->trap_no); in setup_sigcontext()
|
/openbmc/linux/arch/arm/mm/ |
H A D | fault.c | 202 tsk->thread.trap_no = 14; in __do_user_fault()
|
/openbmc/linux/arch/arm/vfp/ |
H A D | vfpmodule.c | 221 current->thread.trap_no = 6; in vfp_raise_sigfpe()
|
/openbmc/linux/arch/x86/um/ |
H A D | signal.c | 275 sc.trapno = fi->trap_no; in copy_sc_to_user()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | signal32.c | 382 __put_user_error((compat_ulong_t)0, &sf->uc.uc_mcontext.trap_no, err); in compat_setup_sigframe()
|
/openbmc/linux/Documentation/admin-guide/kdump/ |
H A D | gdbmacros.txt | 163 printf "Trapno %ld, cr2 0x%lx, error_code %ld\n", $pid_task.thread.trap_no, \
|