Lines Matching defs:retval
262 mount(proc_t p, struct mount_args *uap, __unused int32_t *retval)
271 return (__mac_mount(p, &muap, retval));
288 * retval (ignored)
303 __mac_mount(struct proc *p, register struct __mac_mount_args *uap, __unused int32_t *retval)
1653 unmount(__unused proc_t p, struct unmount_args *uap, __unused int32_t *retval)
2045 sync(__unused proc_t p, __unused struct sync_args *uap, __unused int32_t *retval)
2075 static int quotactl_funneled(proc_t p, struct quotactl_args *uap, int32_t *retval);
2078 quotactl(proc_t p, struct quotactl_args *uap, int32_t *retval)
2084 error = quotactl_funneled(p, uap, retval);
2090 quotactl_funneled(proc_t p, struct quotactl_args *uap, __unused int32_t *retval)
2185 quotactl(__unused proc_t p, __unused struct quotactl_args *uap, __unused int32_t *retval)
2201 statfs(__unused proc_t p, struct statfs_args *uap, __unused int32_t *retval)
2234 fstatfs(__unused proc_t p, struct fstatfs_args *uap, __unused int32_t *retval)
2313 statfs64(__unused struct proc *p, struct statfs64_args *uap, __unused int32_t *retval)
2346 fstatfs64(__unused struct proc *p, struct fstatfs64_args *uap, __unused int32_t *retval)
2444 getfsstat(__unused proc_t p, struct getfsstat_args *uap, int *retval)
2454 return (__mac_getfsstat(p, &muap, retval));
2462 * retval Count of file system statistics (N stats)
2476 __mac_getfsstat(__unused proc_t p, struct __mac_getfsstat_args *uap, int *retval)
2556 *retval = fst.maxcount;
2558 *retval = fst.count;
2601 getfsstat64(__unused proc_t p, struct getfsstat64_args *uap, int *retval)
2626 *retval = fst.maxcount;
2628 *retval = fst.count;
2741 fchdir(proc_t p, struct fchdir_args *uap, __unused int32_t *retval)
2747 __pthread_fchdir(proc_t p, struct __pthread_fchdir_args *uap, __unused int32_t *retval)
2816 * retval (ignored)
2827 chdir(proc_t p, struct chdir_args *uap, __unused int32_t *retval)
2839 * retval (ignored)
2850 __pthread_chdir(proc_t p, struct __pthread_chdir_args *uap, __unused int32_t *retval)
2861 chroot(proc_t p, struct chroot_args *uap, __unused int32_t *retval)
2964 open1(vfs_context_t ctx, struct nameidata *ndp, int uflags, struct vnode_attr *vap, int32_t *retval)
3018 *retval = indx;
3130 *retval = indx;
3160 * retval Pointer to an area to receive the
3179 open_extended(proc_t p, struct open_extended_args *uap, int32_t *retval)
3208 ciferror = open1(vfs_context_current(), &nd, uap->flags, &va, retval);
3220 int open_dprotected_np (__unused proc_t p, struct open_dprotected_np_args *uap, int32_t *retval) {
3261 error = open1(vfs_context_current(), &nd, uap->flags, &va, retval);
3268 open(proc_t p, struct open_args *uap, int32_t *retval)
3271 return(open_nocancel(p, (struct open_nocancel_args *)uap, retval));
3275 open_nocancel(proc_t p, struct open_nocancel_args *uap, int32_t *retval)
3290 return(open1(vfs_context_current(), &nd, uap->flags, &va, retval));
3300 mknod(proc_t p, struct mknod_args *uap, __unused int32_t *retval)
3450 * retval (Ignored)
3467 mkfifo_extended(proc_t p, struct mkfifo_extended_args *uap, __unused int32_t *retval)
3499 mkfifo(proc_t p, struct mkfifo_args *uap, __unused int32_t *retval)
3599 link(__unused proc_t p, struct link_args *uap, __unused int32_t *retval)
3778 symlink(proc_t p, struct symlink_args *uap, __unused int32_t *retval)
3908 undelete(__unused proc_t p, struct undelete_args *uap, __unused int32_t *retval)
4143 unlink(__unused proc_t p, struct unlink_args *uap, __unused int32_t *retval)
4157 delete(__unused proc_t p, struct delete_args *uap, __unused int32_t *retval)
4171 lseek(proc_t p, struct lseek_args *uap, off_t *retval)
4238 *retval = fp->f_fglob->fg_offset;
4363 access_extended(__unused proc_t p, struct access_extended_args *uap, __unused int32_t *retval)
4597 access(__unused proc_t p, struct access_args *uap, __unused int32_t *retval)
4823 * retval (ignored)
4835 stat_extended(__unused proc_t p, struct stat_extended_args *uap, __unused int32_t *retval)
4845 stat(__unused proc_t p, struct stat_args *uap, __unused int32_t *retval)
4851 stat64(__unused proc_t p, struct stat64_args *uap, __unused int32_t *retval)
4861 * retval (ignored)
4873 stat64_extended(__unused proc_t p, struct stat64_extended_args *uap, __unused int32_t *retval)
4897 * retval (ignored)
4909 lstat_extended(__unused proc_t p, struct lstat_extended_args *uap, __unused int32_t *retval)
4915 lstat(__unused proc_t p, struct lstat_args *uap, __unused int32_t *retval)
4921 lstat64(__unused proc_t p, struct lstat64_args *uap, __unused int32_t *retval)
4932 * retval (ignored)
4944 lstat64_extended(__unused proc_t p, struct lstat64_extended_args *uap, __unused int32_t *retval)
4966 pathconf(__unused proc_t p, struct pathconf_args *uap, int32_t *retval)
4978 error = vn_pathconf(nd.ni_vp, uap->name, retval, ctx);
4990 readlink(proc_t p, struct readlink_args *uap, int32_t *retval)
5027 *retval = uap->count - (int)uio_resid(auio);
5075 chflags(__unused proc_t p, struct chflags_args *uap, __unused int32_t *retval)
5101 fchflags(__unused proc_t p, struct fchflags_args *uap, __unused int32_t *retval)
5201 * retval (ignored)
5218 chmod_extended(__unused proc_t p, struct chmod_extended_args *uap, __unused int32_t *retval)
5262 chmod(__unused proc_t p, struct chmod_args *uap, __unused int32_t *retval)
5304 * retval (ignored)
5317 fchmod_extended(proc_t p, struct fchmod_extended_args *uap, __unused int32_t *retval)
5361 fchmod(proc_t p, struct fchmod_args *uap, __unused int32_t *retval)
5377 chown1(vfs_context_t ctx, struct chown_args *uap, __unused int32_t *retval, int follow)
5429 chown(__unused proc_t p, struct chown_args *uap, int32_t *retval)
5431 return chown1(vfs_context_current(), uap, retval, 1);
5435 lchown(__unused proc_t p, struct lchown_args *uap, int32_t *retval)
5438 return chown1(vfs_context_current(), (struct chown_args *)uap, retval, 0);
5446 fchown(__unused proc_t p, struct fchown_args *uap, __unused int32_t *retval)
5585 utimes(__unused proc_t p, struct utimes_args *uap, __unused int32_t *retval)
5624 futimes(__unused proc_t p, struct futimes_args *uap, __unused int32_t *retval)
5653 truncate(__unused proc_t p, struct truncate_args *uap, __unused int32_t *retval)
5696 ftruncate(proc_t p, struct ftruncate_args *uap, int32_t *retval)
5714 error = pshm_truncate(p, fp, uap->fd, uap->length, retval);
5759 fsync(proc_t p, struct fsync_args *uap, __unused int32_t *retval)
5774 fsync_nocancel(proc_t p, struct fsync_nocancel_args *uap, __unused int32_t *retval)
5785 fdatasync(proc_t p, struct fdatasync_args *uap, __unused int32_t *retval)
5863 copyfile(__unused proc_t p, struct copyfile_args *uap, __unused int32_t *retval)
5947 rename(__unused proc_t p, struct rename_args *uap, __unused int32_t *retval)
6579 * retval (ignored)
6590 mkdir_extended(proc_t p, struct mkdir_extended_args *uap, __unused int32_t *retval)
6615 mkdir(proc_t p, struct mkdir_args *uap, __unused int32_t *retval)
6630 rmdir(__unused proc_t p, struct rmdir_args *uap, __unused int32_t *retval)
7009 getdirentries(__unused struct proc *p, struct getdirentries_args *uap, int32_t *retval)
7026 *retval = bytesread;
7032 getdirentries64(__unused struct proc *p, struct getdirentries64_args *uap, user_ssize_t *retval)
7042 *retval = bytesread;
7055 umask1(proc_t p, int newmask, __unused kauth_filesec_t fsec, int32_t *retval)
7062 *retval = fdp->fd_cmask;
7073 * retval umask of the process (parameter p)
7083 umask_extended(proc_t p, struct umask_extended_args *uap, int32_t *retval)
7096 ciferror = umask1(p, uap->newmask, xsecdst, retval);
7104 umask(proc_t p, struct umask_args *uap, int32_t *retval)
7106 return(umask1(p, uap->newmask, UMASK_NOXSECURITY, retval));
7115 revoke(proc_t p, struct revoke_args *uap, __unused int32_t *retval)
7179 getdirentriesattr (proc_t p, struct getdirentriesattr_args *uap, int32_t *retval)
7279 *retval = eofflag; /* similar to getdirentries */
7283 return (error); /* return error earlier, an retval of 0 or 1 now */
7293 exchangedata (__unused proc_t p, struct exchangedata_args *uap, __unused int32_t *retval)
7449 searchfs(proc_t p, struct searchfs_args *uap, __unused int32_t *retval)
7665 searchfs(__unused proc_t p, __unused struct searchfs_args *uap, __unused int32_t *retval)
8684 fsctl (proc_t p, struct fsctl_args *uap, __unused int32_t *retval)
8719 ffsctl (proc_t p, struct ffsctl_args *uap, __unused int32_t *retval)
8767 int retval[2];
8770 error = sync(current_proc(), &data, &retval[0]);
8781 getxattr(proc_t p, struct getxattr_args *uap, user_ssize_t *retval)
8853 *retval = uap->size - uio_resid(auio);
8855 *retval = (user_ssize_t)attrsize;
8865 fgetxattr(proc_t p, struct fgetxattr_args *uap, user_ssize_t *retval)
8905 *retval = uap->size - uio_resid(auio);
8907 *retval = (user_ssize_t)attrsize;
8916 setxattr(proc_t p, struct setxattr_args *uap, int *retval)
8967 *retval = 0;
8975 fsetxattr(proc_t p, struct fsetxattr_args *uap, int *retval)
9020 *retval = 0;
9029 removexattr(proc_t p, struct removexattr_args *uap, int *retval)
9066 *retval = 0;
9075 fremovexattr(__unused proc_t p, struct fremovexattr_args *uap, int *retval)
9112 *retval = 0;
9121 listxattr(proc_t p, struct listxattr_args *uap, user_ssize_t *retval)
9153 *retval = (user_ssize_t)uap->bufsize - uio_resid(auio);
9155 *retval = (user_ssize_t)attrsize;
9165 flistxattr(proc_t p, struct flistxattr_args *uap, user_ssize_t *retval)
9195 *retval = (user_ssize_t)uap->bufsize - uio_resid(auio);
9197 *retval = (user_ssize_t)attrsize;
9209 fsgetpath(__unused proc_t p, struct fsgetpath_args *uap, user_ssize_t *retval)
9266 *retval = (user_ssize_t)length; /* may be superseded by error */