Symbol: statvfs
bin/df/df.c
231
if (!statvfs(mntpt, &mntbuf[mntcount])) {
bin/df/df.c
291
struct statvfs *mntbuf;
bin/df/df.c
363
regetmntinfo(struct statvfs **mntbufp, size_t count)
bin/df/df.c
366
struct statvfs *mntbuf;
bin/df/df.c
384
struct statvfs layerbuf = mntbuf[i];
bin/df/df.c
385
(void)statvfs(mntbuf[i].f_mntonname, &mntbuf[j]);
bin/df/df.c
413
prthuman(const struct statvfs *sfsp, int64_t used, int64_t bavail)
bin/df/df.c
437
addstat(struct statvfs *totalfsp, const struct statvfs *sfsp)
bin/df/df.c
456
prtstat(const struct statvfs *sfsp, int maxwidth)
bin/df/df.c
70
static void addstat(struct statvfs *, const struct statvfs *);
bin/df/df.c
71
static void prtstat(const struct statvfs *, int);
bin/df/df.c
74
static size_t regetmntinfo(struct statvfs **, size_t);
bin/df/df.c
77
static void prthuman(const struct statvfs *, int64_t, int64_t);
bin/df/df.c
98
struct statvfs *mntbuf, totals;
lib/libc/compat/sys/compat___fhstatvfs140.c
54
struct statvfs sb;
lib/libc/compat/sys/compat___fhstatvfs40.c
53
struct statvfs sb;
lib/libc/compat/sys/compat_fhstatvfs.c
54
struct statvfs sb;
lib/libc/compat/sys/compat_fhstatvfs1.c
55
struct statvfs sb;
lib/libc/compat/sys/compat_statfs.c
105
struct statvfs *nst;
lib/libc/compat/sys/compat_statfs.c
69
struct statvfs nst;
lib/libc/compat/sys/compat_statfs.c
81
struct statvfs nst;
lib/libc/compat/sys/compat_statfs.c
93
struct statvfs nst;
lib/libc/compat/sys/compat_statvfs.c
109
struct statvfs *sb = calloc(count, sizeof(*sb));
lib/libc/compat/sys/compat_statvfs.c
46
__warn_references(statvfs,
lib/libc/compat/sys/compat_statvfs.c
59
__strong_alias(statvfs, __compat_statvfs)
lib/libc/compat/sys/compat_statvfs.c
68
struct statvfs sb;
lib/libc/compat/sys/compat_statvfs.c
78
struct statvfs sb;
lib/libc/compat/sys/compat_statvfs.c
88
struct statvfs sb;
lib/libc/compat/sys/compat_statvfs.c
98
struct statvfs sb;
lib/libc/gen/getmntinfo.c
54
getmntinfo(struct statvfs **mntbufp, int flags)
lib/libc/gen/getmntinfo.c
56
static struct statvfs *mntbuf;
lib/libc/gen/getmntinfo.c
68
while (bufsize <= mntsize * sizeof(struct statvfs)) {
lib/libc/gen/getmntinfo.c
71
bufsize = (mntsize + 1) * sizeof(struct statvfs);
lib/libc/gen/opendir.c
120
struct statvfs sfb;
lib/libc/sys/statvfs.c
40
statvfs(const char *file, struct statvfs *st)
lib/libc/sys/statvfs.c
46
fstatvfs(int f, struct statvfs *st)
lib/libc/sys/statvfs.c
52
fhstatvfs(const void *fh, size_t fh_size, struct statvfs *st)
lib/libp2k/p2k.c
287
PUFFSOP_SET(pops, p2k, fs, statvfs);
lib/libp2k/p2k.c
593
struct statvfs sb;
lib/libperfuse/perfuse.c
494
PUFFSOP_SET(pops, perfuse, fs, statvfs);
lib/libpuffs/null.c
167
PUFFSOP_SET(pops, puffs_null, fs, statvfs);
lib/libpuffs/null.c
196
struct statvfs sb;
lib/libpuffs/null.c
197
if (statvfs(PNPATH(puffs_getroot(pu)), &sb) == -1)
lib/libquota/quota_open.c
48
struct statvfs stv;
lib/libquota/quota_open.c
78
if (statvfs(path, &stv) < 0) {
lib/librefuse/refuse.c
1008
struct statvfs sb;
lib/librefuse/refuse.c
1224
PUFFSOP_SET(pops, puffs_fuse, fs, statvfs);
lib/librefuse/refuse/fs.c
639
zero_statvfs(struct statvfs* dst) {
lib/librefuse/refuse/fs.c
650
fuse_statfs_to_statvfs(struct statvfs* dst, const struct fuse_statfs* src) {
lib/librefuse/refuse/fs.c
660
linux_statfs_to_statvfs(struct statvfs* dst, const struct statfs* src) {
lib/librefuse/refuse/fs.c
670
fuse_fs_statfs(struct fuse_fs* fs, const char* path, struct statvfs* buf) {
lib/librefuse/refuse/fs.h
76
int fuse_fs_statfs(struct fuse_fs* fs, const char* path, struct statvfs* buf);
lib/librefuse/refuse/v25.h
64
int (*statfs) (const char *, struct statvfs *);
lib/librefuse/refuse/v26.h
64
int (*statfs) (const char *, struct statvfs *);
lib/librefuse/refuse/v28.h
64
int (*statfs) (const char *, struct statvfs *);
lib/librefuse/refuse/v29.h
64
int (*statfs) (const char *, struct statvfs *);
lib/librefuse/refuse/v30.h
72
int (*statfs) (const char *, struct statvfs *);
lib/librefuse/refuse/v34.h
62
int (*statfs) (const char *, struct statvfs *);
lib/librefuse/refuse/v35.h
62
int (*statfs) (const char *, struct statvfs *);
lib/librefuse/refuse/v38.h
62
int (*statfs) (const char *, struct statvfs *);
lib/librt/shm.c
66
struct statvfs sv;
lib/librumphijack/hijack.c
2601
(int fd, struct statvfs *buf, int flags), \
lib/librumphijack/hijack.c
2602
(int, struct statvfs *, int), \
lib/librumphijack/hijack.c
2703
(const char *path, struct statvfs *buf, int flags), \
lib/librumphijack/hijack.c
2704
(const char *, struct statvfs *, int), \
lib/librumphijack/hijack.c
2832
(struct statvfs *buf, size_t buflen, int flags), \
lib/librumphijack/hijack.c
2833
(struct statvfs *, size_t, int), \
lib/librumphijack/hijack.c
2849
(const void *fhp, size_t fh_size, struct statvfs *sb, int flgs),\
lib/librumphijack/hijack.c
2850
(const char *, size_t, struct statvfs *, int), \
lib/librumphijack/hijack.c
291
int REALSTATVFS1(const char *, struct statvfs *, int);
lib/librumphijack/hijack.c
292
int REALFSTATVFS1(int, struct statvfs *, int);
lib/librumphijack/hijack.c
293
int REALFHSTATVFS1(const void *, size_t, struct statvfs *, int);
lib/librumphijack/hijack.c
294
int REALGETVFSSTAT(struct statvfs *, size_t, int);
lib/libukfs/ukfs.c
596
struct statvfs svfsb;
libexec/lfs_cleanerd/lfs_cleanerd.c
166
struct statvfs sf;
sbin/dump/dump.h
269
struct statvfs *mntinfosearch(const char *key);
sbin/dump/main.c
135
struct statvfs *mntinfo, fsbuf;
sbin/dump/main.c
347
if (statvfs(argv[i], &fsbuf) == -1)
sbin/dump/optr.c
446
struct statvfs *
sbin/dump/optr.c
450
struct statvfs *mntbuf, *fs;
sbin/dump/snapshot.c
138
if (statvfs(fss.fss_bstore, &fsb) < 0)
sbin/dump/snapshot.c
65
struct statvfs *mntbuf, *fs, fsb;
sbin/efi/gptsubr.c
318
struct statvfs vfsb;
sbin/efi/gptsubr.c
332
rv = statvfs(fname, &vfsb);
sbin/efi/gptsubr.c
450
struct statvfs vfsbuf;
sbin/efi/gptsubr.c
453
rv = statvfs(fname, &vfsbuf);
sbin/efi/gptsubr.c
467
struct statvfs vfsbuf;
sbin/efi/gptsubr.c
492
rv = statvfs(fname, &vfsbuf);
sbin/efi/gptsubr.c
589
struct statvfs vfsbuf;
sbin/efi/gptsubr.c
597
rv = statvfs(rname, &vfsbuf);
sbin/fsck/fsck.c
327
struct statvfs sfs;
sbin/fsck/fsck.c
334
if ((statvfs(mntpt, &sfs) == 0) &&
sbin/fsck_ext2fs/main.c
358
struct statvfs stfs_buf;
sbin/fsck_ext2fs/main.c
363
if (statvfs("/", &stfs_buf) == 0) {
sbin/fsck_ffs/main.c
543
struct statvfs stfs_buf;
sbin/fsck_ffs/main.c
547
if (statvfs("/", &stfs_buf) == 0)
sbin/fsck_ffs/main.c
575
struct statvfs stfs_buf;
sbin/fsck_ffs/main.c
580
if (statvfs("/", &stfs_buf) == 0) {
sbin/fsck_lfs/kernelops.h
12
int (*ko_statvfs)(const char *, struct statvfs *, int);
sbin/fsck_lfs/main.c
335
struct statvfs stfs_buf;
sbin/fsck_lfs/main.c
340
if (statvfs("/", &stfs_buf) == 0) {
sbin/mount/mount.c
109
struct statvfs *mntbuf;
sbin/mount/mount.c
375
struct statvfs *sfp, sf;
sbin/mount/mount.c
451
if (vfstype == ffs_fstype && statvfs(name, &sf) != -1)
sbin/mount/mount.c
574
if (statvfs(name, &sf) == -1) {
sbin/mount/mount.c
588
prmount(struct statvfs *sfp)
sbin/mount/mount.c
641
getmntargs(struct statvfs *sfs, char *buf, size_t buflen)
sbin/mount/mount.c
656
static struct statvfs *
sbin/mount/mount.c
659
struct statvfs *mntbuf;
sbin/mount/mount.c
77
static struct statvfs *
sbin/mount/mount.c
79
static int getmntargs(struct statvfs *, char *, size_t);
sbin/mount/mount.c
84
static void prmount(struct statvfs *);
sbin/mount_lfs/mount_lfs.c
157
struct statvfs *mntbuf;
sbin/mount_portal/puffs_portal.c
439
PUFFSOP_SETFSNOP(pops, statvfs);
sbin/mount_qemufwcfg/fwcfg.c
171
fwcfg_statfs(const char *path, struct statvfs *st)
sbin/newfs/newfs.c
247
struct statvfs *mp;
sbin/newfs/newfs.c
259
struct statvfs sf;
sbin/newfs/newfs.c
611
struct statvfs sfs;
sbin/newfs/newfs.c
726
if (statvfs(mounttoname, &sf) < 0)
sbin/newfs_ext2fs/newfs_ext2fs.c
126
struct statvfs *mp;
sbin/newfs_ext2fs/newfs_ext2fs.c
341
struct statvfs sfs;
sbin/newfs_msdos/mkfs_msdos.c
778
struct statvfs *mp;
sbin/resize_lfs/resize_lfs.c
72
struct statvfs vfs;
sbin/resize_lfs/resize_lfs.c
98
if (statvfs(fsname, &vfs) < 0)
sbin/savecore/savecore.c
863
struct statvfs fsbuf;
sbin/savecore/savecore.c
869
if (statvfs(dirname, &fsbuf) < 0) {
sbin/tunefs/tunefs.c
101
static int isactive(int, struct statvfs *);
sbin/tunefs/tunefs.c
117
struct statvfs sfs;
sbin/tunefs/tunefs.c
484
isactive(int fd, struct statvfs *rsfs)
sbin/tunefs/tunefs.c
487
struct statvfs *sfs;
sbin/umount/umount.c
102
struct statvfs *mntbuf;
sbin/umount/umount.c
201
struct statvfs sfs;
sbin/umount/umount.c
260
sizeof(((struct statvfs *)NULL)->f_fstypename))) {
sbin/umount/umount.c
330
if (dflag && statvfs(mntpt, &sfs) == -1) {
sbin/umount/umount.c
376
static struct statvfs *mntbuf;
sbin/veriexecctl/veriexecctl.c
126
struct statvfs sv;
sbin/veriexecctl/veriexecctl.c
132
if (statvfs(file, &sv) != 0)
share/examples/puffs/pgfs/mount.c
133
PUFFSOP_SET(pops, pgfs, fs, statvfs);
share/examples/puffs/pgfs/pgfs.h
34
int pgfs_fs_statvfs(struct puffs_usermount *, struct statvfs *);
share/examples/puffs/pgfs/pgfs_puffs.c
1162
pgfs_fs_statvfs(struct puffs_usermount *pu, struct statvfs *sbp)
share/examples/refuse/dbfs/dbfs.c
163
dbfs_statfs(const char *path, struct statvfs *st)
share/examples/refuse/dmesgfs/dmesgfs.c
150
dmesgfs_statfs(const char *path, struct statvfs *st)
share/examples/refuse/fanoutfs/fanoutfs.c
336
fanoutfs_statfs(const char *path, struct statvfs *st)
share/examples/refuse/ian/ian/ian.c
219
ian_statfs(const char *path, struct statvfs *st)
share/examples/refuse/icfs/icfs.c
219
icfs_statfs(const char *path, struct statvfs *st)
share/examples/refuse/id3fs/id3fs.c
120
id3fs_statfs(const char *path, struct statvfs *st)
share/examples/refuse/pcifs/pcifs.c
116
pcifs_statfs(const char *path, struct statvfs *st)
sys/arch/mvme68k/stand/installboot/installboot.c
242
struct statvfs statvfsbuf;
sys/coda/coda_vfsops.c
427
coda_nb_statvfs(struct mount *vfsp, struct statvfs *sbp)
sys/coda/coda_vfsops.h
54
int coda_nb_statvfs(struct mount *, struct statvfs *);
sys/compat/common/vfs_syscalls_20.c
125
struct statvfs *sbuf;
sys/compat/common/vfs_syscalls_20.c
166
struct statvfs *sbuf;
sys/compat/common/vfs_syscalls_20.c
90
struct statvfs *sbuf;
sys/compat/common/vfs_syscalls_30.c
431
struct statvfs *sb = STATVFSBUF_GET();
sys/compat/common/vfs_syscalls_90.c
117
struct statvfs *sb = STATVFSBUF_GET();
sys/compat/common/vfs_syscalls_90.c
139
struct statvfs *sb = STATVFSBUF_GET();
sys/compat/common/vfs_syscalls_90.c
96
struct statvfs *sb = STATVFSBUF_GET();
sys/compat/linux/arch/alpha/linux_osf1.c
137
osf1_cvt_statfs_from_native(const struct statvfs *bsfs, struct osf1_statfs *osfs)
sys/compat/linux/arch/alpha/linux_osf1.c
524
struct statvfs *sp;
sys/compat/linux/arch/alpha/linux_osf1.c
549
struct statvfs *sp;
sys/compat/linux/common/linux_misc.c
390
struct statvfs *sb;
sys/compat/linux/common/linux_misc.c
412
struct statvfs *sb;
sys/compat/linux/common/linux_misc_notalpha.c
350
struct statvfs *sb;
sys/compat/linux/common/linux_misc_notalpha.c
375
struct statvfs *sb;
sys/compat/linux/common/linux_statfs.h
36
static void __unused bsd_to_linux_statfs(const struct statvfs *,
sys/compat/linux/common/linux_statfs.h
38
static void __unused bsd_to_linux_statfs64(const struct statvfs *,
sys/compat/linux/common/linux_statfs.h
47
bsd_to_linux_statfs(const struct statvfs *bsp, struct linux_statfs *lsp)
sys/compat/linux/common/linux_statfs.h
96
bsd_to_linux_statfs64(const struct statvfs *bsp, struct linux_statfs64 *lsp)
sys/compat/linux32/common/linux32_misc.c
103
struct statvfs *sb;
sys/compat/linux32/common/linux32_misc.c
125
struct statvfs *sb;
sys/compat/linux32/common/linux32_misc.c
147
struct statvfs *sb;
sys/compat/linux32/common/linux32_misc.c
81
struct statvfs *sb;
sys/compat/netbsd32/netbsd32_compat_20.c
160
struct statvfs *sb;
sys/compat/netbsd32/netbsd32_compat_20.c
190
struct statvfs *sb;
sys/compat/netbsd32/netbsd32_compat_20.c
219
NETBSD32TOP_UAP(buf, struct statvfs);
sys/compat/netbsd32/netbsd32_compat_20.c
54
static inline void compat_20_netbsd32_from_statvfs(struct statvfs *,
sys/compat/netbsd32/netbsd32_compat_20.c
58
compat_20_netbsd32_from_statvfs(struct statvfs *sbp, struct netbsd32_statfs *sb32p)
sys/compat/netbsd32/netbsd32_compat_20.c
97
struct statvfs *sb;
sys/compat/netbsd32/netbsd32_compat_30.c
214
struct statvfs *sbuf;
sys/compat/netbsd32/netbsd32_compat_90.c
107
struct statvfs *sb;
sys/compat/netbsd32/netbsd32_compat_90.c
129
struct statvfs *sb;
sys/compat/netbsd32/netbsd32_compat_90.c
86
struct statvfs *sb;
sys/compat/netbsd32/netbsd32_conv.h
348
netbsd32_from_statvfs90(const struct statvfs *sbp, struct netbsd32_statvfs90 *sb32p)
sys/compat/netbsd32/netbsd32_conv.h
390
netbsd32_from_statvfs(const struct statvfs *sbp, struct netbsd32_statvfs *sb32p)
sys/compat/netbsd32/netbsd32_fs.c
416
struct statvfs *sb;
sys/compat/netbsd32/netbsd32_fs.c
436
struct statvfs *sb;
sys/compat/netbsd32/netbsd32_fs.c
472
struct statvfs *sb;
sys/compat/sunos/sunos_misc.c
107
static int sunstatfs(struct statvfs *, void *);
sys/compat/sunos/sunos_misc.c
776
sunstatfs(struct statvfs *sp, void *buf)
sys/compat/sunos/sunos_misc.c
796
struct statvfs *sp;
sys/compat/sunos/sunos_misc.c
818
struct statvfs *sp;
sys/compat/sunos32/sunos32_misc.c
1011
sunstatfs(struct statvfs *sp, void *sbuf)
sys/compat/sunos32/sunos32_misc.c
1034
struct statvfs *sp;
sys/compat/sunos32/sunos32_misc.c
1052
struct statvfs *sp;
sys/compat/sunos32/sunos32_misc.c
145
static int sunstatfs(struct statvfs *, void *);
sys/compat/sys/mount.h
101
statvfs_to_statfs12(const struct statvfs *fs, struct statfs12 *s12)
sys/compat/sys/statvfs.h
145
int __statvfs90(const char *__restrict, struct statvfs *__restrict);
sys/compat/sys/statvfs.h
146
int __statvfs190(const char *__restrict, struct statvfs *__restrict, int);
sys/compat/sys/statvfs.h
148
int __fstatvfs90(int, struct statvfs *);
sys/compat/sys/statvfs.h
149
int __fstatvfs190(int, struct statvfs *, int);
sys/compat/sys/statvfs.h
151
int __fhstatvfs90(const void *, size_t, struct statvfs *);
sys/compat/sys/statvfs.h
152
int __fhstatvfs190(const void *, size_t, struct statvfs *, int);
sys/compat/sys/statvfs.h
154
int __getvfsstat90(struct statvfs *, size_t, int);
sys/compat/sys/statvfs.h
156
int __getmntinfo90(struct statvfs **, int);
sys/compat/sys/statvfs.h
78
statvfs_to_statvfs90(const struct statvfs *s, struct statvfs90 *s90)
sys/compat/ultrix/ultrix_fs.c
156
make_ultrix_mntent(struct statvfs *, struct ultrix_fs_data *);
sys/compat/ultrix/ultrix_fs.c
163
make_ultrix_mntent(struct statvfs *sp, struct ultrix_fs_data *tem)
sys/compat/ultrix/ultrix_fs.c
210
struct statvfs *sp;
sys/compat/ultrix/ultrix_pathname.c
212
ultrixstatfs(struct statvfs *sp, void *buf)
sys/compat/ultrix/ultrix_pathname.c
233
struct statvfs *sp;
sys/compat/ultrix/ultrix_pathname.c
261
struct statvfs *sp;
sys/compat/ultrix/ultrix_pathname.c
79
static int ultrixstatfs(struct statvfs *, void *);
sys/fs/adosfs/advfsops.c
343
adosfs_statvfs(struct mount *mp, struct statvfs *sbp)
sys/fs/autofs/autofs_vfsops.c
282
autofs_statvfs(struct mount *mp, struct statvfs *sbp)
sys/fs/autofs/autofs_vfsops.c
48
static int autofs_statvfs(struct mount *, struct statvfs *);
sys/fs/autofs/autofs_vfsops.c
98
struct statvfs *sbp = &mp->mnt_stat;
sys/fs/cd9660/cd9660_vfsops.c
655
cd9660_statvfs(struct mount *mp, struct statvfs *sbp)
sys/fs/efs/efs_vfsops.c
316
efs_statvfs(struct mount *mp, struct statvfs *sbp)
sys/fs/efs/efs_vfsops.c
60
static int efs_statvfs(struct mount *, struct statvfs *);
sys/fs/filecorefs/filecore_vfsops.c
480
filecore_statvfs(struct mount *mp, struct statvfs *sbp)
sys/fs/hfs/hfs_vfsops.c
459
hfs_statvfs(struct mount *mp, struct statvfs *sbp)
sys/fs/msdosfs/msdosfs_vfsops.c
988
msdosfs_statvfs(struct mount *mp, struct statvfs *sbp)
sys/fs/nilfs/nilfs_vfsops.c
1054
nilfs_statvfs(struct mount *mp, struct statvfs *sbp)
sys/fs/ntfs/ntfs_vfsops.c
621
ntfs_statvfs(struct mount *mp, struct statvfs *sbp)
sys/fs/ntfs/ntfs_vfsops.c
72
static int ntfs_statvfs(struct mount *, struct statvfs *);
sys/fs/puffs/puffs_msgif.h
156
statvfs_to_puffs_statvfs(const struct statvfs *s, struct puffs_statvfs *ps)
sys/fs/puffs/puffs_msgif.h
192
puffs_statvfs_to_statvfs(const struct puffs_statvfs *ps, struct statvfs *s)
sys/fs/puffs/puffs_vfsops.c
219
struct statvfs *sb = STATVFSBUF_GET();
sys/fs/puffs/puffs_vfsops.c
474
puffs_vfsop_statvfs(struct mount *mp, struct statvfs *sbp)
sys/fs/puffs/puffs_vfsops.c
476
PUFFS_MSG_VARS(vfs, statvfs);
sys/fs/puffs/puffs_vfsops.c
491
PUFFS_MSG_ALLOC(vfs, statvfs);
sys/fs/puffs/puffs_vfsops.c
512
PUFFS_MSG_RELEASE(statvfs);
sys/fs/sysvbfs/sysvbfs_vfsops.c
258
sysvbfs_statvfs(struct mount *mp, struct statvfs *f)
sys/fs/tmpfs/tmpfs_vfsops.c
400
tmpfs_statvfs(struct mount *mp, struct statvfs *sbp)
sys/fs/udf/udf_vfsops.c
779
udf_statvfs(struct mount *mp, struct statvfs *sbp)
sys/fs/union/union_vfsops.c
435
union_statvfs(struct mount *mp, struct statvfs *sbp)
sys/fs/union/union_vfsops.c
439
struct statvfs *sbuf = kmem_zalloc(sizeof(*sbuf), KM_SLEEP);
sys/fs/unionfs/unionfs_vfsops.c
389
unionfs_statvfs(struct mount *mp, struct statvfs *sbp)
sys/fs/unionfs/unionfs_vfsops.c
394
struct statvfs *sbuf = kmem_zalloc(sizeof(*sbuf), KM_SLEEP);
sys/fs/v7fs/v7fs_vfsops.c
344
v7fs_statvfs(struct mount *mp, struct statvfs *f)
sys/kern/kern_acct.c
178
struct statvfs *sb;
sys/kern/vfs_subr.c
1270
copy_statvfs_info(struct statvfs *sbp, const struct mount *mp)
sys/kern/vfs_subr.c
1272
const struct statvfs *mbp;
sys/kern/vfs_subr.c
1303
struct statvfs *sfs = &mp->mnt_stat;
sys/kern/vfs_subr.c
1567
VFS_STATVFS(struct mount *mp, struct statvfs *a)
sys/kern/vfs_subr.c
997
char bf[sizeof(((struct statvfs *)NULL)->f_fstypename)];
sys/kern/vfs_syscalls.c
1268
dostatvfs(struct mount *mp, struct statvfs *sp, struct lwp *l, int flags,
sys/kern/vfs_syscalls.c
1348
do_sys_pstatvfs(struct lwp *l, const char *path, int flags, struct statvfs *sb)
sys/kern/vfs_syscalls.c
1373
struct statvfs *sb;
sys/kern/vfs_syscalls.c
1388
do_sys_fstatvfs(struct lwp *l, int fd, int flags, struct statvfs *sb)
sys/kern/vfs_syscalls.c
1413
struct statvfs *sb;
sys/kern/vfs_syscalls.c
1436
struct statvfs *sb;
sys/kern/vfs_syscalls.c
1496
SCARG(uap, flags), copyout, sizeof (struct statvfs), retval);
sys/kern/vfs_syscalls.c
2310
struct statvfs *sb, int flags)
sys/kern/vfs_syscalls.c
2350
struct statvfs *sb = STATVFSBUF_GET();
sys/kern/vfs_syscalls.c
467
char fstypename[sizeof(((struct statvfs *)NULL)->f_fstypename)];
sys/miscfs/genfs/genfs.h
51
int genfs_statvfs(struct mount *, struct statvfs *);
sys/miscfs/genfs/genfs_vfsops.c
42
genfs_statvfs(struct mount *mp, struct statvfs *sbp)
sys/miscfs/genfs/layer_extern.h
85
int layerfs_statvfs(struct mount *, struct statvfs *);
sys/miscfs/genfs/layer_vfsops.c
161
layerfs_statvfs(struct mount *mp, struct statvfs *sbp)
sys/miscfs/genfs/layer_vfsops.c
163
struct statvfs *sbuf;
sys/miscfs/procfs/procfs_linux.c
607
const struct statvfs *sfs, struct lwp *curl, int suser)
sys/miscfs/procfs/procfs_linux.c
643
struct statvfs *sfs;
sys/miscfs/procfs/procfs_vfsops.c
264
procfs_statvfs(struct mount *mp, struct statvfs *sbp)
sys/nfs/nfs_serv.c
3332
struct statvfs *sf = NULL;
sys/nfs/nfs_serv.c
3414
struct statvfs *sb;
sys/nfs/nfs_vfsops.c
159
nfs_statvfs(struct mount *mp, struct statvfs *sbp)
sys/rump/include/rump-sys/vfs_if.h
48
int rump_vfs_statvfs(struct mount *, struct statvfs *);
sys/rump/include/rump-sys/vfs_if.h
49
typedef int (*rump_vfs_statvfs_fn)(struct mount *, struct statvfs *);
sys/rump/include/rump/rump.h
42
struct statvfs;
sys/rump/include/rump/rump_syscalls.h
1076
int rump_sys_getvfsstat(struct statvfs *, size_t, int) __RENAME(RUMP_SYS_RENAME_GETVFSSTAT);
sys/rump/include/rump/rump_syscalls.h
1077
int rump_sys_statvfs1(const char *, struct statvfs *, int) __RENAME(RUMP_SYS_RENAME_STATVFS1);
sys/rump/include/rump/rump_syscalls.h
1078
int rump_sys_fstatvfs1(int, struct statvfs *, int) __RENAME(RUMP_SYS_RENAME_FSTATVFS1);
sys/rump/include/rump/rump_syscalls.h
1079
int rump_sys_fhstatvfs1(const void *, size_t, struct statvfs *, int) __RENAME(RUMP_SYS_RENAME_FHSTATVFS1);
sys/rump/include/rump/rump_syscalls.h
870
struct statvfs;
sys/rump/include/rump/rumpvfs_if_pub.h
27
int rump_pub_vfs_statvfs(struct mount *, struct statvfs *);
sys/rump/librump/rumpkern/rump_syscalls.c
6467
int rump___sysimpl_getvfsstat90(struct statvfs *, size_t, int);
sys/rump/librump/rumpkern/rump_syscalls.c
6469
rump___sysimpl_getvfsstat90(struct statvfs * buf, size_t bufsize, int flags)
sys/rump/librump/rumpkern/rump_syscalls.c
6498
int rump___sysimpl_statvfs190(const char *, struct statvfs *, int);
sys/rump/librump/rumpkern/rump_syscalls.c
6500
rump___sysimpl_statvfs190(const char * path, struct statvfs * buf, int flags)
sys/rump/librump/rumpkern/rump_syscalls.c
6529
int rump___sysimpl_fstatvfs190(int, struct statvfs *, int);
sys/rump/librump/rumpkern/rump_syscalls.c
6531
rump___sysimpl_fstatvfs190(int fd, struct statvfs * buf, int flags)
sys/rump/librump/rumpkern/rump_syscalls.c
6560
int rump___sysimpl_fhstatvfs190(const void *, size_t, struct statvfs *, int);
sys/rump/librump/rumpkern/rump_syscalls.c
6562
rump___sysimpl_fhstatvfs190(const void * fhp, size_t fh_size, struct statvfs * buf, int flags)
sys/rump/librump/rumpvfs/rump_vfs.c
430
rump_vfs_statvfs(struct mount *mp, struct statvfs *sbp)
sys/rump/librump/rumpvfs/rumpvfs_if_wrappers.c
213
rump_pub_vfs_statvfs(struct mount *arg1, struct statvfs *arg2)
sys/sys/mount.h
167
struct statvfs mnt_stat; /* cache of filesystem stats */
sys/sys/mount.h
195
int (*vfs_statvfs) (struct mount *, struct statvfs *);
sys/sys/mount.h
240
int VFS_STATVFS(struct mount *, struct statvfs *);
sys/sys/mount.h
260
int fsname##_statvfs(struct mount *, struct statvfs *); \
sys/sys/statvfs.h
149
void copy_statvfs_info(struct statvfs *, const struct mount *);
sys/sys/statvfs.h
150
int dostatvfs(struct mount *, struct statvfs *, struct lwp *, int, int);
sys/sys/statvfs.h
154
(struct statvfs *)kmem_zalloc(sizeof(struct statvfs), KM_SLEEP)
sys/sys/statvfs.h
155
#define STATVFSBUF_PUT(sb) kmem_free(sb, sizeof(struct statvfs))
sys/sys/statvfs.h
160
int getmntinfo(struct statvfs **, int)
sys/sys/statvfs.h
163
int statvfs(const char *__restrict, struct statvfs *__restrict)
sys/sys/statvfs.h
165
int fstatvfs(int, struct statvfs *)
sys/sys/statvfs.h
167
int getvfsstat(struct statvfs *, size_t, int)
sys/sys/statvfs.h
171
int fhstatvfs(const void *, size_t, struct statvfs *)
sys/sys/statvfs.h
173
int statvfs1(const char *__restrict, struct statvfs *__restrict, int)
sys/sys/statvfs.h
175
int fstatvfs1(int, struct statvfs *, int)
sys/sys/statvfs.h
177
int fhstatvfs1(const void *, size_t, struct statvfs *, int)
sys/sys/syscallargs.h
3220
syscallarg(struct statvfs *) buf;
sys/sys/syscallargs.h
3228
syscallarg(struct statvfs *) buf;
sys/sys/syscallargs.h
3235
syscallarg(struct statvfs *) buf;
sys/sys/syscallargs.h
3243
syscallarg(struct statvfs *) buf;
sys/sys/vfs_syscalls.h
36
struct statvfs;
sys/sys/vfs_syscalls.h
47
int do_fhstatvfs(struct lwp *, const void *, size_t, struct statvfs *, int);
sys/sys/vfs_syscalls.h
50
int do_sys_pstatvfs(struct lwp *, const char *, int, struct statvfs *);
sys/sys/vfs_syscalls.h
51
int do_sys_fstatvfs(struct lwp *, int, int, struct statvfs *);
sys/ufs/chfs/chfs_vfsops.c
704
chfs_statvfs(struct mount *mp, struct statvfs *sbp)
sys/ufs/chfs/chfs_vfsops.c
77
static int chfs_statvfs(struct mount *, struct statvfs *);
sys/ufs/ext2fs/ext2fs_extern.h
73
struct statvfs;
sys/ufs/ext2fs/ext2fs_vfsops.c
874
ext2fs_statvfs(struct mount *mp, struct statvfs *sbp)
sys/ufs/ffs/ffs_extern.h
56
struct statvfs;
sys/ufs/ffs/ffs_vfsops.c
1900
ffs_statvfs(struct mount *mp, struct statvfs *sbp)
sys/ufs/lfs/lfs_extern.h
97
struct statvfs;
sys/ufs/lfs/lfs_vfsops.c
1580
lfs_statvfs(struct mount *mp, struct statvfs *sbp)
sys/ufs/lfs/ulfs_extattr.c
520
struct statvfs *sbp = &ump->um_mountp->mnt_stat;
sys/ufs/mfs/mfs_extern.h
45
struct statvfs;
sys/ufs/mfs/mfs_vfsops.c
432
mfs_statvfs(struct mount *mp, struct statvfs *sbp)
sys/ufs/ufs/ufs_extattr.c
519
struct statvfs *sbp = &ump->um_mountp->mnt_stat;
sys/uvm/uvm_swap.c
1071
struct statvfs *sp;
tests/bin/df/getmntinfo.c
124
static const struct statvfs tmpl = {
tests/bin/df/getmntinfo.c
156
static const struct statvfs tmpl = {
tests/bin/df/getmntinfo.c
185
static const struct statvfs tmpl = {
tests/bin/df/getmntinfo.c
208
getmntinfo(struct statvfs **mntbuf, int flags)
tests/bin/df/getmntinfo.c
40
static struct statvfs *getnewstatvfs(void);
tests/bin/df/getmntinfo.c
41
static void other_variants(const struct statvfs *, const int *, int,
tests/bin/df/getmntinfo.c
47
static struct statvfs *allstatvfs;
tests/bin/df/getmntinfo.c
50
struct statvfs *
tests/bin/df/getmntinfo.c
57
sftotal * sizeof(struct statvfs));
tests/bin/df/getmntinfo.c
66
other_variants(const struct statvfs *tmpl, const int *minfree, int minfreecnt,
tests/bin/df/getmntinfo.c
70
struct statvfs *sf;
tests/bin/df/getmntinfo.c
93
static const struct statvfs tmpl = {
tests/fs/common/h_fsmacros.h
247
struct statvfs fsstat;
tests/fs/common/h_fsmacros.h
251
if (statvfs(".", &fsstat) == 0 &&
tests/fs/common/h_fsmacros.h
80
struct statvfs fsstat; \
tests/fs/common/h_fsmacros.h
81
if (statvfs(".", &fsstat) == 0 && \
tests/fs/ffs/t_mount.c
101
struct statvfs svb;
tests/fs/ffs/t_mount.c
60
struct statvfs svb;
tests/fs/ffs/t_quota2_remount.c
32
struct statvfs fst;
tests/fs/lfs/t_fcntl.c
327
struct statvfs statbuf;
tests/fs/nfs/nfsservice/getmntinfo.c
60
struct statvfs **mntbufp;
tests/fs/nfs/nfsservice/getmntinfo.c
63
static struct statvfs *mntbuf;
tests/fs/nfs/nfsservice/getmntinfo.c
75
while (bufsize <= mntsize * sizeof(struct statvfs)) {
tests/fs/nfs/nfsservice/getmntinfo.c
78
bufsize = (mntsize + 1) * sizeof(struct statvfs);
tests/fs/puffs/h_dtfs/dtfs.c
184
PUFFSOP_SET(pops, dtfs, fs, statvfs);
tests/fs/puffs/t_basic.c
36
struct statvfs svb;
tests/fs/tmpfs/h_tools.c
255
struct statvfs buf;
tests/fs/tmpfs/h_tools.c
260
error = statvfs(argv[1], &buf);
tests/fs/vfs/t_rwtoro.c
66
struct statvfs sbuf;
tests/fs/vfs/t_vfsops.c
55
struct statvfs svb;
tests/lib/libc/c063/t_o_search.c
321
struct statvfs vst;
tests/lib/libc/c063/t_utimensat.c
105
RL(statvfs(FILE, &fs));
tests/lib/libc/c063/t_utimensat.c
119
struct statvfs fs;
tests/lib/libc/c063/t_utimensat.c
129
RL(statvfs(BASEFILE, &fs));
tests/lib/libc/c063/t_utimensat.c
208
struct statvfs fs;
tests/lib/libc/c063/t_utimensat.c
222
RL(statvfs(DIR, &fs)); /* XXX should do lstatvfs(LINK, &fs) */
tests/lib/libc/c063/t_utimensat.c
64
checkstattime(const struct stat *st, const struct statvfs *fs)
tests/lib/libc/c063/t_utimensat.c
94
struct statvfs fs;
usr.bin/eject/eject.c
330
struct statvfs *mounts;
usr.bin/find/function.c
1058
struct statvfs sb;
usr.bin/find/function.c
1087
if (statvfs(entry->fts_accpath, &sb))
usr.bin/quota/quota.c
483
struct statvfs *fst;
usr.bin/systat/df.c
53
static struct statvfs *fss;
usr.sbin/autofs/automount.c
104
const char *prefix, const struct statvfs *mntbuf, int nitems)
usr.sbin/autofs/automount.c
106
const struct statvfs *sb;
usr.sbin/autofs/automount.c
145
struct statvfs *mntbuf;
usr.sbin/autofs/automount.c
206
struct statvfs *mntbuf;
usr.sbin/autofs/automount.c
229
struct statvfs *mntbuf;
usr.sbin/autofs/automount.c
51
unmount_by_statfs(const struct statvfs *sb, bool force)
usr.sbin/autofs/automount.c
67
static const struct statvfs *
usr.sbin/autofs/automount.c
68
find_statfs(const struct statvfs *mntbuf, int nitems, const char *mountpoint)
usr.sbin/autofs/autounmountd.c
108
struct statvfs *mntbuf;
usr.sbin/edquota/edquota.c
559
struct statvfs *fst;
usr.sbin/edquota/edquota.c
631
struct statvfs *fst;
usr.sbin/extattrctl/extattrctl.c
87
struct statvfs buf;
usr.sbin/extattrctl/extattrctl.c
89
if (statvfs(path, &buf) == -1) {
usr.sbin/fssconfig/fssconfig.c
118
struct statvfs fsbuf;
usr.sbin/fssconfig/prog_ops.h
45
int (*op_statvfs1)(const char *, struct statvfs *, int);
usr.sbin/lpr/lpd/recvjob.c
275
struct statvfs sfb;
usr.sbin/lpr/lpd/recvjob.c
277
if (statvfs(".", &sfb) < 0) {
usr.sbin/makefs/ffs.c
475
struct statvfs sfs;
usr.sbin/mountd/mountd.c
1022
struct statvfs fsb;
usr.sbin/mountd/mountd.c
1232
struct statvfs *fsp;
usr.sbin/mountd/mountd.c
188
struct grouplist *, int, struct uucred *, char *, int, struct statvfs *);
usr.sbin/mountd/mountd.c
193
int, char *, struct exportlist **, struct statvfs *);
usr.sbin/mountd/mountd.c
2001
char *dirp, int dirplen, struct statvfs *fsb)
usr.sbin/mountd/mountd.c
578
struct statvfs fsb;
usr.sbin/mountd/mountd.c
960
int got_nondir, char *cp, struct exportlist **ep, struct statvfs *fsp)
usr.sbin/puffs/mount_9p/ninepuffs.c
227
PUFFSOP_SETFSNOP(pops, statvfs);
usr.sbin/puffs/mount_psshfs/psshfs.c
253
PUFFSOP_SET(pops, psshfs, fs, statvfs);
usr.sbin/puffs/mount_sysctlfs/sysctlfs.c
281
PUFFSOP_SETFSNOP(pops, statvfs);
usr.sbin/quot/quot.c
607
struct statvfs *mp;
usr.sbin/quotacheck/quotacheck.c
489
struct statvfs *fst;
usr.sbin/quotaon/quotaon.c
257
struct statvfs fsbuf;
usr.sbin/quotaon/quotaon.c
259
if (statvfs(fs->fs_file, &fsbuf) < 0 ||
usr.sbin/repquota/repquota.c
127
struct statvfs *fst;
usr.sbin/sysinst/net.c
1068
struct statvfs sb;
usr.sbin/sysinst/net.c
1072
if (statvfs(set_dir_bin, &sb) == 0 &&
usr.sbin/sysinst/net.c
545
struct statvfs sb;
usr.sbin/sysinst/net.c
617
if (statvfs("/", &sb) == 0 && strcmp(sb.f_fstypename, "nfs") == 0) {
usr.sbin/sysinst/util.c
457
struct statvfs *mounted;
usr.sbin/sysinst/util.c
603
struct statvfs sb;
usr.sbin/sysinst/util.c
605
if (statvfs("/", &sb) == 0) {
usr.sbin/sysinst/util.c
619
struct statvfs sb;
usr.sbin/sysinst/util.c
621
if (statvfs("/", &sb) == 0)
usr.sbin/vnconfig/vnconfig.c
235
struct statvfs *mnt;