Lines Matching defs:mntbuf
102 struct statvfs *mntbuf;
168 if ((mnts = getmntinfo(&mntbuf, ST_NOWAIT)) == 0) {
173 if (checkvfsname(mntbuf[mnts].f_fstypename, typelist))
175 if (umountfs(mntbuf[mnts].f_mntonname, typelist,
376 static struct statvfs *mntbuf;
381 if (mntbuf == NULL &&
382 (mntsize = getmntinfo(&mntbuf, MNT_NOWAIT)) == 0) {
387 if ((what == MNTON) && !strcmp(mntbuf[i].f_mntfromname, name)) {
389 *type = mntbuf[i].f_fstypename;
390 return (mntbuf[i].f_mntonname);
392 if ((what == MNTFROM) && !strcmp(mntbuf[i].f_mntonname, name)) {
394 *type = mntbuf[i].f_fstypename;
396 mntbuf[i].f_mntfromname) == NULL)