Searched refs:mntsize (Results 1 - 9 of 9) sorted by relevance

/freebsd-9.3-release/lib/libc/gen/
H A Dgetmntinfo.c50 static int mntsize; local
53 if (mntsize <= 0 && (mntsize = getfsstat(0, 0, MNT_NOWAIT)) < 0)
55 if (bufsize > 0 && (mntsize = getfsstat(mntbuf, bufsize, flags)) < 0)
57 while (bufsize <= mntsize * sizeof(struct statfs)) {
60 bufsize = (mntsize + 1) * sizeof(struct statfs);
63 if ((mntsize = getfsstat(mntbuf, bufsize, flags)) < 0)
67 return (mntsize);
/freebsd-9.3-release/sbin/umount/
H A Dumount.c88 int all, errs, ch, mntsize, error; local
147 if ((mntsize = mntinfo(&mntbuf)) <= 0)
153 for (errs = 0, mntsize--; mntsize > 0; mntsize--) {
154 sfs = &mntbuf[mntsize];
436 static size_t mntsize = 0; local
441 if (mntsize <= 0) {
442 if ((mntsize = mntinfo(&mntbuf)) <= 0)
446 if ((mntcheck = calloc(mntsize
561 int mntsize; local
[all...]
/freebsd-9.3-release/usr.sbin/rpc.umntall/
H A Drpc.umntall.c231 int mntsize, i; local
236 mntsize = getfsstat(NULL, 0, MNT_NOWAIT);
237 if (mntsize <= 0)
239 bufsize = (mntsize + 1) * sizeof(struct statfs);
242 mntsize = getfsstat(mntbuf, (long)bufsize, MNT_NOWAIT);
243 for (i = mntsize - 1; i >= 0; i--) {
/freebsd-9.3-release/bin/df/
H A Ddf.c112 int i, mntsize; local
199 mntsize = getmntinfo(&mntbuf, MNT_NOWAIT);
200 mntsize = regetmntinfo(&mntbuf, mntsize, vfslist);
206 mntsize = 0;
283 mntbuf[mntsize++] = statfsbuf;
287 for (i = 0; i < mntsize; i++) {
294 for (i = 0; i < mntsize; i++)
305 size_t mntsize, i; local
308 mntsize
322 regetmntinfo(struct statfs **mntbufp, long mntsize, const char **vfslist) argument
[all...]
/freebsd-9.3-release/sbin/fsck/
H A Dfsutil.c161 int i, mntsize, isdev; local
169 mntsize = getmntinfo(&mntbuf, MNT_NOWAIT);
170 for (i = 0; i < mntsize; i++) {
/freebsd-9.3-release/sbin/mount/
H A Dmount.c247 int all, ch, i, init_flags, late, failok, mntsize, rval, have_fstab, ro; local
320 if ((mntsize = getmntinfo(&mntbuf, MNT_NOWAIT)) == 0)
337 ismounted(fs, mntbuf, mntsize))
347 for (i = 0; i < mntsize; i++) {
353 for (i = 0; i < mntsize; i++) {
462 ismounted(struct fstab *fs, struct statfs *mntbuf, int mntsize) argument
477 for (i = mntsize - 1; i >= 0; --i)
672 int i, mntsize; local
674 mntsize = getmntinfo(&mntbuf, MNT_NOWAIT);
675 for (i = mntsize
[all...]
/freebsd-9.3-release/sbin/fsck_ffs/
H A Dmain.c617 int i, mntsize, isdev; local
625 mntsize = getmntinfo(&mntbuf, MNT_NOWAIT);
626 for (i = 0; i < mntsize; i++) {
/freebsd-9.3-release/sbin/dump/
H A Dmain.c627 long mntsize, i; local
630 mntsize = getmntinfo(&mntbuf, MNT_NOWAIT);
631 for (i = 0; i < mntsize; i++) {
/freebsd-9.3-release/sbin/growfs/
H A Dgrowfs.c1273 int i, mntsize; local
1283 mntsize = getmntinfo(&mntbuf, MNT_NOWAIT);
1284 for (i = 0; i < mntsize; i++) {
1305 int i, mntsize; local
1310 mntsize = getmntinfo(&mntbuf, MNT_NOWAIT);
1311 for (i = 0; i < mntsize; i++) {

Completed in 127 milliseconds