Lines Matching defs:actual
2869 int actual=0;
2871 actual = 0;
2874 if (actual <= count) {
2875 fsidlst[actual] = mp->mnt_vfsstat.f_fsid;
2876 actual++;
2880 return (actual);
2885 * fill in the array of fsid_t's up to a max of 'count', the actual
2886 * number filled in will be set in '*actual'. If there are more fsid_t's
2887 * than room in fsidlst then ENOMEM will be returned and '*actual' will
2888 * have the actual count.
2889 * having *actual filled out even in the error case is depended upon.
2892 sysctl_vfs_getvfslist(fsid_t *fsidlst, int count, int *actual)
2896 *actual = 0;
2899 (*actual)++;
2900 if (*actual <= count)
2901 fsidlst[(*actual) - 1] = mp->mnt_vfsstat.f_fsid;
2904 return (*actual <= count ? 0 : ENOMEM);
2911 int actual, error;
2938 &actual);
2949 error = SYSCTL_OUT(req, fsidlst, actual * sizeof(fsid_t));
3004 * Note if this is a VFS_CTL then we pass the actual sysctl req
5381 * VNOP_ACCESS, as most will authorise inline with the actual request.