/linux-2.6.39/arch/unicore32/kernel/ |
D | signal.c | 72 err |= __get_user(regs->UCreg_00, &sf->uc.uc_mcontext.regs.UCreg_00); in restore_sigframe() 73 err |= __get_user(regs->UCreg_01, &sf->uc.uc_mcontext.regs.UCreg_01); in restore_sigframe() 74 err |= __get_user(regs->UCreg_02, &sf->uc.uc_mcontext.regs.UCreg_02); in restore_sigframe() 75 err |= __get_user(regs->UCreg_03, &sf->uc.uc_mcontext.regs.UCreg_03); in restore_sigframe() 76 err |= __get_user(regs->UCreg_04, &sf->uc.uc_mcontext.regs.UCreg_04); in restore_sigframe() 77 err |= __get_user(regs->UCreg_05, &sf->uc.uc_mcontext.regs.UCreg_05); in restore_sigframe() 78 err |= __get_user(regs->UCreg_06, &sf->uc.uc_mcontext.regs.UCreg_06); in restore_sigframe() 79 err |= __get_user(regs->UCreg_07, &sf->uc.uc_mcontext.regs.UCreg_07); in restore_sigframe() 80 err |= __get_user(regs->UCreg_08, &sf->uc.uc_mcontext.regs.UCreg_08); in restore_sigframe() 81 err |= __get_user(regs->UCreg_09, &sf->uc.uc_mcontext.regs.UCreg_09); in restore_sigframe() [all …]
|
/linux-2.6.39/arch/arm/kernel/ |
D | signal.c | 290 __get_user_error(regs->ARM_r0, &sf->uc.uc_mcontext.arm_r0, err); in restore_sigframe() 291 __get_user_error(regs->ARM_r1, &sf->uc.uc_mcontext.arm_r1, err); in restore_sigframe() 292 __get_user_error(regs->ARM_r2, &sf->uc.uc_mcontext.arm_r2, err); in restore_sigframe() 293 __get_user_error(regs->ARM_r3, &sf->uc.uc_mcontext.arm_r3, err); in restore_sigframe() 294 __get_user_error(regs->ARM_r4, &sf->uc.uc_mcontext.arm_r4, err); in restore_sigframe() 295 __get_user_error(regs->ARM_r5, &sf->uc.uc_mcontext.arm_r5, err); in restore_sigframe() 296 __get_user_error(regs->ARM_r6, &sf->uc.uc_mcontext.arm_r6, err); in restore_sigframe() 297 __get_user_error(regs->ARM_r7, &sf->uc.uc_mcontext.arm_r7, err); in restore_sigframe() 298 __get_user_error(regs->ARM_r8, &sf->uc.uc_mcontext.arm_r8, err); in restore_sigframe() 299 __get_user_error(regs->ARM_r9, &sf->uc.uc_mcontext.arm_r9, err); in restore_sigframe() [all …]
|
/linux-2.6.39/arch/ia64/include/asm/ |
D | ucontext.h | 5 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-2.6.39/arch/s390/include/asm/ |
D | ucontext.h | 20 _sigregs uc_mcontext; member 31 _sigregs uc_mcontext; member
|
/linux-2.6.39/arch/powerpc/include/asm/ |
D | ucontext.h | 32 struct sigcontext uc_mcontext; /* last for extensibility */ member 36 struct mcontext uc_mcontext; member
|
/linux-2.6.39/arch/powerpc/kernel/ |
D | signal_64.c | 289 get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) in sys_swapcontext() 310 || setup_sigcontext(&old_ctx->uc_mcontext, regs, 0, NULL, 0, in sys_swapcontext() 338 if (restore_sigcontext(regs, NULL, 0, &new_ctx->uc_mcontext)) in sys_swapcontext() 367 if (restore_sigcontext(regs, NULL, 1, &uc->uc_mcontext)) in sys_rt_sigreturn() 381 regs, uc, &uc->uc_mcontext); in sys_rt_sigreturn() 422 err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, signr, NULL, in handle_rt_signal64() 459 regs->gpr[4] = (unsigned long)&frame->uc.uc_mcontext; in handle_rt_signal64()
|
D | perf_callchain.c | 259 uregs = sigframe->uc.uc_mcontext.gp_regs; in perf_callchain_user_64() 362 uc.uc_mcontext.mc_pad)) in is_rt_sigreturn_32_address() 389 return regs == (unsigned long) &sf->uc.uc_mcontext; in sane_rt_signal_32_frame() 416 mctx = &rt_sf->uc.uc_mcontext; in signal_frame_32_regs()
|
/linux-2.6.39/arch/parisc/kernel/ |
D | signal.c | 143 &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-2.6.39/arch/sparc/kernel/ |
D | signal_64.c | 56 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-2.6.39/arch/m68k/kernel/ |
D | signal_no.c | 196 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()
|
D | signal_mm.c | 251 uc->uc_mcontext.fpregs.f_fpcntl, 12)) in rt_restore_fpu_state() 255 uc->uc_mcontext.fpregs.f_fpregs, 96)) in rt_restore_fpu_state() 287 if (__copy_from_user(&fpregs, &uc->uc_mcontext.fpregs, in rt_restore_fpu_state() 403 greg_t __user *gregs = uc->uc_mcontext.gregs; in rt_restore_ucontext() 410 err = __get_user(temp, &uc->uc_mcontext.version); in rt_restore_ucontext() 552 err |= copy_to_user(uc->uc_mcontext.fpregs.f_fpcntl, in rt_save_fpu_state() 555 err |= copy_to_user(uc->uc_mcontext.fpregs.f_fpregs, in rt_save_fpu_state() 586 err |= copy_to_user(&uc->uc_mcontext.fpregs, &fpregs, in rt_save_fpu_state() 613 greg_t __user *gregs = uc->uc_mcontext.gregs; in rt_setup_ucontext() 616 err |= __put_user(MCONTEXT_VERSION, &uc->uc_mcontext.version); in rt_setup_ucontext()
|
/linux-2.6.39/arch/mips/kernel/ |
D | signal_n32.c | 66 struct sigcontext uc_mcontext; member 130 sig = restore_sigcontext(®s, &frame->rs_uc.uc_mcontext); in sysn32_rt_sigreturn() 191 err |= setup_sigcontext(regs, &frame->rs_uc.uc_mcontext); in setup_rt_frame_n32()
|
/linux-2.6.39/arch/xtensa/include/asm/ |
D | ucontext.h | 18 struct sigcontext uc_mcontext; member
|
/linux-2.6.39/arch/avr32/include/asm/ |
D | ucontext.h | 8 struct sigcontext uc_mcontext; member
|
/linux-2.6.39/arch/parisc/include/asm/ |
D | ucontext.h | 8 struct sigcontext uc_mcontext; member
|
D | compat_ucontext.h | 13 struct compat_sigcontext uc_mcontext; member
|
/linux-2.6.39/arch/m32r/include/asm/ |
D | ucontext.h | 8 struct sigcontext uc_mcontext; member
|
/linux-2.6.39/arch/mn10300/include/asm/ |
D | ucontext.h | 18 struct sigcontext uc_mcontext; member
|
/linux-2.6.39/include/asm-generic/ |
D | ucontext.h | 8 struct sigcontext uc_mcontext; member
|
/linux-2.6.39/arch/cris/include/asm/ |
D | ucontext.h | 8 struct sigcontext uc_mcontext; member
|
/linux-2.6.39/arch/frv/include/asm/ |
D | ucontext.h | 8 struct sigcontext uc_mcontext; member
|
/linux-2.6.39/arch/h8300/include/asm/ |
D | ucontext.h | 8 struct sigcontext uc_mcontext; member
|
/linux-2.6.39/arch/um/os-Linux/sys-x86_64/ |
D | signal.c | 15 handle_signal(sig, (struct sigcontext *) &uc->uc_mcontext); in hard_handler()
|
/linux-2.6.39/arch/alpha/include/asm/ |
D | ucontext.h | 9 struct sigcontext uc_mcontext; member
|
/linux-2.6.39/arch/um/sys-x86_64/ |
D | stub_segv.c | 19 &uc->uc_mcontext); in stub_segv_handler()
|