Home
last modified time | relevance | path

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

/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)
31 #define SEGV_MAYBE_FIXABLE(fi) ((fi)->trap_no == 0 && ptrace_faultinfo)
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]; \
/arch/arm/kernel/
Duprobes.c143 utask->autask.saved_trap_no = current->thread.trap_no; in arch_uprobe_pre_xol()
144 current->thread.trap_no = UPROBE_TRAP_NR; in arch_uprobe_pre_xol()
154 WARN_ON_ONCE(current->thread.trap_no != UPROBE_TRAP_NR); in arch_uprobe_post_xol()
156 current->thread.trap_no = utask->autask.saved_trap_no; in arch_uprobe_post_xol()
167 if (t->thread.trap_no != UPROBE_TRAP_NR) in arch_uprobe_xol_was_trapped()
177 current->thread.trap_no = utask->autask.saved_trap_no; in arch_uprobe_abort_xol()
Dsignal.c276 __put_user_error(current->thread.trap_no, &sf->uc.uc_mcontext.trap_no, err); in setup_sigframe()
Dtraps.c255 ret = notify_die(DIE_OOPS, str, regs, err, tsk->thread.trap_no, SIGSEGV); in __die()
349 current->thread.trap_no = trap; in arm_notify_die()
/arch/score/include/asm/
Dprocessor.h60 unsigned long trap_no; member
95 .trap_no = 0, \
/arch/unicore32/include/uapi/asm/
Dsigcontext.h22 unsigned long trap_no; member
/arch/arm/include/uapi/asm/
Dsigcontext.h10 unsigned long trap_no; member
/arch/unicore32/include/asm/
Dprocessor.h45 unsigned long trap_no; member
/arch/m32r/include/asm/
Dprocessor.h87 unsigned long trap_no; /* Trap number */ member
/arch/unicore32/kernel/
Dfpu-ucf64.c70 current->thread.trap_no = 6; in ucf64_raise_sigfpe()
Dtraps.c190 ret = notify_die(DIE_OOPS, str, regs, err, tsk->thread.trap_no, \ in __die()
245 current->thread.trap_no = trap; in uc32_notify_die()
Dsignal.c175 err |= __put_user(current->thread.trap_no, in setup_sigframe()
176 &sf->uc.uc_mcontext.trap_no); in setup_sigframe()
/arch/arm/include/asm/
Dprocessor.h42 unsigned long trap_no; member
/arch/m32r/kernel/
Dtraps.c243 tsk->thread.trap_no = trapnr; in do_trap()
293 current->thread.trap_no = 0x17; in do_alignment_check()
/arch/m32r/mm/
Dfault.c229 tsk->thread.trap_no = 14; in do_page_fault()
290 tsk->thread.trap_no = 14; in do_page_fault()
/arch/score/kernel/
Dasm-offsets.c137 OFFSET(THREAD_TRAPNO, task_struct, thread.trap_no); in output_thread_defines()
/arch/arm64/kernel/
Dsignal32.c34 compat_ulong_t trap_no; member
528 __put_user_error((compat_ulong_t)0, &sf->uc.uc_mcontext.trap_no, err); in compat_setup_sigframe()
/arch/unicore32/mm/
Dfault.c127 tsk->thread.trap_no = 14; in __do_user_fault()
/arch/arm/mm/
Dfault.c179 tsk->thread.trap_no = 14; in __do_user_fault()
/arch/arm/vfp/
Dvfpmodule.c232 current->thread.trap_no = 6; in vfp_raise_sigfpe()
/arch/x86/um/
Dsignal.c284 sc.trapno = fi->trap_no; in copy_sc_to_user()