Lines Matching refs:grp
46 mc_gregset_t __user *grp; in sparc64_set_context() local
57 grp = &ucp->uc_mcontext.mc_gregs; in sparc64_set_context()
58 err = __get_user(pc, &((*grp)[MC_PC])); in sparc64_set_context()
59 err |= __get_user(npc, &((*grp)[MC_NPC])); in sparc64_set_context()
80 err |= __get_user(regs->y, &((*grp)[MC_Y])); in sparc64_set_context()
81 err |= __get_user(tstate, &((*grp)[MC_TSTATE])); in sparc64_set_context()
84 err |= __get_user(regs->u_regs[UREG_G1], (&(*grp)[MC_G1])); in sparc64_set_context()
85 err |= __get_user(regs->u_regs[UREG_G2], (&(*grp)[MC_G2])); in sparc64_set_context()
86 err |= __get_user(regs->u_regs[UREG_G3], (&(*grp)[MC_G3])); in sparc64_set_context()
87 err |= __get_user(regs->u_regs[UREG_G4], (&(*grp)[MC_G4])); in sparc64_set_context()
88 err |= __get_user(regs->u_regs[UREG_G5], (&(*grp)[MC_G5])); in sparc64_set_context()
89 err |= __get_user(regs->u_regs[UREG_G6], (&(*grp)[MC_G6])); in sparc64_set_context()
93 err |= __get_user(regs->u_regs[UREG_I0], (&(*grp)[MC_O0])); in sparc64_set_context()
94 err |= __get_user(regs->u_regs[UREG_I1], (&(*grp)[MC_O1])); in sparc64_set_context()
95 err |= __get_user(regs->u_regs[UREG_I2], (&(*grp)[MC_O2])); in sparc64_set_context()
96 err |= __get_user(regs->u_regs[UREG_I3], (&(*grp)[MC_O3])); in sparc64_set_context()
97 err |= __get_user(regs->u_regs[UREG_I4], (&(*grp)[MC_O4])); in sparc64_set_context()
98 err |= __get_user(regs->u_regs[UREG_I5], (&(*grp)[MC_O5])); in sparc64_set_context()
99 err |= __get_user(regs->u_regs[UREG_I6], (&(*grp)[MC_O6])); in sparc64_set_context()
100 err |= __get_user(regs->u_regs[UREG_I7], (&(*grp)[MC_O7])); in sparc64_set_context()
145 mc_gregset_t __user *grp; in sparc64_get_context() local
162 grp = &mcp->mc_gregs; in sparc64_get_context()
180 err |= __put_user(regs->tstate, &((*grp)[MC_TSTATE])); in sparc64_get_context()
181 err |= __put_user(regs->tpc, &((*grp)[MC_PC])); in sparc64_get_context()
182 err |= __put_user(regs->tnpc, &((*grp)[MC_NPC])); in sparc64_get_context()
183 err |= __put_user(regs->y, &((*grp)[MC_Y])); in sparc64_get_context()
184 err |= __put_user(regs->u_regs[UREG_G1], &((*grp)[MC_G1])); in sparc64_get_context()
185 err |= __put_user(regs->u_regs[UREG_G2], &((*grp)[MC_G2])); in sparc64_get_context()
186 err |= __put_user(regs->u_regs[UREG_G3], &((*grp)[MC_G3])); in sparc64_get_context()
187 err |= __put_user(regs->u_regs[UREG_G4], &((*grp)[MC_G4])); in sparc64_get_context()
188 err |= __put_user(regs->u_regs[UREG_G5], &((*grp)[MC_G5])); in sparc64_get_context()
189 err |= __put_user(regs->u_regs[UREG_G6], &((*grp)[MC_G6])); in sparc64_get_context()
190 err |= __put_user(regs->u_regs[UREG_G7], &((*grp)[MC_G7])); in sparc64_get_context()
191 err |= __put_user(regs->u_regs[UREG_I0], &((*grp)[MC_O0])); in sparc64_get_context()
192 err |= __put_user(regs->u_regs[UREG_I1], &((*grp)[MC_O1])); in sparc64_get_context()
193 err |= __put_user(regs->u_regs[UREG_I2], &((*grp)[MC_O2])); in sparc64_get_context()
194 err |= __put_user(regs->u_regs[UREG_I3], &((*grp)[MC_O3])); in sparc64_get_context()
195 err |= __put_user(regs->u_regs[UREG_I4], &((*grp)[MC_O4])); in sparc64_get_context()
196 err |= __put_user(regs->u_regs[UREG_I5], &((*grp)[MC_O5])); in sparc64_get_context()
197 err |= __put_user(regs->u_regs[UREG_I6], &((*grp)[MC_O6])); in sparc64_get_context()
198 err |= __put_user(regs->u_regs[UREG_I7], &((*grp)[MC_O7])); in sparc64_get_context()