Lines Matching refs:mcp
986 struct mcontext __user *mcp; in do_setcontext() local
996 mcp = (struct mcontext __user *)(u64)cmcp; in do_setcontext()
1000 if (__get_user(mcp, &ucp->uc_regs)) in do_setcontext()
1002 if (!access_ok(VERIFY_READ, mcp, sizeof(*mcp))) in do_setcontext()
1006 if (restore_user_regs(regs, mcp, sig)) in do_setcontext()
1018 struct mcontext __user *mcp; in do_setcontext_tm() local
1029 mcp = (struct mcontext __user *)(u64)cmcp; in do_setcontext_tm()
1034 if (restore_tm_user_regs(regs, mcp, tm_mcp)) in do_setcontext_tm()
1056 struct mcontext __user *mcp; in COMPAT_SYSCALL_DEFINE3() local
1066 mcp = (struct mcontext __user *)(u64)cmcp; in COMPAT_SYSCALL_DEFINE3()
1067 if (__get_user(new_msr, &mcp->mc_gregs[PT_MSR])) in COMPAT_SYSCALL_DEFINE3()
1176 struct mcontext __user *mcp; in COMPAT_SYSCALL_DEFINE0() local
1180 mcp = (struct mcontext __user *)(u64)cmcp; in COMPAT_SYSCALL_DEFINE0()
1183 if (__get_user(msr_hi, &mcp->mc_gregs[PT_MSR])) in COMPAT_SYSCALL_DEFINE0()
1437 struct mcontext __user *mcp, *tm_mcp; in COMPAT_SYSCALL_DEFINE0() local
1463 mcp = (struct mcontext __user *)&sf->mctx; in COMPAT_SYSCALL_DEFINE0()
1470 if (restore_tm_user_regs(regs, mcp, tm_mcp)) in COMPAT_SYSCALL_DEFINE0()