Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/arch/csky/mm/
Dfault.c57 if (kprobe_page_fault(regs, tsk->thread.trap_no)) in do_page_fault()
177 tsk->thread.trap_no = trap_no(regs); in do_page_fault()
183 tsk->thread.trap_no = trap_no(regs); in do_page_fault()
199 tsk->thread.trap_no = trap_no(regs); in do_page_fault()
209 tsk->thread.trap_no = trap_no(regs); in do_page_fault()
/kernel/linux/linux-5.10/arch/csky/kernel/
Dtraps.c102 ret = notify_die(DIE_OOPS, str, regs, 0, trap_no(regs), SIGSEGV); in die()
136 current->thread.trap_no = trap_no(regs); in do_trap_error()
164 current->thread.trap_no = trap_no(regs); in do_trap_misaligned()
191 current->thread.trap_no = trap_no(regs); in do_trap_illinsn()
234 switch (trap_no(regs)) { in trap_c()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
77 if (t->thread.trap_no != UPROBE_TRAP_NR) in arch_uprobe_xol_was_trapped()
/kernel/linux/linux-5.10/arch/x86/um/shared/sysdep/
Dfaultinfo_32.h21 int trap_no; /* missing in ptrace_faultinfo */ member
28 #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14)
Dfaultinfo_64.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]; \
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-arm/asm/
Dsigcontext.h9 unsigned long trap_no; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-arm/asm/
Dsigcontext.h22 unsigned long trap_no; member
/kernel/linux/linux-5.10/arch/arm/include/uapi/asm/
Dsigcontext.h11 unsigned long trap_no; member
/kernel/linux/linux-5.10/arch/nds32/include/uapi/asm/
Dsigcontext.h43 unsigned long trap_no; member
/kernel/linux/linux-5.10/arch/csky/include/asm/
Dprocessor.h45 unsigned long trap_no; /* saved status register */ member
Dptrace.h27 #define trap_no(regs) ((regs->sr >> 16) & 0xff) macro
/kernel/linux/linux-5.10/arch/nds32/mm/
Dfault.c262 tsk->thread.trap_no = entry; in do_page_fault()
331 tsk->thread.trap_no = entry; in do_page_fault()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dsignal32.h13 compat_ulong_t trap_no; member
/kernel/linux/linux-5.10/arch/nds32/include/asm/
Dprocessor.h36 unsigned long trap_no; member
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dprocessor.h34 unsigned long trap_no; member
/kernel/linux/linux-5.10/arch/nds32/kernel/
Dsignal.c217 __put_user_error(current->thread.trap_no, &sf->uc.uc_mcontext.trap_no, in setup_sigframe()
Dtraps.c263 tsk->thread.trap_no = ENTRY_DEBUG_RELATED; in send_sigtrap()
/kernel/linux/linux-5.10/arch/arm/kernel/
Dsignal.c313 .trap_no = current->thread.trap_no, in setup_sigframe()
Dtraps.c285 ret = notify_die(DIE_OOPS, str, regs, err, tsk->thread.trap_no, SIGSEGV); in __die()
380 current->thread.trap_no = trap; in arm_notify_die()
/kernel/linux/linux-5.10/arch/arm/mm/
Dfault.c174 tsk->thread.trap_no = 14; in __do_user_fault()
/kernel/linux/linux-5.10/arch/arm/vfp/
Dvfpmodule.c221 current->thread.trap_no = 6; in vfp_raise_sigfpe()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dsignal32.c386 __put_user_error((compat_ulong_t)0, &sf->uc.uc_mcontext.trap_no, err); in compat_setup_sigframe()
/kernel/linux/linux-5.10/arch/x86/um/
Dsignal.c274 sc.trapno = fi->trap_no; in copy_sc_to_user()

12