Lines Matching refs:mctx

196 	struct mcontext	mctx;		/* all the register values */  member
740 struct mcontext __user *mctx; in handle_rt_signal32() local
750 mctx = &frame->uc.uc_mcontext; in handle_rt_signal32()
778 unsafe_save_tm_user_regs(regs, mctx, tm_mctx, msr, failed); in handle_rt_signal32()
781 unsafe_save_user_regs(regs, mctx, tm_mctx, 1, failed); in handle_rt_signal32()
788 tramp = (unsigned long)mctx->mc_pad; in handle_rt_signal32()
789 unsafe_put_user(PPC_RAW_LI(_R0, __NR_rt_sigreturn), &mctx->mc_pad[0], failed); in handle_rt_signal32()
790 unsafe_put_user(PPC_RAW_SC(), &mctx->mc_pad[1], failed); in handle_rt_signal32()
791 asm("dcbst %y0; sync; icbi %y0; sync" :: "Z" (mctx->mc_pad[0])); in handle_rt_signal32()
840 struct mcontext __user *mctx; in handle_signal32() local
850 mctx = &frame->mctx; in handle_signal32()
873 unsafe_put_user(to_user_ptr(mctx), &sc->regs, failed); in handle_signal32()
877 unsafe_save_tm_user_regs(regs, mctx, tm_mctx, msr, failed); in handle_signal32()
879 unsafe_save_user_regs(regs, mctx, tm_mctx, 1, failed); in handle_signal32()
884 tramp = (unsigned long)mctx->mc_pad; in handle_signal32()
885 unsafe_put_user(PPC_RAW_LI(_R0, __NR_sigreturn), &mctx->mc_pad[0], failed); in handle_signal32()
886 unsafe_put_user(PPC_RAW_SC(), &mctx->mc_pad[1], failed); in handle_signal32()
887 asm("dcbst %y0; sync; icbi %y0; sync" :: "Z" (mctx->mc_pad[0])); in handle_signal32()
1042 struct mcontext __user *mctx; in COMPAT_SYSCALL_DEFINE3() local
1051 mctx = (struct mcontext __user *) in COMPAT_SYSCALL_DEFINE3()
1056 unsafe_save_user_regs(regs, mctx, NULL, ctx_has_vsx_region, failed); in COMPAT_SYSCALL_DEFINE3()
1058 unsafe_put_user(to_user_ptr(mctx), &old_ctx->uc_regs, failed); in COMPAT_SYSCALL_DEFINE3()
1330 mcp = (struct mcontext __user *)&sf->mctx; in COMPAT_SYSCALL_DEFINE0()