Lines Matching refs:statfs
89 static void addstat(struct statfs *, struct statfs *);
93 static void prthuman(const struct statfs *, int64_t);
96 static void prtstat(struct statfs *, struct maxwidths *);
97 static size_t regetmntinfo(struct statfs **, long, const char **);
98 static void update_maxwidths(struct maxwidths *, const struct statfs *);
123 struct statfs statfsbuf, totalbuf; in main()
125 struct statfs *mntbuf; in main()
297 } else if (statfs(mntpt, &statfsbuf) == 0) { in main()
323 if (statfs(mntpt, &statfsbuf) < 0) { in main()
373 struct statfs *mntbuf; in getmntpt()
389 regetmntinfo(struct statfs **mntbufp, long mntsize, const char **vfslist) in regetmntinfo()
392 struct statfs *mntbuf; in regetmntinfo()
407 error = statfs(mntbuf[i].f_mntonname, &mntbuf[j]); in regetmntinfo()
421 prthuman(const struct statfs *sfsp, int64_t used) in prthuman()
477 prtstat(struct statfs *sfsp, struct maxwidths *mwp) in prtstat()
580 addstat(struct statfs *totalfsp, struct statfs *statfsp) in addstat()
597 update_maxwidths(struct maxwidths *mwp, const struct statfs *sfsp) in update_maxwidths()