Lines Matching refs:mctx

196 	struct mcontext	mctx;		/* all the register values */  member
727 struct mcontext __user *mctx; in handle_rt_signal32() local
737 mctx = &frame->uc.uc_mcontext; in handle_rt_signal32()
765 unsafe_save_tm_user_regs(regs, mctx, tm_mctx, msr, failed); in handle_rt_signal32()
768 unsafe_save_user_regs(regs, mctx, tm_mctx, 1, failed); in handle_rt_signal32()
775 tramp = (unsigned long)mctx->mc_pad; in handle_rt_signal32()
776 unsafe_put_user(PPC_RAW_LI(_R0, __NR_rt_sigreturn), &mctx->mc_pad[0], failed); in handle_rt_signal32()
777 unsafe_put_user(PPC_RAW_SC(), &mctx->mc_pad[1], failed); in handle_rt_signal32()
778 asm("dcbst %y0; sync; icbi %y0; sync" :: "Z" (mctx->mc_pad[0])); in handle_rt_signal32()
827 struct mcontext __user *mctx; in handle_signal32() local
837 mctx = &frame->mctx; in handle_signal32()
860 unsafe_put_user(to_user_ptr(mctx), &sc->regs, failed); in handle_signal32()
864 unsafe_save_tm_user_regs(regs, mctx, tm_mctx, msr, failed); in handle_signal32()
866 unsafe_save_user_regs(regs, mctx, tm_mctx, 1, failed); in handle_signal32()
871 tramp = (unsigned long)mctx->mc_pad; in handle_signal32()
872 unsafe_put_user(PPC_RAW_LI(_R0, __NR_sigreturn), &mctx->mc_pad[0], failed); in handle_signal32()
873 unsafe_put_user(PPC_RAW_SC(), &mctx->mc_pad[1], failed); in handle_signal32()
874 asm("dcbst %y0; sync; icbi %y0; sync" :: "Z" (mctx->mc_pad[0])); in handle_signal32()
1029 struct mcontext __user *mctx; in COMPAT_SYSCALL_DEFINE3() local
1038 mctx = (struct mcontext __user *) in COMPAT_SYSCALL_DEFINE3()
1043 unsafe_save_user_regs(regs, mctx, NULL, ctx_has_vsx_region, failed); in COMPAT_SYSCALL_DEFINE3()
1045 unsafe_put_user(to_user_ptr(mctx), &old_ctx->uc_regs, failed); in COMPAT_SYSCALL_DEFINE3()
1317 mcp = (struct mcontext __user *)&sf->mctx; in COMPAT_SYSCALL_DEFINE0()