Lines Matching defs:retval

129     struct filedesc *fdp, int old, int new, int flags, int32_t *retval);
273 * retval Pointer to the call return area
278 * *retval (modified) Size of dtable
281 getdtablesize(proc_t p, __unused struct getdtablesize_args *uap, int32_t *retval)
284 *retval = min((int)p->p_rlimit[RLIMIT_NOFILE].rlim_cur, maxfiles);
455 * retval Pointer to the call return area
461 * *retval (modified) The new descriptor
464 dup(proc_t p, struct dup_args *uap, int32_t *retval)
481 error = finishdup(p, fdp, old, new, 0, retval);
496 * retval Pointer to the call return area
502 * *retval (modified) The new descriptor
505 dup2(proc_t p, struct dup2_args *uap, int32_t *retval)
528 *retval = new;
581 error = finishdup(p, fdp, old, new, 0, retval);
598 * retval Pointer to the call return area
604 * *retval (modified) fcntl return value (if any)
611 fcntl(proc_t p, struct fcntl_args *uap, int32_t *retval)
614 return(fcntl_nocancel(p, (struct fcntl_nocancel_args *)uap, retval));
627 * retval Pointer to the call return area
669 * *retval (modified) fcntl return value (if any)
672 fcntl_nocancel(proc_t p, struct fcntl_nocancel_args *uap, int32_t *retval)
740 uap->cmd == F_DUPFD_CLOEXEC ? UF_EXCLOSE : 0, retval);
744 *retval = (*pop & UF_EXCLOSE)? 1 : 0;
756 *retval = OFLAGS(fp->f_flag);
780 *retval = ((struct socket *)fp->f_data)->so_pgid;
784 error = fo_ioctl(fp, (int)TIOCGPGRP, (caddr_t)retval, &context);
785 *retval = -*retval;
835 int retsize = sizeof (*retval);
837 SOL_SOCKET, SO_NOSIGPIPE, retval, &retsize);
839 *retval = (fp->f_fglob->fg_lflags & FG_NOSIGPIPE) ?
1187 *retval = vnode_isnocache(vp);
1208 *retval = vnode_is_openevt(vp);
1360 error = vn_path_package_check(vp, pathbufp, pathlen, retval);
1445 error = open1(&context, &nd, fopen.o_flags, &va, retval);
1675 *retval = class;
1753 *retval = cp_version;
2141 * retval Pointer to the call return area
2148 * *retval (modified) The new descriptor
2159 struct filedesc *fdp, int old, int new, int fd_flags, int32_t *retval)
2216 *retval = new;
2229 * retval <unused>
2238 close(proc_t p, struct close_args *uap, int32_t *retval)
2241 return(close_nocancel(p, (struct close_nocancel_args *)uap, retval));
2246 close_nocancel(proc_t p, struct close_nocancel_args *uap, __unused int32_t *retval)
2581 fstat_extended(proc_t p, struct fstat_extended_args *uap, __unused int32_t *retval)
2600 fstat(proc_t p, register struct fstat_args *uap, __unused int32_t *retval)
2623 fstat64_extended(proc_t p, struct fstat64_extended_args *uap, __unused int32_t *retval)
2643 fstat64(proc_t p, register struct fstat64_args *uap, __unused int32_t *retval)
2657 * retval Pointer to the call return area
2666 * *retval (modified) Returned information (numeric)
2669 fpathconf(proc_t p, struct fpathconf_args *uap, int32_t *retval)
2692 *retval = PIPE_BUF;
2701 *retval = PIPE_BUF;
2711 error = vn_pathconf(vp, uap->name, retval, vfs_context_current());
4710 * retval Pointer to the call return area
4719 * *retval (modified) Size of dtable
4725 flock(proc_t p, struct flock_args *uap, __unused int32_t *retval)
4800 __unused int *retval)
4889 * *retval (modified) The new descriptor
4892 fileport_makefd(proc_t p, struct fileport_makefd_args *uap, int32_t *retval)
4938 *retval = fd;