HomeSort by: relevance | last modified time | path
    Searched defs:mntsize (Results 1 - 14 of 14) sorted by relevancy

  /src/lib/libc/compat/gen/
compat___getmntinfo13.c 61 static int mntsize; variable in typeref:typename:int
66 if (mntsize <= 0 &&
67 (mntsize = __compat_getvfsstat(NULL, 0L, MNT_NOWAIT)) == -1)
70 (mntsize = __compat_getvfsstat(mntbuf, bufsize, flags)) == -1)
72 while (bufsize <= mntsize * sizeof(struct statvfs90)) {
75 bufsize = (mntsize + 1) * sizeof(struct statvfs90);
78 if ((mntsize = __compat_getvfsstat(mntbuf, bufsize,
83 return (mntsize);
compat___getmntinfo13.c 61 static int mntsize; variable in typeref:typename:int
66 if (mntsize <= 0 &&
67 (mntsize = __compat_getvfsstat(NULL, 0L, MNT_NOWAIT)) == -1)
70 (mntsize = __compat_getvfsstat(mntbuf, bufsize, flags)) == -1)
72 while (bufsize <= mntsize * sizeof(struct statvfs90)) {
75 bufsize = (mntsize + 1) * sizeof(struct statvfs90);
78 if ((mntsize = __compat_getvfsstat(mntbuf, bufsize,
83 return (mntsize);
compat_getmntinfo.c 62 static int mntsize; local in function:__strong_alias
67 if (mntsize <= 0 &&
68 (mntsize = __compat_getfsstat(NULL, 0L, MNT_NOWAIT)) == -1)
71 (mntsize = __compat_getfsstat(mntbuf, (long)bufsize, flags)) == -1)
73 while (bufsize <= mntsize * sizeof(struct statfs12)) {
76 bufsize = (mntsize + 1) * sizeof(struct statfs12);
79 if ((mntsize = __compat_getfsstat(mntbuf, (long)bufsize,
84 return (mntsize);
compat_getmntinfo.c 62 static int mntsize; local in function:__strong_alias
67 if (mntsize <= 0 &&
68 (mntsize = __compat_getfsstat(NULL, 0L, MNT_NOWAIT)) == -1)
71 (mntsize = __compat_getfsstat(mntbuf, (long)bufsize, flags)) == -1)
73 while (bufsize <= mntsize * sizeof(struct statfs12)) {
76 bufsize = (mntsize + 1) * sizeof(struct statfs12);
79 if ((mntsize = __compat_getfsstat(mntbuf, (long)bufsize,
84 return (mntsize);
  /src/lib/libc/gen/
getmntinfo.c 57 static int mntsize; local in function:getmntinfo
62 if (mntsize <= 0 &&
63 (mntsize = getvfsstat(NULL, (size_t)0, MNT_NOWAIT)) == -1)
66 (mntsize = getvfsstat(mntbuf, bufsize, flags)) == -1)
68 while (bufsize <= mntsize * sizeof(struct statvfs)) {
71 bufsize = (mntsize + 1) * sizeof(struct statvfs);
74 if ((mntsize = getvfsstat(mntbuf, bufsize, flags)) == -1)
78 return (mntsize);
getmntinfo.c 57 static int mntsize; local in function:getmntinfo
62 if (mntsize <= 0 &&
63 (mntsize = getvfsstat(NULL, (size_t)0, MNT_NOWAIT)) == -1)
66 (mntsize = getvfsstat(mntbuf, bufsize, flags)) == -1)
68 while (bufsize <= mntsize * sizeof(struct statvfs)) {
71 bufsize = (mntsize + 1) * sizeof(struct statvfs);
74 if ((mntsize = getvfsstat(mntbuf, bufsize, flags)) == -1)
78 return (mntsize);
  /src/tests/fs/nfs/nfsservice/
getmntinfo.c 64 static int mntsize; local in function:getmntinfo
69 if (mntsize <= 0 &&
70 (mntsize = getvfsstat(NULL, (size_t)0, MNT_NOWAIT)) == -1)
73 (mntsize = getvfsstat(mntbuf, bufsize, flags)) == -1)
75 while (bufsize <= mntsize * sizeof(struct statvfs)) {
78 bufsize = (mntsize + 1) * sizeof(struct statvfs);
81 if ((mntsize = getvfsstat(mntbuf, bufsize, flags)) == -1)
85 return (mntsize);
getmntinfo.c 64 static int mntsize; local in function:getmntinfo
69 if (mntsize <= 0 &&
70 (mntsize = getvfsstat(NULL, (size_t)0, MNT_NOWAIT)) == -1)
73 (mntsize = getvfsstat(mntbuf, bufsize, flags)) == -1)
75 while (bufsize <= mntsize * sizeof(struct statvfs)) {
78 bufsize = (mntsize + 1) * sizeof(struct statvfs);
81 if ((mntsize = getvfsstat(mntbuf, bufsize, flags)) == -1)
85 return (mntsize);
  /src/sbin/mount_lfs/
mount_lfs.c 155 int mntsize, oldflags, i; local in function:mount_lfs
169 if ((mntsize = getmntinfo(&mntbuf, MNT_NOWAIT)) == 0)
171 for (i = 0; i < mntsize; i++) {
mount_lfs.c 155 int mntsize, oldflags, i; local in function:mount_lfs
169 if ((mntsize = getmntinfo(&mntbuf, MNT_NOWAIT)) == 0)
171 for (i = 0; i < mntsize; i++) {
  /src/sbin/umount/
umount.c 377 static int mntsize; local in function:getmntname
382 (mntsize = getmntinfo(&mntbuf, MNT_NOWAIT)) == 0) {
386 for (i = mntsize - 1; i >= 0; i--) {
umount.c 377 static int mntsize; local in function:getmntname
382 (mntsize = getmntinfo(&mntbuf, MNT_NOWAIT)) == 0) {
386 for (i = mntsize - 1; i >= 0; i--) {
  /src/sbin/mount/
mount.c 113 int all, ch, forceall, i, init_flags, mntsize, rval; local in function:main
209 if ((mntsize = getmntinfo(&mntbuf, MNT_NOWAIT)) == 0)
211 for (i = 0; i < mntsize; i++) {
660 int i, mntsize; local in function:getmntpt
662 mntsize = getmntinfo(&mntbuf, MNT_NOWAIT);
663 for (i = 0; i < mntsize; i++)
mount.c 113 int all, ch, forceall, i, init_flags, mntsize, rval; local in function:main
209 if ((mntsize = getmntinfo(&mntbuf, MNT_NOWAIT)) == 0)
211 for (i = 0; i < mntsize; i++) {
660 int i, mntsize; local in function:getmntpt
662 mntsize = getmntinfo(&mntbuf, MNT_NOWAIT);
663 for (i = 0; i < mntsize; i++)

Completed in 26 milliseconds