Lines Matching refs:mntbuf
247 struct statfs *mntbuf;
329 if ((mntsize = getmntinfo(&mntbuf, MNT_NOWAIT)) == 0)
348 ismounted(fs, mntbuf, mntsize))
351 mntbuf->f_flags);
359 if (checkvfsname(mntbuf[i].f_fstypename, vfslist))
361 putfsent(&mntbuf[i]);
365 if (checkvfsname(mntbuf[i].f_fstypename,
369 (mntbuf[i].f_flags & MNT_IGNORE) != 0)
371 prmount(&mntbuf[i]);
383 if ((mntbuf = getmntpt(*argv)) == NULL)
392 if ((fs = getfsfile(mntbuf->f_mntonname)) != NULL) {
394 mntbuf->f_mntfromname) == 0 &&
396 mntbuf->f_mntonname) == 0) {
398 mntfromname = mntbuf->f_mntfromname;
408 mntbuf->f_flags);
410 mntfromname = mntbuf->f_mntfromname;
412 mntbuf->f_flags);
414 rval = mountfs(mntbuf->f_fstypename, mntfromname,
415 mntbuf->f_mntonname, init_flags, options, 0);
473 ismounted(struct fstab *fs, struct statfs *mntbuf, int mntsize)
489 if (strcmp(realfsfile, mntbuf[i].f_mntonname) == 0 &&
491 strcmp(fs->fs_spec, mntbuf[i].f_mntfromname) == 0))
685 struct statfs *mntbuf;
688 mntsize = getmntinfo(&mntbuf, MNT_NOWAIT);
690 if (strcmp(mntbuf[i].f_mntfromname, name) == 0 ||
691 strcmp(mntbuf[i].f_mntonname, name) == 0)
692 return (&mntbuf[i]);