Lines Matching defs:ret
66 int ret;
69 ret = EINVAL;
76 ret = copyout(&uc, uap->ucp, UC_COPY_SIZE);
78 return (ret);
85 int ret;
88 ret = EINVAL;
90 ret = copyin(uap->ucp, &uc, UC_COPY_SIZE);
91 if (ret == 0) {
92 ret = set_mcontext(td, &uc.uc_mcontext);
93 if (ret == 0) {
99 return (ret == 0 ? EJUSTRETURN : ret);
106 int ret;
109 ret = EINVAL;
116 ret = copyout(&uc, uap->oucp, UC_COPY_SIZE);
117 if (ret == 0) {
118 ret = copyin(uap->ucp, &uc, UC_COPY_SIZE);
119 if (ret == 0) {
120 ret = set_mcontext(td, &uc.uc_mcontext);
121 if (ret == 0) {
128 return (ret == 0 ? EJUSTRETURN : ret);