Lines Matching defs:uc
689 svr4_ucontext_t __user *uc;
706 uc = &sfp->uc;
708 mc = &uc->mcontext;
716 err |= __copy_to_user(&uc->sigmask, &setv, sizeof(svr4_sigset_t));
718 err |= __copy_to_user(&uc->sigmask, &setv,
734 err |= __put_user(current->sas_ss_sp, &uc->stack.sp);
735 err |= __put_user(sas_ss_flags(regs->u_regs[UREG_FP]), &uc->stack.flags);
736 err |= __put_user(current->sas_ss_size, &uc->stack.size);
740 /* 1. Link sfp->uc->gwins to our windows */
788 err |= __put_user(uc, &rw->ins[2]);
795 regs->u_regs[UREG_I2] = (unsigned long) uc;
805 asmlinkage int svr4_getcontext(svr4_ucontext_t __user *uc, struct pt_regs *regs)
817 err = clear_user(uc, sizeof(*uc));
822 mc = &uc->mcontext;
830 err |= __copy_to_user(&uc->sigmask, &setv, sizeof(svr4_sigset_t));
832 err |= __copy_to_user(&uc->sigmask, &setv,
836 err |= __put_user(regs->pc, &uc->mcontext.greg[SVR4_PC]);
837 err |= __put_user(regs->npc, &uc->mcontext.greg[SVR4_NPC]);
838 err |= __put_user(regs->psr, &uc->mcontext.greg[SVR4_PSR]);
839 err |= __put_user(regs->y, &uc->mcontext.greg[SVR4_Y]);
848 err |= __put_user(current->sas_ss_sp, &uc->stack.sp);
849 err |= __put_user(sas_ss_flags(regs->u_regs[UREG_FP]), &uc->stack.flags);
850 err |= __put_user(current->sas_ss_size, &uc->stack.size);