Lines Matching refs:sr
165 struct mcontext __user *sr)
173 if (__get_user(gregs[i], &sr->mc_gregs[i]))
219 struct mcontext __user *sr)
222 if (__copy_from_user(regs, &sr->mc_gregs,
226 if (__copy_from_user(®s->orig_gpr3, &sr->mc_gregs[PT_ORIG_R3],
416 struct mcontext __user *sr, int sig)
428 err = restore_general_regs(regs, sr);
429 err |= __get_user(msr, &sr->mc_gregs[PT_MSR]);
451 if (__copy_from_user(current->thread.fpr, &sr->mc_fregs,
452 sizeof(sr->mc_fregs)))
461 if (__copy_from_user(current->thread.vr, &sr->mc_vregs,
462 sizeof(sr->mc_vregs)))
468 if (__get_user(current->thread.vrsave, (u32 __user *)&sr->mc_vregs[32]))
478 if (__copy_from_user(current->thread.evr, &sr->mc_vregs,
485 if (__get_user(current->thread.spefscr, (u32 __user *)&sr->mc_vregs + ELF_NEVRREG))
1094 struct mcontext __user *sr;
1116 sr = (struct mcontext __user *)from_user_ptr(sigctx.regs);
1117 if (!access_ok(VERIFY_READ, sr, sizeof(*sr))
1118 || restore_user_regs(regs, sr, 1))