Home
last modified time | relevance | path

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

/openbmc/linux/arch/csky/kernel/probes/
H A 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()
/openbmc/linux/arch/csky/kernel/
H A 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()
/openbmc/linux/arch/csky/mm/
H A 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()
/openbmc/linux/arch/arm/probes/uprobes/
H A 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()
/openbmc/linux/arch/x86/um/shared/sysdep/
H A Dfaultinfo_32.h21 int trap_no; /* missing in ptrace_faultinfo */ member
28 #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14)
H A Dfaultinfo_64.h21 int trap_no; /* missing in ptrace_faultinfo */ member
28 #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14)
H A Dmcontext.h17 (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \
26 (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \
/openbmc/linux/arch/arm/include/uapi/asm/
H A Dsigcontext.h11 unsigned long trap_no; member
/openbmc/linux/arch/csky/include/asm/
H A Dprocessor.h43 unsigned long trap_no; /* saved status register */ member
H A Dptrace.h26 #define trap_no(regs) ((regs->sr >> 16) & 0xff) macro
/openbmc/u-boot/arch/mips/include/asm/
H A Dprocessor.h91 unsigned long trap_no; member
/openbmc/linux/arch/arm64/include/asm/
H A Dsignal32.h13 compat_ulong_t trap_no; member
/openbmc/u-boot/arch/arm/include/asm/
H A Dprocessor.h70 unsigned long trap_no; member
/openbmc/linux/arch/arm/include/asm/
H A Dprocessor.h34 unsigned long trap_no; member
/openbmc/linux/arch/arm/kernel/
H A Dsignal.c276 .trap_no = current->thread.trap_no, in setup_sigframe()
H A 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()
/openbmc/qemu/linux-user/arm/
H A Dsignal.c28 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 Dfault.c202 tsk->thread.trap_no = 14; in __do_user_fault()
/openbmc/linux/arch/arm/vfp/
H A Dvfpmodule.c221 current->thread.trap_no = 6; in vfp_raise_sigfpe()
/openbmc/linux/arch/x86/um/
H A Dsignal.c275 sc.trapno = fi->trap_no; in copy_sc_to_user()
/openbmc/linux/arch/arm64/kernel/
H A Dsignal32.c382 __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 Dgdbmacros.txt163 printf "Trapno %ld, cr2 0x%lx, error_code %ld\n", $pid_task.thread.trap_no, \