Lines Matching defs:retval

170 socket(struct proc *p, struct socket_args *uap, int32_t *retval)
214 *retval = fd;
234 bind(__unused proc_t p, struct bind_args *uap, __unused int32_t *retval)
291 __unused int32_t *retval)
336 int32_t *retval)
349 *retval = -1;
486 *retval = newfd;
547 accept(struct proc *p, struct accept_args *uap, int32_t *retval)
550 return(accept_nocancel(p, (struct accept_nocancel_args *)uap, retval));
577 connect(struct proc *p, struct connect_args *uap, int32_t *retval)
580 return(connect_nocancel(p, (struct connect_nocancel_args *)uap, retval));
584 connect_nocancel(__unused proc_t p, struct connect_nocancel_args *uap, __unused int32_t *retval)
698 __unused int32_t *retval)
810 int flags, int32_t *retval)
882 *retval = (int)(len - uio_resid(uiop));
899 sendto(struct proc *p, struct sendto_args *uap, int32_t *retval)
902 return(sendto_nocancel(p, (struct sendto_nocancel_args *)uap, retval));
906 sendto_nocancel(struct proc *p, struct sendto_nocancel_args *uap, int32_t *retval)
931 error = sendit(p, uap->s, &msg, auio, uap->flags, retval);
967 *retval = (int)write_retval;
973 KERNEL_DEBUG(DBG_FNC_SENDTO | DBG_FUNC_END, error, *retval, 0, 0, 0);
985 sendmsg(struct proc *p, struct sendmsg_args *uap, int32_t *retval)
988 return(sendmsg_nocancel(p, (struct sendmsg_nocancel_args *)uap, retval));
992 sendmsg_nocancel(struct proc *p, struct sendmsg_nocancel_args *uap, int32_t *retval)
1077 error = sendit(p, uap->s, &user_msg, auio, uap->flags, retval);
1111 user_addr_t namelenp, int32_t *retval)
1175 *retval = len - uio_resid(uiop);
1313 recvfrom(struct proc *p, struct recvfrom_args *uap, int32_t *retval)
1316 return(recvfrom_nocancel(p, (struct recvfrom_nocancel_args *)uap, retval));
1320 recvfrom_nocancel(struct proc *p, struct recvfrom_nocancel_args *uap, int32_t *retval)
1352 error = recvit(p, uap->s, &msg, auio, uap->fromlenaddr, retval);
1387 *retval = (int)read_retval;
1410 recvmsg(struct proc *p, struct recvmsg_args *uap, int32_t *retval)
1413 return(recvmsg_nocancel(p, (struct recvmsg_nocancel_args *)uap, retval));
1417 recvmsg_nocancel(struct proc *p, struct recvmsg_nocancel_args *uap, int32_t *retval)
1500 error = recvit(p, uap->s, &user_msg, auio, 0, retval);
1553 __unused int32_t *retval)
1590 __unused int32_t *retval)
1642 __unused int32_t *retval)
1706 __unused int32_t *retval)
1774 __unused int32_t *retval)
2057 sendfile(struct proc *p, struct sendfile_args *uap, __unused int *retval)