Lines Matching refs:statfs
81 static void addstat(struct statfs *, struct statfs *);
88 static void prthuman(const struct statfs *, int64_t);
91 static void prtstat(struct statfs *, struct maxwidths *);
92 static size_t regetmntinfo(struct statfs **, long);
93 static void update_maxwidths(struct maxwidths *, const struct statfs *);
117 struct statfs statfsbuf, totalbuf; in main()
119 struct statfs *mntbuf; in main()
247 if (statfs(mntpt, &statfsbuf) < 0) { in main()
297 struct statfs *mntbuf; in getmntpt()
385 regetmntinfo(struct statfs **mntbufp, long mntsize) in regetmntinfo()
388 struct statfs *mntbuf; in regetmntinfo()
403 error = statfs(mntbuf[i].f_mntonname, &mntbuf[j]); in regetmntinfo()
417 prthuman(const struct statfs *sfsp, int64_t used) in prthuman()
473 prtstat(struct statfs *sfsp, struct maxwidths *mwp) in prtstat()
576 addstat(struct statfs *totalfsp, struct statfs *statfsp) in addstat()
593 update_maxwidths(struct maxwidths *mwp, const struct statfs *sfsp) in update_maxwidths()