Lines Matching refs:actual
3199 int actual=0;
3201 actual = 0;
3204 if (actual <= count) {
3205 fsidlst[actual] = mp->mnt_vfsstat.f_fsid;
3206 actual++;
3210 return (actual);
3215 * fill in the array of fsid_t's up to a max of 'count', the actual
3216 * number filled in will be set in '*actual'. If there are more fsid_t's
3217 * than room in fsidlst then ENOMEM will be returned and '*actual' will
3218 * have the actual count.
3219 * having *actual filled out even in the error case is depended upon.
3222 sysctl_vfs_getvfslist(fsid_t *fsidlst, int count, int *actual)
3226 *actual = 0;
3229 (*actual)++;
3230 if (*actual <= count)
3231 fsidlst[(*actual) - 1] = mp->mnt_vfsstat.f_fsid;
3234 return (*actual <= count ? 0 : ENOMEM);
3241 int actual, error;
3272 &actual);
3283 error = SYSCTL_OUT(req, fsidlst, actual * sizeof(fsid_t));
3325 * Note if this is a VFS_CTL then we pass the actual sysctl req
6612 * VNOP_ACCESS, as most will authorise inline with the actual request.