Lines Matching refs:mctx

196 	struct mcontext	mctx;		/* all the register values */  member
737 struct mcontext __user *mctx; in handle_rt_signal32() local
747 mctx = &frame->uc.uc_mcontext; in handle_rt_signal32()
775 unsafe_save_tm_user_regs(regs, mctx, tm_mctx, msr, failed); in handle_rt_signal32()
778 unsafe_save_user_regs(regs, mctx, tm_mctx, 1, failed); in handle_rt_signal32()
785 tramp = (unsigned long)mctx->mc_pad; in handle_rt_signal32()
786 unsafe_put_user(PPC_RAW_LI(_R0, __NR_rt_sigreturn), &mctx->mc_pad[0], failed); in handle_rt_signal32()
787 unsafe_put_user(PPC_RAW_SC(), &mctx->mc_pad[1], failed); in handle_rt_signal32()
788 asm("dcbst %y0; sync; icbi %y0; sync" :: "Z" (mctx->mc_pad[0])); in handle_rt_signal32()
837 struct mcontext __user *mctx; in handle_signal32() local
847 mctx = &frame->mctx; in handle_signal32()
870 unsafe_put_user(to_user_ptr(mctx), &sc->regs, failed); in handle_signal32()
874 unsafe_save_tm_user_regs(regs, mctx, tm_mctx, msr, failed); in handle_signal32()
876 unsafe_save_user_regs(regs, mctx, tm_mctx, 1, failed); in handle_signal32()
881 tramp = (unsigned long)mctx->mc_pad; in handle_signal32()
882 unsafe_put_user(PPC_RAW_LI(_R0, __NR_sigreturn), &mctx->mc_pad[0], failed); in handle_signal32()
883 unsafe_put_user(PPC_RAW_SC(), &mctx->mc_pad[1], failed); in handle_signal32()
884 asm("dcbst %y0; sync; icbi %y0; sync" :: "Z" (mctx->mc_pad[0])); in handle_signal32()
1039 struct mcontext __user *mctx; in COMPAT_SYSCALL_DEFINE3() local
1048 mctx = (struct mcontext __user *) in COMPAT_SYSCALL_DEFINE3()
1053 unsafe_save_user_regs(regs, mctx, NULL, ctx_has_vsx_region, failed); in COMPAT_SYSCALL_DEFINE3()
1055 unsafe_put_user(to_user_ptr(mctx), &old_ctx->uc_regs, failed); in COMPAT_SYSCALL_DEFINE3()
1327 mcp = (struct mcontext __user *)&sf->mctx; in COMPAT_SYSCALL_DEFINE0()