Home
last modified time | relevance | path

Searched refs:mcp (Results 1 – 2 of 2) sorted by relevance

/arch/sparc/kernel/
Dsignal_64.c146 mcontext_t __user *mcp; in sparc64_get_context() local
161 mcp = &ucp->uc_mcontext; in sparc64_get_context()
162 grp = &mcp->mc_gregs; in sparc64_get_context()
204 err |= __put_user(fp, &(mcp->mc_fp)); in sparc64_get_context()
205 err |= __put_user(i7, &(mcp->mc_i7)); in sparc64_get_context()
207 err |= __put_user(fenab, &(mcp->mc_fpregs.mcfpu_enab)); in sparc64_get_context()
214 err |= copy_to_user(&(mcp->mc_fpregs.mcfpu_fregs), fpregs, in sparc64_get_context()
218 ((unsigned long __user *)&(mcp->mc_fpregs.mcfpu_fregs))+16, fpregs+16, in sparc64_get_context()
220 err |= __put_user(current_thread_info()->xfsr[0], &(mcp->mc_fpregs.mcfpu_fsr)); in sparc64_get_context()
221 err |= __put_user(current_thread_info()->gsr[0], &(mcp->mc_fpregs.mcfpu_gsr)); in sparc64_get_context()
[all …]
/arch/powerpc/kernel/
Dsignal_32.c913 struct mcontext __user *mcp; in do_setcontext() local
924 mcp = (struct mcontext __user *)(u64)cmcp; in do_setcontext()
927 unsafe_get_user(mcp, &ucp->uc_regs, failed); in do_setcontext()
932 if (restore_user_regs(regs, mcp, sig)) in do_setcontext()
948 struct mcontext __user *mcp; in do_setcontext_tm() local
963 mcp = (struct mcontext __user *)(u64)cmcp; in do_setcontext_tm()
968 if (restore_tm_user_regs(regs, mcp, tm_mcp)) in do_setcontext_tm()
994 struct mcontext __user *mcp; in COMPAT_SYSCALL_DEFINE3() local
1004 mcp = (struct mcontext __user *)(u64)cmcp; in COMPAT_SYSCALL_DEFINE3()
1005 if (__get_user(new_msr, &mcp->mc_gregs[PT_MSR])) in COMPAT_SYSCALL_DEFINE3()
[all …]