Lines Matching refs:mcp
996 struct mcontext __user *mcp; in do_setcontext() local
1006 mcp = (struct mcontext __user *)(u64)cmcp; in do_setcontext()
1010 if (__get_user(mcp, &ucp->uc_regs)) in do_setcontext()
1012 if (!access_ok(mcp, sizeof(*mcp))) in do_setcontext()
1016 if (restore_user_regs(regs, mcp, sig)) in do_setcontext()
1028 struct mcontext __user *mcp; in do_setcontext_tm() local
1039 mcp = (struct mcontext __user *)(u64)cmcp; in do_setcontext_tm()
1044 if (restore_tm_user_regs(regs, mcp, tm_mcp)) in do_setcontext_tm()
1066 struct mcontext __user *mcp; in COMPAT_SYSCALL_DEFINE3() local
1076 mcp = (struct mcontext __user *)(u64)cmcp; in COMPAT_SYSCALL_DEFINE3()
1077 if (__get_user(new_msr, &mcp->mc_gregs[PT_MSR])) in COMPAT_SYSCALL_DEFINE3()
1186 struct mcontext __user *mcp; in COMPAT_SYSCALL_DEFINE0() local
1190 mcp = (struct mcontext __user *)(u64)cmcp; in COMPAT_SYSCALL_DEFINE0()
1193 if (__get_user(msr_hi, &mcp->mc_gregs[PT_MSR])) in COMPAT_SYSCALL_DEFINE0()
1462 struct mcontext __user *mcp, *tm_mcp; in COMPAT_SYSCALL_DEFINE0() local
1488 mcp = (struct mcontext __user *)&sf->mctx; in COMPAT_SYSCALL_DEFINE0()
1495 if (restore_tm_user_regs(regs, mcp, tm_mcp)) in COMPAT_SYSCALL_DEFINE0()