Home
last modified time | relevance | path

Searched refs:uc_mcontext (Results 1 – 25 of 63) sorted by relevance

123

/linux-3.4.99/arch/unicore32/kernel/
Dsignal.c69 err |= __get_user(regs->UCreg_00, &sf->uc.uc_mcontext.regs.UCreg_00); in restore_sigframe()
70 err |= __get_user(regs->UCreg_01, &sf->uc.uc_mcontext.regs.UCreg_01); in restore_sigframe()
71 err |= __get_user(regs->UCreg_02, &sf->uc.uc_mcontext.regs.UCreg_02); in restore_sigframe()
72 err |= __get_user(regs->UCreg_03, &sf->uc.uc_mcontext.regs.UCreg_03); in restore_sigframe()
73 err |= __get_user(regs->UCreg_04, &sf->uc.uc_mcontext.regs.UCreg_04); in restore_sigframe()
74 err |= __get_user(regs->UCreg_05, &sf->uc.uc_mcontext.regs.UCreg_05); in restore_sigframe()
75 err |= __get_user(regs->UCreg_06, &sf->uc.uc_mcontext.regs.UCreg_06); in restore_sigframe()
76 err |= __get_user(regs->UCreg_07, &sf->uc.uc_mcontext.regs.UCreg_07); in restore_sigframe()
77 err |= __get_user(regs->UCreg_08, &sf->uc.uc_mcontext.regs.UCreg_08); in restore_sigframe()
78 err |= __get_user(regs->UCreg_09, &sf->uc.uc_mcontext.regs.UCreg_09); in restore_sigframe()
[all …]
/linux-3.4.99/arch/arm/kernel/
Dsignal.c240 __get_user_error(regs->ARM_r0, &sf->uc.uc_mcontext.arm_r0, err); in restore_sigframe()
241 __get_user_error(regs->ARM_r1, &sf->uc.uc_mcontext.arm_r1, err); in restore_sigframe()
242 __get_user_error(regs->ARM_r2, &sf->uc.uc_mcontext.arm_r2, err); in restore_sigframe()
243 __get_user_error(regs->ARM_r3, &sf->uc.uc_mcontext.arm_r3, err); in restore_sigframe()
244 __get_user_error(regs->ARM_r4, &sf->uc.uc_mcontext.arm_r4, err); in restore_sigframe()
245 __get_user_error(regs->ARM_r5, &sf->uc.uc_mcontext.arm_r5, err); in restore_sigframe()
246 __get_user_error(regs->ARM_r6, &sf->uc.uc_mcontext.arm_r6, err); in restore_sigframe()
247 __get_user_error(regs->ARM_r7, &sf->uc.uc_mcontext.arm_r7, err); in restore_sigframe()
248 __get_user_error(regs->ARM_r8, &sf->uc.uc_mcontext.arm_r8, err); in restore_sigframe()
249 __get_user_error(regs->ARM_r9, &sf->uc.uc_mcontext.arm_r9, err); in restore_sigframe()
[all …]
/linux-3.4.99/arch/ia64/include/asm/
Ducontext.h5 struct sigcontext uc_mcontext; member
8 #define uc_link uc_mcontext.sc_gr[0] /* wrong type; nobody cares */
9 #define uc_sigmask uc_mcontext.sc_sigmask
10 #define uc_stack uc_mcontext.sc_stack
/linux-3.4.99/arch/s390/include/asm/
Ducontext.h20 _sigregs uc_mcontext; member
31 _sigregs uc_mcontext; member
/linux-3.4.99/arch/powerpc/include/asm/
Ducontext.h32 struct sigcontext uc_mcontext; /* last for extensibility */ member
36 struct mcontext uc_mcontext; member
/linux-3.4.99/arch/powerpc/kernel/
Dsignal_64.c296 get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) in sys_swapcontext()
317 || setup_sigcontext(&old_ctx->uc_mcontext, regs, 0, NULL, 0, in sys_swapcontext()
345 if (restore_sigcontext(regs, NULL, 0, &new_ctx->uc_mcontext)) in sys_swapcontext()
374 if (restore_sigcontext(regs, NULL, 1, &uc->uc_mcontext)) in sys_rt_sigreturn()
388 regs, uc, &uc->uc_mcontext); in sys_rt_sigreturn()
429 err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, signr, NULL, in handle_rt_signal64()
466 regs->gpr[4] = (unsigned long)&frame->uc.uc_mcontext; in handle_rt_signal64()
/linux-3.4.99/arch/sparc/kernel/
Dsignal_64.c59 grp = &ucp->uc_mcontext.mc_gregs; in sparc64_set_context()
105 err |= __get_user(fp, &(ucp->uc_mcontext.mc_fp)); in sparc64_set_context()
106 err |= __get_user(i7, &(ucp->uc_mcontext.mc_i7)); in sparc64_set_context()
112 err |= __get_user(fenab, &(ucp->uc_mcontext.mc_fpregs.mcfpu_enab)); in sparc64_set_context()
118 err |= __get_user(fprs, &(ucp->uc_mcontext.mc_fpregs.mcfpu_fprs)); in sparc64_set_context()
121 &(ucp->uc_mcontext.mc_fpregs.mcfpu_fregs), in sparc64_set_context()
125 ((unsigned long __user *)&(ucp->uc_mcontext.mc_fpregs.mcfpu_fregs))+16, in sparc64_set_context()
128 &(ucp->uc_mcontext.mc_fpregs.mcfpu_fsr)); in sparc64_set_context()
130 &(ucp->uc_mcontext.mc_fpregs.mcfpu_gsr)); in sparc64_set_context()
161 mcp = &ucp->uc_mcontext; in sparc64_get_context()
/linux-3.4.99/arch/parisc/kernel/
Dsignal.c143 &compat_frame->uc.uc_mcontext); in sys_rt_sigreturn()
145 if (restore_sigcontext32(&compat_frame->uc.uc_mcontext, in sys_rt_sigreturn()
156 &frame->uc.uc_mcontext); in sys_rt_sigreturn()
157 if (restore_sigcontext(&frame->uc.uc_mcontext, regs)) in sys_rt_sigreturn()
277 DBG(1,"setup_rt_frame: frame->uc.uc_mcontext = 0x%p\n", &compat_frame->uc.uc_mcontext); in setup_rt_frame()
278 err |= setup_sigcontext32(&compat_frame->uc.uc_mcontext, in setup_rt_frame()
292 DBG(1,"setup_rt_frame: frame->uc.uc_mcontext = 0x%p\n", &frame->uc.uc_mcontext); in setup_rt_frame()
293 err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, in_syscall); in setup_rt_frame()
/linux-3.4.99/arch/m68k/kernel/
Dsignal_no.c196 uc->uc_mcontext.fpregs.f_fpcntl, 12)) in rt_restore_fpu_state()
200 uc->uc_mcontext.fpregs.f_fpregs, 96)) in rt_restore_fpu_state()
213 if (__copy_from_user(&fpregs, &uc->uc_mcontext.fpregs, in rt_restore_fpu_state()
283 greg_t __user *gregs = uc->uc_mcontext.gregs; in rt_restore_ucontext()
290 err = __get_user(temp, &uc->uc_mcontext.version); in rt_restore_ucontext()
429 err |= copy_to_user(uc->uc_mcontext.fpregs.f_pcntl, in rt_save_fpu_state()
432 err |= copy_to_user(uc->uc_mcontext.fpregs.f_fpregs, in rt_save_fpu_state()
455 err |= copy_to_user(&uc->uc_mcontext.fpregs, &fpregs, in rt_save_fpu_state()
487 greg_t __user *gregs = uc->uc_mcontext.gregs; in rt_setup_ucontext()
490 err |= __put_user(MCONTEXT_VERSION, &uc->uc_mcontext.version); in rt_setup_ucontext()
Dsignal_mm.c284 uc->uc_mcontext.fpregs.f_fpcntl, 12)) in rt_restore_fpu_state()
288 uc->uc_mcontext.fpregs.f_fpregs, 96)) in rt_restore_fpu_state()
326 if (__copy_from_user(&fpregs, &uc->uc_mcontext.fpregs, in rt_restore_fpu_state()
466 greg_t __user *gregs = uc->uc_mcontext.gregs; in rt_restore_ucontext()
473 err = __get_user(temp, &uc->uc_mcontext.version); in rt_restore_ucontext()
634 err |= copy_to_user(uc->uc_mcontext.fpregs.f_fpcntl, in rt_save_fpu_state()
637 err |= copy_to_user(uc->uc_mcontext.fpregs.f_fpregs, in rt_save_fpu_state()
685 err |= copy_to_user(&uc->uc_mcontext.fpregs, &fpregs, in rt_save_fpu_state()
712 greg_t __user *gregs = uc->uc_mcontext.gregs; in rt_setup_ucontext()
715 err |= __put_user(MCONTEXT_VERSION, &uc->uc_mcontext.version); in rt_setup_ucontext()
/linux-3.4.99/arch/x86/include/asm/
Dia32.h42 struct sigcontext_ia32 uc_mcontext; member
51 struct sigcontext uc_mcontext; /* the 64-bit sigcontext type */ member
/linux-3.4.99/arch/mips/kernel/
Dsignal_n32.c65 struct sigcontext uc_mcontext; member
123 sig = restore_sigcontext(&regs, &frame->rs_uc.uc_mcontext); in sysn32_rt_sigreturn()
184 err |= setup_sigcontext(regs, &frame->rs_uc.uc_mcontext); in setup_rt_frame_n32()
/linux-3.4.99/arch/powerpc/perf/
Dcallchain.c267 uregs = sigframe->uc.uc_mcontext.gp_regs; in perf_callchain_user_64()
376 uc.uc_mcontext.mc_pad)) in is_rt_sigreturn_32_address()
403 return regs == (unsigned long) &sf->uc.uc_mcontext; in sane_rt_signal_32_frame()
430 mctx = &rt_sf->uc.uc_mcontext; in signal_frame_32_regs()
/linux-3.4.99/arch/avr32/include/asm/
Ducontext.h8 struct sigcontext uc_mcontext; member
/linux-3.4.99/include/asm-generic/
Ducontext.h8 struct sigcontext uc_mcontext; member
/linux-3.4.99/arch/mn10300/include/asm/
Ducontext.h18 struct sigcontext uc_mcontext; member
/linux-3.4.99/arch/m32r/include/asm/
Ducontext.h8 struct sigcontext uc_mcontext; member
/linux-3.4.99/arch/parisc/include/asm/
Ducontext.h8 struct sigcontext uc_mcontext; member
Dcompat_ucontext.h13 struct compat_sigcontext uc_mcontext; member
/linux-3.4.99/arch/xtensa/include/asm/
Ducontext.h18 struct sigcontext uc_mcontext; member
/linux-3.4.99/arch/cris/include/asm/
Ducontext.h8 struct sigcontext uc_mcontext; member
/linux-3.4.99/arch/h8300/include/asm/
Ducontext.h8 struct sigcontext uc_mcontext; member
/linux-3.4.99/arch/frv/include/asm/
Ducontext.h8 struct sigcontext uc_mcontext; member
/linux-3.4.99/arch/alpha/include/asm/
Ducontext.h9 struct sigcontext uc_mcontext; member
/linux-3.4.99/arch/x86/um/
Dstub_segv.c16 &uc->uc_mcontext); in stub_segv_handler()

123