Searched refs:mntsize (Results 1 - 7 of 7) sorted by relevance
/netbsd-6-1-5-RELEASE/lib/libc/compat/gen/ |
H A D | compat_getmntinfo.c | 66 static int mntsize; local 71 if (mntsize <= 0 && 72 (mntsize = getfsstat(NULL, 0L, MNT_NOWAIT)) == -1) 75 (mntsize = getfsstat(mntbuf, (long)bufsize, flags)) == -1) 77 while (bufsize <= mntsize * sizeof(struct statfs12)) { 80 bufsize = (mntsize + 1) * sizeof(struct statfs12); 83 if ((mntsize = getfsstat(mntbuf, (long)bufsize, flags)) == -1) 87 return (mntsize);
|
/netbsd-6-1-5-RELEASE/lib/libc/gen/ |
H A D | getmntinfo.c | 59 static int mntsize; local 64 if (mntsize <= 0 && 65 (mntsize = getvfsstat(NULL, (size_t)0, MNT_NOWAIT)) == -1) 68 (mntsize = getvfsstat(mntbuf, bufsize, flags)) == -1) 70 while (bufsize <= mntsize * sizeof(struct statvfs)) { 73 bufsize = (mntsize + 1) * sizeof(struct statvfs); 76 if ((mntsize = getvfsstat(mntbuf, bufsize, flags)) == -1) 80 return (mntsize);
|
/netbsd-6-1-5-RELEASE/tests/fs/nfs/nfsservice/ |
H A D | getmntinfo.c | 63 static int mntsize; local 68 if (mntsize <= 0 && 69 (mntsize = getvfsstat(NULL, (size_t)0, MNT_NOWAIT)) == -1) 72 (mntsize = getvfsstat(mntbuf, bufsize, flags)) == -1) 74 while (bufsize <= mntsize * sizeof(struct statvfs)) { 77 bufsize = (mntsize + 1) * sizeof(struct statvfs); 80 if ((mntsize = getvfsstat(mntbuf, bufsize, flags)) == -1) 84 return (mntsize);
|
/netbsd-6-1-5-RELEASE/bin/df/ |
H A D | df.c | 86 long mntsize; local 157 mntsize = getmntinfo(&mntbuf, MNT_NOWAIT); 158 if (mntsize == 0) 163 mntsize = regetmntinfo(&mntbuf, mntsize); 167 mntsize = 0; 183 if (!statvfs(mntpt, &mntbuf[mntsize])) 185 (mntbuf[mntsize].f_flag & MNT_LOCAL) == 0) 189 (!selected(mntbuf[mntsize].f_fstypename, 190 sizeof(mntbuf[mntsize] 216 size_t mntsize, i; local 289 regetmntinfo(struct statvfs **mntbufp, size_t mntsize) argument [all...] |
/netbsd-6-1-5-RELEASE/sbin/mount_lfs/ |
H A D | mount_lfs.c | 156 int mntsize, oldflags, i; local 170 if ((mntsize = getmntinfo(&mntbuf, MNT_NOWAIT)) == 0) 172 for (i = 0; i < mntsize; i++) {
|
/netbsd-6-1-5-RELEASE/sbin/umount/ |
H A D | umount.c | 301 static int mntsize; local 305 (mntsize = getmntinfo(&mntbuf, MNT_NOWAIT)) == 0) { 309 for (i = mntsize - 1; i >= 0; i--) {
|
/netbsd-6-1-5-RELEASE/sbin/mount/ |
H A D | mount.c | 107 int all, ch, forceall, i, init_flags, mntsize, rval; local 192 if ((mntsize = getmntinfo(&mntbuf, MNT_NOWAIT)) == 0) 194 for (i = 0; i < mntsize; i++) { 642 int i, mntsize; local 644 mntsize = getmntinfo(&mntbuf, MNT_NOWAIT); 645 for (i = 0; i < mntsize; i++)
|
Completed in 179 milliseconds