Symbol: statfs
bin/df/df.c
128
mntbuf = calloc(argc, sizeof(struct statfs));
bin/df/df.c
148
if (!statfs(mntpt, &mntbuf[mntsize]))
bin/df/df.c
183
struct statfs *mntbuf;
bin/df/df.c
251
regetmntinfo(struct statfs **mntbufp, long mntsize)
bin/df/df.c
254
struct statfs *mntbuf;
bin/df/df.c
269
(void)statfs(mntbuf[i].f_mntonname, &mntbuf[j]);
bin/df/df.c
293
prthuman(struct statfs *sfsp, unsigned long long used)
bin/df/df.c
366
prtstat(struct statfs *sfsp, int maxwidth, int headerlen, int blocksize)
bin/df/df.c
404
bsdprint(struct statfs *mntbuf, long mntsize, int maxwidth)
bin/df/df.c
451
posixprint(struct statfs *mntbuf, long mntsize, int maxwidth)
bin/df/df.c
456
struct statfs *sfsp;
bin/df/df.c
487
raw_df(char *file, struct statfs *sfsp)
bin/df/df.c
51
static void bsdprint(struct statfs *, long, int);
bin/df/df.c
55
static void posixprint(struct statfs *, long, int);
bin/df/df.c
56
static void prthuman(struct statfs *sfsp, unsigned long long);
bin/df/df.c
58
static void prtstat(struct statfs *, int, int, int);
bin/df/df.c
59
static long regetmntinfo(struct statfs **, long);
bin/df/df.c
63
extern int e2fs_df(int, char *, struct statfs *);
bin/df/df.c
64
extern int ffs_df(int, char *, struct statfs *);
bin/df/df.c
65
static int raw_df(char *, struct statfs *);
bin/df/df.c
74
struct statfs *mntbuf;
bin/df/ext2fs_df.c
47
int e2fs_df(int, char *, struct statfs *);
bin/df/ext2fs_df.c
59
e2fs_df(int rfd, char *file, struct statfs *sfsp)
bin/df/ffs_df.c
44
int ffs_df(int, char *, struct statfs *);
bin/df/ffs_df.c
56
ffs_df(int rfd, char *file, struct statfs *sfsp)
bin/mv/mv.c
227
struct statfs sfs;
bin/mv/mv.c
234
if (!statfs(path, &sfs) && !strcmp(path, sfs.f_mntonname)) {
bin/rm/rm.c
295
struct statfs fsb;
lib/libc/gen/getmntinfo.c
39
getmntinfo(struct statfs **mntbufp, int flags)
lib/libc/gen/getmntinfo.c
41
static struct statfs *mntbuf;
lib/libc/gen/getmntinfo.c
49
while (bufsize <= mntsize * sizeof(struct statfs)) {
lib/libc/gen/getmntinfo.c
51
bufsize = (mntsize + 1) * sizeof(struct statfs);
lib/libc/gen/statvfs.c
24
cvt_statfs_to_statvfs(const struct statfs *fsp, struct statvfs *vfsp)
lib/libc/gen/statvfs.c
49
struct statfs sb;
lib/libc/gen/statvfs.c
61
struct statfs sb;
lib/libc/gen/statvfs.c
64
ret = statfs(path, &sb);
lib/libc/hidden/sys/mount.h
31
PROTO_NORMAL(statfs);
lib/libcrypto/arc4random/getentropy_linux.c
386
struct statfs stfs;
lib/libcrypto/arc4random/getentropy_linux.c
449
HX(statfs(".", &stfs) == -1, stfs);
lib/libcrypto/arc4random/getentropy_linux.c
453
HX(statfs("/", &stfs) == -1, stfs);
lib/libcrypto/arc4random/getentropy_osx.c
300
struct statfs stfs;
lib/libcrypto/arc4random/getentropy_osx.c
359
HX(statfs(".", &stfs) == -1, stfs);
lib/libcrypto/arc4random/getentropy_osx.c
363
HX(statfs("/", &stfs) == -1, stfs);
lib/libfuse/fuse.h
77
int (*statfs)(const char *, struct statvfs *);
lib/libfuse/fuse_lowlevel.h
83
void (*statfs)(fuse_req_t, fuse_ino_t);
lib/libfuse/fuse_ops.c
682
CHECK_OPT(statfs);
lib/libfuse/fuse_ops.c
692
err = f->op.statfs(realname, &stbuf);
lib/libfuse/fuse_ops.c
996
.statfs = ifuse_ops_statfs,
lib/libfuse/fuse_session.c
590
if (se->llops.statfs)
lib/libfuse/fuse_session.c
591
se->llops.statfs(req, fbuf->fb_ino);
libexec/snmpd/snmpd_metrics/mib.c
392
struct statfs *mntbuf, *mnt;
regress/sys/copy/copy.c
101
if (!statfs(badbuf, goodbuf) || errno != EFAULT)
regress/sys/copy/copy.c
103
if (!statfs(path, goodbuf) || errno != ENAMETOOLONG)
regress/sys/copy/copy.c
72
if (statfs("/", goodbuf))
regress/sys/copy/copy.c
74
if (!statfs("/", 0) || errno != EFAULT)
regress/sys/copy/copy.c
76
if (!statfs("/", badbuf) || errno != EFAULT)
regress/sys/copy/copy.c
97
if (statfs("/", goodbuf))
regress/sys/copy/copy.c
99
if (!statfs(0, goodbuf) || errno != EFAULT)
regress/sys/kern/unveil/syscalls.c
589
struct statfs sb;
regress/sys/kern/unveil/syscalls.c
592
UV_SHOULD_SUCCEED((statfs("/home", &sb) == -1), "statfs");
regress/sys/kern/unveil/syscalls.c
593
UV_SHOULD_SUCCEED((statfs("/", &sb) == -1), "statfs");
regress/sys/kern/unveil/syscalls.c
594
UV_SHOULD_SUCCEED((statfs(uv_file1, &sb) == -1), "statfs");
regress/sys/kern/unveil/syscalls.c
595
UV_SHOULD_SUCCEED((statfs(uv_file2, &sb) == -1), "statfs");
regress/sys/kern/unveil/syscalls.c
596
UV_SHOULD_SUCCEED((statfs(uv_dir1, &sb) == -1), "statfs");
regress/sys/kern/unveil/syscalls.c
597
UV_SHOULD_SUCCEED((statfs(uv_dir2, &sb) == -1), "statfs");
regress/sys/kern/unveil/syscalls.c
599
UV_SHOULD_SUCCEED((statfs(uv_file1, &sb) == -1), "statfs");
regress/sys/kern/unveil/syscalls.c
600
UV_SHOULD_SUCCEED((statfs(uv_file2, &sb) == -1), "statfs");
regress/sys/kern/unveil/syscalls.c
601
UV_SHOULD_SUCCEED((statfs(uv_dir1, &sb) == -1), "statfs");
regress/sys/kern/unveil/syscalls.c
602
UV_SHOULD_SUCCEED((statfs(uv_dir2, &sb) == -1), "statfs");
sbin/dump/main.c
115
struct statfs fsbuf;
sbin/dump/main.c
255
if (statfs(argv[i], &fsbuf) == -1) {
sbin/dump/main.c
358
if (!statfs(disk, &fsbuf) && !strcmp(fsbuf.f_mntonname, disk)) {
sbin/fsck_ext2fs/main.c
317
struct statfs stfs_buf;
sbin/fsck_ext2fs/main.c
322
if (statfs("/", &stfs_buf) == 0) {
sbin/fsck_ffs/main.c
368
struct statfs stfs_buf;
sbin/fsck_ffs/main.c
373
if (statfs("/", &stfs_buf) == 0) {
sbin/mount/mount.c
106
struct statfs *mntbuf;
sbin/mount/mount.c
348
struct statfs sf;
sbin/mount/mount.c
381
if (statfs(name, &sf) == -1) {
sbin/mount/mount.c
461
if (statfs(name, &sf) == -1) {
sbin/mount/mount.c
474
prmount(struct statfs *sf)
sbin/mount/mount.c
624
struct statfs *
sbin/mount/mount.c
627
struct statfs *mntbuf;
sbin/mount/mount.c
63
struct statfs
sbin/mount/mount.c
70
void prmount(struct statfs *);
sbin/mountd/mountd.c
1070
struct statfs fsb, *ofsp, *fsp;
sbin/mountd/mountd.c
1183
statfs(cp, &fsb) >= 0) {
sbin/mountd/mountd.c
368
struct statfs sfb;
sbin/mountd/mountd.c
456
if (statfs(req->er_path, &sfb) == -1) {
sbin/mountd/mountd.c
484
if (statfs(path, &sfb) == -1) {
sbin/mountd/mountd.c
757
struct statfs fsb;
sbin/mountd/mountd.c
800
statfs(dirpath, &fsb) == -1) {
sbin/newfs/newfs.c
175
struct statfs *mp;
sbin/newfs/newfs.c
657
struct statfs sf;
sbin/newfs/newfs.c
674
if (statfs(node, &sf) == -1)
sbin/newfs/newfs.c
794
struct statfs fs;
sbin/newfs/newfs.c
797
if (statfs(tmp, &fs) != 0)
sbin/newfs/newfs.c
800
if (statfs(mnt, &fs) != 0)
sbin/newfs_ext2fs/newfs_ext2fs.c
115
struct statfs *mp;
sbin/newfs_ext2fs/newfs_ext2fs.c
314
struct statfs sfs;
sbin/newfs_msdos/newfs_msdos.c
672
struct statfs *mp;
sbin/savecore/savecore.c
623
struct statfs fsbuf;
sbin/umount/umount.c
122
struct statfs *fs;
sbin/umount/umount.c
259
struct statfs *mntbuf;
sys/arch/alpha/stand/installboot.c
322
struct statfs statfsbuf;
sys/isofs/cd9660/cd9660_extern.h
89
int cd9660_statfs(struct mount *, struct statfs *, struct proc *);
sys/isofs/cd9660/cd9660_vfsops.c
596
cd9660_statfs(struct mount *mp, struct statfs *sbp, struct proc *p)
sys/isofs/udf/udf_extern.h
27
int udf_statfs(struct mount *, struct statfs *, struct proc *);
sys/isofs/udf/udf_vfsops.c
518
udf_statfs(struct mount *mp, struct statfs *sbp, struct proc *p)
sys/kern/kern_acct.c
311
struct statfs sb;
sys/kern/vfs_subr.c
2337
copy_statfs_info(struct statfs *sbp, const struct mount *mp)
sys/kern/vfs_subr.c
2339
const struct statfs *mbp;
sys/kern/vfs_syscalls.c
1538
syscallarg(struct statfs *) buf;
sys/kern/vfs_syscalls.c
1540
struct statfs *sp;
sys/kern/vfs_syscalls.c
570
copyout_statfs(struct statfs *sp, void *uaddr, struct proc *p)
sys/kern/vfs_syscalls.c
572
size_t co_sz1 = offsetof(struct statfs, f_fsid);
sys/kern/vfs_syscalls.c
574
size_t co_sz2 = sizeof(struct statfs) - co_off2;
sys/kern/vfs_syscalls.c
605
syscallarg(struct statfs *) buf;
sys/kern/vfs_syscalls.c
608
struct statfs *sp;
sys/kern/vfs_syscalls.c
636
syscallarg(struct statfs *) buf;
sys/kern/vfs_syscalls.c
640
struct statfs *sp;
sys/kern/vfs_syscalls.c
667
syscallarg(struct statfs *) buf;
sys/kern/vfs_syscalls.c
672
struct statfs *sp;
sys/kern/vfs_syscalls.c
673
struct statfs *sfsp;
sys/kern/vfs_syscalls.c
677
maxcount = SCARG(uap, bufsize) / sizeof(struct statfs);
sys/kern/vfs_syscalls.c
68
int copyout_statfs(struct statfs *, void *, struct proc *);
sys/miscfs/fuse/fuse_vfsops.c
202
fusefs_statfs(struct mount *mp, struct statfs *sbp, struct proc *p)
sys/miscfs/fuse/fuse_vfsops.c
42
int fusefs_statfs(struct mount *, struct statfs *, struct proc *);
sys/msdosfs/msdosfs_vfsops.c
614
msdosfs_statfs(struct mount *mp, struct statfs *sbp, struct proc *p)
sys/msdosfs/msdosfs_vfsops.c
82
int msdosfs_statfs(struct mount *, struct statfs *, struct proc *);
sys/msdosfs/msdosfsmount.h
207
int msdosfs_statfs(struct mount *, struct statfs *, struct proc *);
sys/nfs/nfs_serv.c
2951
struct statfs *sf;
sys/nfs/nfs_serv.c
2959
struct statfs statfs;
sys/nfs/nfs_serv.c
2985
sf = &statfs;
sys/nfs/nfs_vfsops.c
114
nfs_statfs(struct mount *mp, struct statfs *sbp, struct proc *p)
sys/nfs/nfs_vfsops.c
78
int nfs_statfs(struct mount *, struct statfs *, struct proc *);
sys/ntfs/ntfs_vfsops.c
593
ntfs_statfs(struct mount *mp, struct statfs *sbp, struct proc *p)
sys/ntfs/ntfs_vfsops.c
61
int ntfs_statfs(struct mount *, struct statfs *,
sys/sys/mount.h
345
struct statfs mnt_stat; /* cache of filesystem stats */
sys/sys/mount.h
521
int (*vfs_statfs)(struct mount *mp, struct statfs *sbp,
sys/sys/mount.h
624
int fstatfs(int, struct statfs *);
sys/sys/mount.h
626
int getfsstat(struct statfs *, size_t, int);
sys/sys/mount.h
627
int getmntinfo(struct statfs **, int);
sys/sys/mount.h
629
int statfs(const char *, struct statfs *);
sys/sys/mount.h
635
int fhstatfs(const fhandle_t *, struct statfs *);
sys/sys/syscallargs.h
290
syscallarg(struct statfs *) buf;
sys/sys/syscallargs.h
297
syscallarg(struct statfs *) buf;
sys/sys/syscallargs.h
302
syscallarg(struct statfs *) buf;
sys/sys/syscallargs.h
307
syscallarg(struct statfs *) buf;
sys/sys/vnode.h
570
struct statfs;
sys/sys/vnode.h
603
void copy_statfs_info(struct statfs *, const struct mount *);
sys/tmpfs/tmpfs_vfsops.c
328
tmpfs_statfs(struct mount *mp, struct statfs *sbp, struct proc *p)
sys/tmpfs/tmpfs_vfsops.c
70
int tmpfs_statfs(struct mount *, struct statfs *, struct proc *);
sys/ufs/ext2fs/ext2fs_extern.h
104
int ext2fs_statfs(struct mount *, struct statfs *, struct proc *);
sys/ufs/ext2fs/ext2fs_extern.h
44
struct statfs;
sys/ufs/ext2fs/ext2fs_vfsops.c
651
ext2fs_statfs(struct mount *mp, struct statfs *sbp, struct proc *p)
sys/ufs/ffs/ffs_extern.h
143
int ffs_statfs(struct mount *, struct statfs *, struct proc *);
sys/ufs/ffs/ffs_extern.h
86
struct statfs;
sys/ufs/ffs/ffs_vfsops.c
1002
ffs_statfs(struct mount *mp, struct statfs *sbp, struct proc *p)
sys/ufs/mfs/mfs_extern.h
39
struct statfs;
usr.bin/find/function.c
851
struct statfs sb;
usr.bin/find/function.c
878
if (statfs(entry->fts_accpath, &sb))
usr.bin/fstat/fstat.c
894
static struct statfs *mntbuf;
usr.bin/quota/quota.c
435
struct statfs *fst;
usr.bin/quota/quota.c
525
getufsquota(struct statfs *fst, struct fstab *fs, struct quotause *qup,
usr.bin/quota/quota.c
562
getnfsquota(struct statfs *fst, struct fstab *fs, struct quotause *qup,
usr.bin/quota/quota.c
75
int getnfsquota(struct statfs *, struct fstab *, struct quotause *,
usr.bin/quota/quota.c
79
int getufsquota(struct statfs *, struct fstab *, struct quotause *,
usr.bin/rdistd/filesys-os.c
43
static struct statfs *mnt = NULL;
usr.bin/rdistd/filesys-os.c
59
size *= sizeof(struct statfs);
usr.bin/rdistd/filesys.c
397
struct statfs statfsbuf;
usr.bin/rdistd/filesys.c
411
r = statfs(mntpt, &statfsbuf);
usr.sbin/amd/amd/mtab.c
120
struct statfs *mntbufp, *mntp;
usr.sbin/amd/amd/mtab.c
99
mnt_dup(struct statfs *mp)
usr.sbin/installboot/efi_installboot.c
200
struct statfs sf;
usr.sbin/installboot/efi_installboot.c
318
if (statfs(dst, &sf) || sf.f_blocks < 2048) {
usr.sbin/installboot/i386_installboot.c
296
struct statfs sf;
usr.sbin/installboot/i386_installboot.c
425
if (statfs(dst, &sf) || sf.f_blocks < 2048) {
usr.sbin/installboot/i386_installboot.c
790
struct statfs fssb;
usr.sbin/lpd/lp.c
872
struct statfs st;
usr.sbin/lpd/lp.c
921
if (statfs(LP_SD(lp), &st) == -1)
usr.sbin/lpr/lpd/recvjob.c
288
struct statfs sfb;
usr.sbin/lpr/lpd/recvjob.c
292
if (statfs(".", &sfb) < 0) {
usr.sbin/quot/quot.c
544
struct statfs *mp;
usr.sbin/quotaon/quotaon.c
238
struct statfs fsbuf;
usr.sbin/quotaon/quotaon.c
240
if (statfs(fs->fs_file, &fsbuf) < 0 ||
usr.sbin/smtpd/queue_fs.c
404
struct statfs buf;
usr.sbin/smtpd/queue_fs.c
408
if (statfs(PATH_QUEUE, &buf) == -1) {