Lines Matching refs:mc_fpregs
109 err |= __get_user(fenab, &(ucp->uc_mcontext.mc_fpregs.mcfpu_enab)); in sparc64_set_context()
115 err |= __get_user(fprs, &(ucp->uc_mcontext.mc_fpregs.mcfpu_fprs)); in sparc64_set_context()
118 &(ucp->uc_mcontext.mc_fpregs.mcfpu_fregs), in sparc64_set_context()
122 ((unsigned long __user *)&(ucp->uc_mcontext.mc_fpregs.mcfpu_fregs))+16, in sparc64_set_context()
125 &(ucp->uc_mcontext.mc_fpregs.mcfpu_fsr)); in sparc64_set_context()
127 &(ucp->uc_mcontext.mc_fpregs.mcfpu_gsr)); in sparc64_set_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()
222 err |= __put_user(fprs, &(mcp->mc_fpregs.mcfpu_fprs)); in sparc64_get_context()