Lines Matching defs:mntsize
88 int errs, ch, mntsize, error, nfsforce, ret;
158 if ((mntsize = mntinfo(&mntbuf)) <= 0)
164 for (errs = 0, mntsize--; mntsize > 0; mntsize--) {
165 sfs = &mntbuf[mntsize];
489 static size_t mntsize = 0;
494 if (mntsize <= 0) {
495 if ((mntsize = mntinfo(&mntbuf)) <= 0)
499 if ((mntcheck = calloc(mntsize + 1, sizeof(int))) == NULL)
509 for (i = mntsize - 1; i >= 0; i--) {
613 int mntsize;
615 mntsize = getfsstat(NULL, 0, MNT_NOWAIT);
616 if (mntsize <= 0)
618 bufsize = (mntsize + 1) * sizeof(struct statfs);
621 mntsize = getfsstat(origbuf, (long)bufsize, MNT_NOWAIT);
623 return (mntsize);