Lines Matching refs:actual
3322 int actual=0;
3324 actual = 0;
3327 if (actual <= count) {
3328 fsidlst[actual] = mp->mnt_vfsstat.f_fsid;
3329 actual++;
3333 return (actual);
3338 * fill in the array of fsid_t's up to a max of 'count', the actual
3339 * number filled in will be set in '*actual'. If there are more fsid_t's
3340 * than room in fsidlst then ENOMEM will be returned and '*actual' will
3341 * have the actual count.
3342 * having *actual filled out even in the error case is depended upon.
3345 sysctl_vfs_getvfslist(fsid_t *fsidlst, int count, int *actual)
3349 *actual = 0;
3352 (*actual)++;
3353 if (*actual <= count)
3354 fsidlst[(*actual) - 1] = mp->mnt_vfsstat.f_fsid;
3357 return (*actual <= count ? 0 : ENOMEM);
3364 int actual, error;
3395 &actual);
3406 error = SYSCTL_OUT(req, fsidlst, actual * sizeof(fsid_t));
3448 * Note if this is a VFS_CTL then we pass the actual sysctl req
6849 * VNOP_ACCESS, as most will authorise inline with the actual request.