Lines Matching refs:mntbuf
192 struct statfs *mntbuf; in checkfilesys() local
220 mntbuf = getmntpt(filesys); in checkfilesys()
236 if (mntbuf != NULL && mntbuf->f_flags & MNT_ROOTFS) in checkfilesys()
334 if (mntbuf != NULL && (mntbuf->f_flags & MNT_RDONLY) == 0) in checkfilesys()
347 if (mntbuf != NULL) { in checkfilesys()
355 if (mntbuf->f_flags & MNT_RDONLY) { in checkfilesys()
359 ret = mount("ufs", mntbuf->f_mntonname, in checkfilesys()
360 mntbuf->f_flags | MNT_UPDATE | MNT_RELOAD, &args); in checkfilesys()
364 mntbuf->f_mntonname, strerror(errno)); in checkfilesys()
385 struct statfs *mntbuf; in getmntpt() local
391 mntsize = getmntinfo(&mntbuf, MNT_NOWAIT); in getmntpt()
393 if (strcmp(mntbuf[i].f_fstypename, "ufs") != 0) in getmntpt()
395 devname = mntbuf[i].f_mntfromname; in getmntpt()
403 return (&mntbuf[i]); in getmntpt()