Symbol: statfs
bin/df/df.c
104
struct statfs statfsbuf, *mntbuf;
bin/df/df.c
223
} else if (statfs(mntpt, &statfsbuf) == 0 &&
bin/df/df.c
242
if (statfs(mntpt, &statfsbuf) < 0) {
bin/df/df.c
276
struct statfs *mntbuf;
bin/df/df.c
293
regetmntinfo(struct statfs **mntbufp, struct statvfs **mntvbufp, long mntsize, char **vfslist)
bin/df/df.c
296
struct statfs *mntbuf;
bin/df/df.c
308
statfs(mntbuf[i].f_mntonname,&mntbuf[j]);
bin/df/df.c
377
prtstat(struct statfs *sfsp, struct statvfs *vsfsp, struct maxwidths *mwp)
bin/df/df.c
451
update_maxwidths(struct maxwidths *mwp, struct statfs *sfsp, struct statvfs *vsfsp)
bin/df/df.c
86
static void prtstat(struct statfs *, struct statvfs *, struct maxwidths *);
bin/df/df.c
87
static long regetmntinfo(struct statfs **, struct statvfs **, long, char **);
bin/df/df.c
88
static void update_maxwidths(struct maxwidths *, struct statfs *, struct statvfs *);
bin/mv/mv.c
252
struct statfs sfs;
bin/mv/mv.c
253
if (!statfs(path, &sfs) &&
bin/ps/ps.c
811
struct statfs mnt;
bin/ps/ps.c
813
if (statfs("/proc", &mnt) < 0)
bin/rm/rm.c
431
struct statfs fsb;
lib/libc/gen/fstab.c
90
struct statfs sf;
lib/libc/gen/fstab.c
94
if (statfs("/", &sf) != 0)
lib/libc/gen/fts.c
1140
if (statfs(ent->fts_path, &priv->ftsp_statfs) != -1) {
lib/libc/gen/fts.c
80
struct statfs ftsp_statfs;
lib/libc/gen/getmntinfo.c
41
getmntinfo(struct statfs **mntbufp, int flags)
lib/libc/gen/getmntinfo.c
43
static struct statfs *mntbuf;
lib/libc/gen/getmntinfo.c
51
while (bufsize <= mntsize * (int)sizeof(struct statfs)) {
lib/libc/gen/getmntinfo.c
54
bufsize = (mntsize + 1) * sizeof(struct statfs);
lib/libc/gen/getmntinfo.c
55
if ((mntbuf = (struct statfs *)malloc(bufsize)) == NULL)
lib/libc/gen/getmntvinfo.c
43
getmntvinfo(struct statfs **mntbufp, struct statvfs **mntvbufp, int flags)
lib/libc/gen/getmntvinfo.c
45
static struct statfs *mntsbuf;
lib/libc/gen/getmntvinfo.c
58
bufsize = (mntsize + 1) * sizeof(struct statfs);
lib/libc/gen/getmntvinfo.c
60
if ((mntsbuf = (struct statfs *)malloc(bufsize)) == NULL)
lib/libc/include/libc_private.h
87
struct statfs;
lib/libefivar/efivar-dp-xlate.c
126
struct statfs *mnt;
lib/libefivar/efivar-dp-xlate.c
198
mntlen = sizeof(struct statfs) * n;
lib/libefivar/efivar-dp-xlate.c
593
struct statfs buf;
lib/libefivar/efivar-dp-xlate.c
603
if (statfs(rp, &buf) != 0) {
lib/libhammer/misc.c
128
struct statfs st;
lib/libhammer/misc.c
133
if ((statfs(mtpt, &st) < 0) ||
lib/libhammer/misc.c
56
struct statfs *mntbuf;
lib/libhammer/misc.c
71
mntbufsize = mntsize * sizeof(struct statfs);
lib/libhammer/misc.c
82
struct statfs *mnt = &mntbuf[curmount];
libexec/rtld-elf/rtld.c
2228
struct statfs fs;
sbin/fsck/fsutil.c
211
struct statfs *
sbin/fsck/fsutil.c
217
struct statfs *mntbuf, *statfsp;
sbin/fsck/fsutil.h
48
struct statfs *getmntpt(const char *);
sbin/fsck/main.c
192
struct statfs *mntbuf;
sbin/fsck/main.c
379
static struct statfs *
sbin/fsck/main.c
385
struct statfs *mntbuf;
sbin/fsck/main.c
59
static struct statfs *getmntpt(const char *);
sbin/hammer/cmd_cleanup.c
110
struct statfs *stfsbuf;
sbin/hammer/cmd_info.c
47
struct statfs *stfsbuf;
sbin/hammer/cmd_snapshot.c
151
struct statfs buf;
sbin/hammer/cmd_snapshot.c
153
if (statfs(dirpath, &buf) < 0) {
sbin/hammer/cmd_snapshot.c
320
struct statfs buf;
sbin/hammer/cmd_snapshot.c
349
if (statfs(softlink_dir, &buf) != 0) {
sbin/hammer/cmd_snapshot.c
387
if (statfs(softlink_fmt, &buf) != 0) {
sbin/hammer/cmd_softprune.c
41
struct statfs fs;
sbin/hammer/cmd_softprune.c
414
struct statfs fs;
sbin/hammer/cmd_softprune.c
429
if (statfs(fspath, &fs) < 0) {
sbin/hammer2/cmd_cleanup.c
42
struct statfs *fsary;
sbin/hammer2/cmd_service.c
218
struct statfs *mntbuf = NULL;
sbin/hammer2/subs.c
418
struct statfs *fs;
sbin/hammer2/subs.c
430
fs = calloc(n, sizeof(struct statfs));
sbin/mount/mount.c
125
struct statfs *mntbuf;
sbin/mount/mount.c
326
ismounted(struct fstab *fs, struct statfs *mntbuf, int mntsize)
sbin/mount/mount.c
388
struct statfs sf;
sbin/mount/mount.c
490
if (statfs(name, &sf) < 0) {
sbin/mount/mount.c
506
prmount(struct statfs *sfp)
sbin/mount/mount.c
548
static struct statfs *
sbin/mount/mount.c
551
struct statfs *mntbuf;
sbin/mount/mount.c
66
static struct statfs
sbin/mount/mount.c
69
static int ismounted(struct fstab *, struct statfs *, int);
sbin/mount/mount.c
705
printdefvals(const struct statfs *ent)
sbin/mount/mount.c
718
putfsent(const struct statfs *ent)
sbin/mount/mount.c
76
static void printdefvals(const struct statfs *);
sbin/mount/mount.c
77
static void prmount(struct statfs *);
sbin/mount/mount.c
78
static void putfsent(const struct statfs *);
sbin/mount_devfs/mount_devfs.c
135
error = statfs(mntpoint, &sfb);
sbin/mount_devfs/mount_devfs.c
69
struct statfs sfb;
sbin/mount_ufs/mount.c
285
ismounted(struct fstab *fs, struct statfs *mntbuf, int mntsize)
sbin/mount_ufs/mount.c
347
struct statfs sf;
sbin/mount_ufs/mount.c
447
if (statfs(name, &sf) < 0) {
sbin/mount_ufs/mount.c
463
prmount(struct statfs *sfp)
sbin/mount_ufs/mount.c
505
static struct statfs *
sbin/mount_ufs/mount.c
508
struct statfs *mntbuf;
sbin/mount_ufs/mount.c
61
static struct statfs
sbin/mount_ufs/mount.c
64
static int ismounted(struct fstab *, struct statfs *, int);
sbin/mount_ufs/mount.c
662
printdefvals(const struct statfs *ent)
sbin/mount_ufs/mount.c
675
putfsent(const struct statfs *ent)
sbin/mount_ufs/mount.c
71
static void printdefvals(const struct statfs *);
sbin/mount_ufs/mount.c
72
static void prmount(struct statfs *);
sbin/mount_ufs/mount.c
73
static void putfsent(const struct statfs *);
sbin/mount_ufs/mount.c
97
struct statfs *mntbuf;
sbin/mountctl/mountctl.c
413
struct statfs *sfs;
sbin/mountd/mountd.c
1135
struct statfs fsb;
sbin/mountd/mountd.c
1186
statfs(cp, &fsb) >= 0) {
sbin/mountd/mountd.c
1373
struct statfs *fsp, *mntbufp;
sbin/mountd/mountd.c
159
struct ucred *, char *, int, struct statfs *);
sbin/mountd/mountd.c
173
static void delete_export(struct statfs *fsp);
sbin/mountd/mountd.c
1950
struct ucred *anoncrp, char *dirp, int dirplen, struct statfs *fsb)
sbin/mountd/mountd.c
1952
struct statfs fsb1;
sbin/mountd/mountd.c
2075
if (statfs(dirp, &fsb1) != 0 || bcmp(&fsb1.f_fsid,
sbin/mountd/mountd.c
2414
delete_export(struct statfs *fsp)
sbin/mountd/mountd.c
749
struct statfs fsb;
sbin/mountd/mountd.c
806
statfs(dirpath, &fsb) < 0) {
sbin/newfs/newfs.c
211
struct statfs *mp;
sbin/newfs_msdos/mkfs_msdos.c
804
struct statfs *mp;
sbin/savecore/savecore.c
185
struct statfs fsbuf;
sbin/savecore/savecore.c
188
if (statfs(savedir, &fsbuf) < 0) {
sbin/svc/execute.c
921
struct statfs fs;
sbin/svc/execute.c
930
if (statfs(path, &fs) == 0 &&
sbin/svc/execute.c
940
if (statfs(path, &fs) < 0 ||
sbin/tunefs/tunefs.c
85
struct statfs stfs;
sbin/tunefs/tunefs.c
93
if (statfs(special, &stfs) == 0 &&
sbin/umount/umount.c
542
static struct statfs *mntbuf;
sbin/umount/umount.c
69
int mntinfo (struct statfs **);
sbin/umount/umount.c
708
mntinfo(struct statfs **mntbuf)
sbin/umount/umount.c
710
static struct statfs *origbuf;
sbin/umount/umount.c
717
bufsize = (mntsize + 1) * sizeof(struct statfs);
sbin/umount/umount.c
85
struct statfs *mntbuf;
sbin/vquota/vquota.c
407
struct statfs *mntbufp;
sys/dev/drm/drm_drv.c
461
.statfs = simple_statfs,
sys/kern/kern_acct.c
332
struct statfs sb;
sys/kern/vfs_default.c
1494
vfs_stdstatfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/kern/vfs_default.c
1507
struct statfs *in;
sys/kern/vfs_syscalls.c
1417
kern_statfs(struct nlookupdata *nd, struct statfs *buf)
sys/kern/vfs_syscalls.c
1422
struct statfs *sp;
sys/kern/vfs_syscalls.c
1463
struct statfs buf;
sys/kern/vfs_syscalls.c
1476
kern_fstatfs(int fd, struct statfs *buf)
sys/kern/vfs_syscalls.c
1482
struct statfs *sp;
sys/kern/vfs_syscalls.c
1540
struct statfs buf;
sys/kern/vfs_syscalls.c
1657
struct statfs *sfsp;
sys/kern/vfs_syscalls.c
1675
info.maxcount = uap->bufsize / sizeof(struct statfs);
sys/kern/vfs_syscalls.c
1693
struct statfs *sp;
sys/kern/vfs_syscalls.c
1748
struct statfs *sfsp;
sys/kern/vfs_syscalls.c
1786
struct statfs *sp;
sys/kern/vfs_syscalls.c
5045
struct statfs *sp;
sys/kern/vfs_syscalls.c
5048
struct statfs sb;
sys/kern/vfs_vfsops.c
175
vfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/sys/kern_syscall.h
142
int kern_fstatfs(int fd, struct statfs *buf);
sys/sys/kern_syscall.h
164
int kern_statfs(struct nlookupdata *nd, struct statfs *buf);
sys/sys/kern_syscall.h
56
struct statfs;
sys/sys/mount.h
230
struct statfs mnt_stat; /* cache of filesystem stats */
sys/sys/mount.h
556
typedef int vfs_statfs_t(struct mount *mp, struct statfs *sbp,
sys/sys/mount.h
587
int vfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred);
sys/sys/mount.h
814
int fstatfs (int, struct statfs *);
sys/sys/mount.h
816
int getfsstat (struct statfs *, long, int);
sys/sys/mount.h
817
int getmntinfo (struct statfs **, int);
sys/sys/mount.h
818
int getmntvinfo (struct statfs **, struct statvfs **, int);
sys/sys/mount.h
820
int statfs (const char *, struct statfs *);
sys/sys/mount.h
824
int fhstatfs (const struct fhandle *, struct statfs *);
sys/sys/statvfs.h
114
int getvfsstat(struct statfs * __restrict, struct statvfs * __restrict, long, int);
sys/sys/statvfs.h
56
struct statfs;
sys/sys/sysproto.h
1198
struct statfs * buf; char buf_[PAD_(struct statfs *)];
sys/sys/sysproto.h
469
struct statfs * buf; char buf_[PAD_(struct statfs *)];
sys/sys/sysproto.h
473
struct statfs * buf; char buf_[PAD_(struct statfs *)];
sys/sys/sysproto.h
709
struct statfs * buf; char buf_[PAD_(struct statfs *)];
sys/sys/sysproto.h
90
struct statfs * buf; char buf_[PAD_(struct statfs *)];
sys/sys/sysunion.h
119
struct statfs_args statfs;
sys/vfs/autofs/autofs_vfsops.c
118
struct statfs *sbp = &mp->mnt_stat;
sys/vfs/autofs/autofs_vfsops.c
282
autofs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/vfs/autofs/autofs_vfsops.c
42
static int autofs_statfs(struct mount *mp, struct statfs *sbp,
sys/vfs/devfs/devfs_vfsops.c
182
devfs_vfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/vfs/devfs/devfs_vfsops.c
55
static int devfs_vfs_statfs (struct mount *mp, struct statfs *sbp,
sys/vfs/dirfs/dirfs.h
76
extern int statfs(const char *, struct statfs *);
sys/vfs/dirfs/dirfs_vfsops.c
290
dirfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/vfs/dirfs/dirfs_vfsops.c
293
struct statfs st;
sys/vfs/dirfs/dirfs_vfsops.c
297
if((statfs(dmp->dm_path, &st)) == -1)
sys/vfs/dirfs/dirfs_vfsops.c
95
static int dirfs_statfs(struct mount *, struct statfs *, struct ucred *);
sys/vfs/ext2fs/ext2_vfsops.c
1088
ext2_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/vfs/fuse/fuse_vfsops.c
386
fuse_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/vfs/fuse/fuse_vfsops.c
98
struct statfs *sbp = &mp->mnt_stat;
sys/vfs/hammer/hammer_vfsops.c
239
static int hammer_vfs_statfs(struct mount *mp, struct statfs *sbp,
sys/vfs/hammer/hammer_vfsops.c
979
hammer_vfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/vfs/hammer2/hammer2_vfsops.c
200
static int hammer2_vfs_statfs(struct mount *mp, struct statfs *sbp,
sys/vfs/hammer2/hammer2_vfsops.c
2032
hammer2_vfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/vfs/hammer2/hammer2_vfsops.c
2037
struct statfs tmp;
sys/vfs/hpfs/hpfs_vfsops.c
398
hpfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/vfs/hpfs/hpfs_vfsops.c
69
static int hpfs_statfs (struct mount *, struct statfs *, struct ucred *);
sys/vfs/isofs/cd9660/cd9660_vfsops.c
625
cd9660_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/vfs/isofs/cd9660/cd9660_vfsops.c
76
static int cd9660_statfs(struct mount *, struct statfs *, struct ucred *);
sys/vfs/mfs/mfs_vfsops.c
506
mfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/vfs/mfs/mfs_vfsops.c
79
static int mfs_statfs (struct mount *mp, struct statfs *sbp,
sys/vfs/msdosfs/msdosfs_vfsops.c
701
msdosfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/vfs/msdosfs/msdosfs_vfsops.c
98
static int msdosfs_statfs(struct mount *, struct statfs *, struct ucred *);
sys/vfs/nfs/nfs_serv.c
3737
struct statfs *sf;
sys/vfs/nfs/nfs_serv.c
3745
struct statfs statfs;
sys/vfs/nfs/nfs_serv.c
3766
sf = &statfs;
sys/vfs/nfs/nfs_serv.c
3829
struct statfs sb;
sys/vfs/nfs/nfs_vfsops.c
118
static int nfs_statfs ( struct mount *mp, struct statfs *sbp,
sys/vfs/nfs/nfs_vfsops.c
311
nfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/vfs/ntfs/ntfs_vfsops.c
606
ntfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/vfs/ntfs/ntfs_vfsops.c
72
static int ntfs_statfs (struct mount *, struct statfs *,
sys/vfs/nullfs/null_vfsops.c
298
nullfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/vfs/nullfs/null_vfsops.c
301
struct statfs mstat;
sys/vfs/nullfs/null_vfsops.c
69
static int nullfs_statfs(struct mount *mp, struct statfs *sbp,
sys/vfs/procfs/procfs_vfsops.c
128
procfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/vfs/procfs/procfs_vfsops.c
54
static int procfs_statfs (struct mount *mp, struct statfs *sbp,
sys/vfs/smbfs/smbfs_smb.c
145
smbfs_smb_statfs2(struct smb_share *ssp, struct statfs *sbp,
sys/vfs/smbfs/smbfs_smb.c
186
smbfs_smb_statfs(struct smb_share *ssp, struct statfs *sbp,
sys/vfs/smbfs/smbfs_subr.h
138
int smbfs_smb_statfs2(struct smb_share *ssp, struct statfs *sbp,
sys/vfs/smbfs/smbfs_subr.h
140
int smbfs_smb_statfs(struct smb_share *ssp, struct statfs *sbp,
sys/vfs/smbfs/smbfs_subr.h
63
struct statfs;
sys/vfs/smbfs/smbfs_vfsops.c
318
smbfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/vfs/smbfs/smbfs_vfsops.c
80
static int smbfs_statfs(struct mount *, struct statfs *, struct ucred *);
sys/vfs/tmpfs/tmpfs_vfsops.c
474
tmpfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/vfs/tmpfs/tmpfs_vfsops.c
76
static int tmpfs_statfs(struct mount *, struct statfs *, struct ucred *cred);
sys/vfs/udf/udf_vfsops.c
107
static int udf_statfs(struct mount *, struct statfs *, struct ucred *);
sys/vfs/udf/udf_vfsops.c
462
udf_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
sys/vfs/ufs/ffs_extern.h
61
struct statfs;
sys/vfs/ufs/ffs_extern.h
91
int ffs_statfs(struct mount *, struct statfs *, struct ucred *);
sys/vfs/ufs/ffs_vfsops.c
917
ffs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
test/stress/stress2/lib/resources.c
60
struct statfs sbuf;
test/stress/stress2/lib/resources.c
68
if (statfs(path, &sbuf) < 0)
usr.bin/dsynth/build.c
2810
struct statfs sfs;
usr.bin/dsynth/build.c
2814
if (statfs(b1, &sfs) == 0) {
usr.bin/find/function.c
808
struct statfs sb;
usr.bin/find/function.c
836
if (statfs(entry->fts_accpath, &sb)) {
usr.bin/quota/quota.c
436
struct statfs *fst;
usr.bin/quota/quota.c
559
getnfsquota(struct statfs *fst, struct quotause *qup, long id, int quotatype)
usr.bin/quota/quota.c
88
static int getnfsquota(struct statfs *, struct quotause *, long, int);
usr.bin/tail/forward.c
277
struct statfs sf;
usr.bin/truss/main.c
132
struct statfs *mntbuf;
usr.bin/xinstall/xinstall.c
1172
struct statfs stfs;
usr.sbin/autofs/automount.c
100
const char *prefix, const struct statfs *mntbuf, int nitems)
usr.sbin/autofs/automount.c
102
const struct statfs *sb;
usr.sbin/autofs/automount.c
141
struct statfs *mntbuf;
usr.sbin/autofs/automount.c
201
struct statfs *mntbuf;
usr.sbin/autofs/automount.c
224
struct statfs *mntbuf;
usr.sbin/autofs/automount.c
45
unmount_by_statfs(const struct statfs *sb, bool force)
usr.sbin/autofs/automount.c
63
static const struct statfs *
usr.sbin/autofs/automount.c
64
find_statfs(const struct statfs *mntbuf, int nitems, const char *mountpoint)
usr.sbin/autofs/autounmountd.c
102
struct statfs *mntbuf;
usr.sbin/installer/libaura/fspred.c
186
struct statfs *mt_array, *mt_ptr;
usr.sbin/installer/libaura/fspred.c
200
struct statfs *mt_array, *mt_ptr;
usr.sbin/installer/libaura/fspred.c
214
struct statfs *mt_array, *mt_ptr;
usr.sbin/installer/libinstaller/mount.c
58
const struct statfs *sa = a;
usr.sbin/installer/libinstaller/mount.c
59
const struct statfs *sb = b;
usr.sbin/installer/libinstaller/mount.c
72
struct statfs *mt_array;
usr.sbin/installer/libinstaller/mount.c
84
qsort((void*)mt_array, count, sizeof(struct statfs), compare);
usr.sbin/lpr/lpd/recvjob.c
314
struct statfs sfb;
usr.sbin/lpr/lpd/recvjob.c
316
if (statfs(".", &sfb) < 0) {
usr.sbin/makefs/hammer2/hammer2_compat.h
155
struct statfs mnt_stat;
usr.sbin/makefs/hammer2/hammer2_vfsops.c
1998
hammer2_vfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred)
usr.sbin/makefs/hammer2/hammer2_vfsops.c
2003
struct statfs tmp;
usr.sbin/makefs/hammer2/hammer2_vfsops.c
212
static int hammer2_vfs_statfs(struct mount *mp, struct statfs *sbp,
usr.sbin/quot/quot.c
529
struct statfs *mp;
usr.sbin/quotaon/quotaon.c
227
struct statfs fsbuf;
usr.sbin/quotaon/quotaon.c
229
if (statfs(fs->fs_file, &fsbuf) < 0 ||
usr.sbin/rpc.umntall/rpc.umntall.c
228
struct statfs *mntbuf;
usr.sbin/rpc.umntall/rpc.umntall.c
239
bufsize = (mntsize + 1) * sizeof(struct statfs);