Lines Matching defs:retval
228 exit(proc_t p, struct exit_args *uap, int *retval)
230 exit1(p, W_EXITCODE(uap->rval, 0), retval);
246 exit1(proc_t p, int rv, int *retval)
248 return exit1_internal(p, rv, retval, TRUE, TRUE);
252 exit1_internal(proc_t p, int rv, int *retval, boolean_t thread_can_terminate, boolean_t perf_notify)
272 vfork_return(p , retval, p->p_pid);
1110 int *retval;
1119 retval = get_bsduthreadrval(thread);
1120 return(wait4(p, (struct wait4_args *)vt, retval));
1124 wait4(proc_t q, struct wait4_args *uap, int32_t *retval)
1127 return(wait4_nocancel(q, (struct wait4_nocancel_args *)uap, retval));
1131 wait4_nocancel(proc_t q, struct wait4_nocancel_args *uap, int32_t *retval)
1176 retval[0] = p->p_pid;
1245 retval[0] = p->p_pid;
1269 retval[0] = p->p_pid;
1289 retval[0] = 0;
1318 int *retval;
1325 retval = get_bsduthreadrval(thread);
1326 return (waitid(current_proc(), (struct waitid_args *)vt, retval));
1343 waitid(proc_t q, struct waitid_args *uap, int32_t *retval)
1346 return (waitid_nocancel(q, (struct waitid_nocancel_args *)uap, retval));
1351 __unused int32_t *retval)