Lines Matching defs:uc
811 svr4_ucontext_t __user *uc;
832 uc = &sfp->uc;
834 mc = &uc->mcontext;
842 err |= __copy_to_user(&uc->sigmask, &setv, sizeof(svr4_sigset_t));
844 err |= __copy_to_user(&uc->sigmask, &setv,
867 err |= __put_user(current->sas_ss_sp, &uc->stack.sp);
868 err |= __put_user(sas_ss_flags(regs->u_regs[UREG_FP]), &uc->stack.flags);
869 err |= __put_user(current->sas_ss_size, &uc->stack.size);
873 /* 1. Link sfp->uc->gwins to our windows */
906 err |= __put_user((u64)uc, &rw->ins[2]);
913 regs->u_regs[UREG_I2] = (u32)(u64) uc;
922 svr4_getcontext(svr4_ucontext_t __user *uc, struct pt_regs *regs)
936 err = clear_user(uc, sizeof(*uc));
939 mc = &uc->mcontext;
947 err |= __copy_to_user(&uc->sigmask, &setv, sizeof(svr4_sigset_t));
949 err |= __copy_to_user(&uc->sigmask, &setv, 2 * sizeof(unsigned));
956 err |= __put_user(regs->tpc, &uc->mcontext.greg[SVR4_PC]);
957 err |= __put_user(regs->tnpc, &uc->mcontext.greg[SVR4_NPC]);
962 err |= __put_user(psr, &uc->mcontext.greg[SVR4_PSR]);
964 err |= __put_user(regs->y, &uc->mcontext.greg[SVR4_Y]);
973 err |= __put_user(current->sas_ss_sp, &uc->stack.sp);
974 err |= __put_user(sas_ss_flags(regs->u_regs[UREG_FP]), &uc->stack.flags);
975 err |= __put_user(current->sas_ss_size, &uc->stack.size);