Lines Matching refs:mntbuf
104 struct statfs statfsbuf, *mntbuf; in main() local
175 mntsize = getmntvinfo(&mntbuf, &mntvbuf, MNT_NOWAIT); in main()
178 update_maxwidths(&maxwidths, &mntbuf[i], &mntvbuf[i]); in main()
182 mntsize = regetmntinfo(&mntbuf, &mntvbuf, mntsize, vfslist); in main()
185 update_maxwidths(&maxwidths, &mntbuf[i], &mntvbuf[i]); in main()
187 if (aflag || (mntbuf[i].f_flags & MNT_IGNORE) == 0) in main()
188 prtstat(&mntbuf[i], &mntvbuf[i], &maxwidths); in main()
276 struct statfs *mntbuf; in getmntpt() local
279 mntsize = getmntvinfo(&mntbuf, &mntvbuf, MNT_NOWAIT); in getmntpt()
281 if (!strcmp(mntbuf[i].f_mntfromname, name)) in getmntpt()
282 return (mntbuf[i].f_mntonname); in getmntpt()
296 struct statfs *mntbuf; in regetmntinfo() local
302 mntbuf = *mntbufp; in regetmntinfo()
305 if (checkvfsname(mntbuf[i].f_fstypename, vfslist)) in regetmntinfo()
308 statfs(mntbuf[i].f_mntonname,&mntbuf[j]); in regetmntinfo()
309 statvfs(mntbuf[i].f_mntonname,&mntvbuf[j]); in regetmntinfo()
311 mntbuf[j] = mntbuf[i]; in regetmntinfo()