Lines Matching refs:mntsize
88 int all, errs, ch, mntsize, error;
147 if ((mntsize = mntinfo(&mntbuf)) <= 0)
153 for (errs = 0, mntsize--; mntsize > 0; mntsize--) {
154 sfs = &mntbuf[mntsize];
436 static size_t mntsize = 0;
441 if (mntsize <= 0) {
442 if ((mntsize = mntinfo(&mntbuf)) <= 0)
446 if ((mntcheck = calloc(mntsize + 1, sizeof(int))) == NULL)
456 for (i = mntsize - 1; i >= 0; i--) {
561 int mntsize;
563 mntsize = getfsstat(NULL, 0, MNT_NOWAIT);
564 if (mntsize <= 0)
566 bufsize = (mntsize + 1) * sizeof(struct statfs);
569 mntsize = getfsstat(origbuf, (long)bufsize, MNT_NOWAIT);
571 return (mntsize);