Symbol: statfs
arch/powerpc/platforms/cell/spufs/inode.c
693
.statfs = simple_statfs,
arch/s390/hypfs/inode.c
429
.statfs = simple_statfs,
arch/um/os-Linux/mem.c
62
struct statfs st;
arch/um/os-Linux/mem.c
65
if (statfs(dir, &st) < 0) {
block/bdev.c
428
.statfs = simple_statfs,
drivers/android/binder/rust_binderfs.c
328
.statfs = simple_statfs,
drivers/android/binderfs.c
337
.statfs = simple_statfs,
drivers/dax/super.c
387
.statfs = simple_statfs,
drivers/misc/ibmasm/ibmasmfs.c
96
.statfs = simple_statfs,
drivers/usb/gadget/function/f_fs.c
1907
.statfs = simple_statfs,
drivers/usb/gadget/legacy/inode.c
2010
.statfs = simple_statfs,
fs/9p/vfs_super.c
264
.statfs = simple_statfs,
fs/9p/vfs_super.c
275
.statfs = v9fs_statfs,
fs/adfs/super.c
250
.statfs = adfs_statfs,
fs/affs/super.c
157
.statfs = affs_statfs,
fs/afs/super.c
56
.statfs = afs_statfs,
fs/autofs/inode.c
109
.statfs = simple_statfs,
fs/befs/linuxvfs.c
72
.statfs = befs_statfs, /* statfs */
fs/bfs/inode.c
303
.statfs = bfs_statfs,
fs/binfmt_misc.c
922
.statfs = simple_statfs,
fs/btrfs/super.c
2508
.statfs = btrfs_statfs,
fs/cachefiles/cache.c
67
!root->d_sb->s_op->statfs ||
fs/ceph/super.c
1039
.statfs = ceph_statfs,
fs/coda/inode.c
106
.statfs = coda_statfs,
fs/coda/upcall.c
556
insize = SIZE(statfs);
fs/configfs/mount.c
38
.statfs = simple_statfs,
fs/cramfs/inode.c
950
.statfs = cramfs_statfs,
fs/debugfs/inode.c
239
.statfs = simple_statfs,
fs/devpts/inode.c
356
.statfs = simple_statfs,
fs/ecryptfs/super.c
171
.statfs = ecryptfs_statfs,
fs/ecryptfs/super.c
92
if (!lower_dentry->d_sb->s_op->statfs)
fs/ecryptfs/super.c
95
rc = lower_dentry->d_sb->s_op->statfs(lower_dentry, buf);
fs/efivarfs/super.c
129
.statfs = efivarfs_statfs,
fs/efs/efs.h
125
struct statfs;
fs/efs/super.c
110
.statfs = efs_statfs,
fs/erofs/super.c
1125
.statfs = erofs_statfs,
fs/exfat/super.c
213
.statfs = exfat_statfs,
fs/ext2/super.c
375
.statfs = ext2_statfs,
fs/ext4/super.c
1663
.statfs = ext4_statfs,
fs/f2fs/super.c
3676
.statfs = f2fs_statfs,
fs/fat/inode.c
944
.statfs = fat_statfs,
fs/freevxfs/vxfs_super.c
122
.statfs = vxfs_statfs,
fs/fuse/inode.c
1227
.statfs = fuse_statfs,
fs/gfs2/super.c
1516
.statfs = gfs2_statfs,
fs/hfs/super.c
189
.statfs = hfs_statfs,
fs/hfsplus/super.c
414
.statfs = hfsplus_statfs,
fs/hostfs/hostfs_kern.c
266
.statfs = hostfs_statfs,
fs/hpfs/super.c
497
.statfs = hpfs_statfs,
fs/hugetlbfs/inode.c
1272
.statfs = hugetlbfs_statfs,
fs/isofs/inode.c
126
.statfs = isofs_statfs,
fs/jffs2/super.c
249
.statfs = jffs2_statfs,
fs/jfs/super.c
853
.statfs = jfs_statfs,
fs/kernfs/mount.c
59
.statfs = kernfs_statfs,
fs/libfs.c
674
.statfs = simple_statfs,
fs/minix/inode.c
129
.statfs = minix_statfs,
fs/nfs/nfs3proc.c
1103
.statfs = nfs3_proc_statfs,
fs/nfs/nfs4proc.c
10659
.statfs = nfs4_proc_statfs,
fs/nfs/nfs4super.c
29
.statfs = nfs_statfs,
fs/nfs/proc.c
756
.statfs = nfs_proc_statfs,
fs/nfs/super.c
259
error = server->nfs_client->rpc_ops->statfs(server, fh, &res);
fs/nfs/super.c
85
.statfs = nfs_statfs,
fs/nfsd/nfs4xdr.c
3147
struct kstatfs statfs;
fs/nfsd/nfs4xdr.c
3373
return nfsd4_encode_uint64_t(xdr, args->statfs.f_ffree);
fs/nfsd/nfs4xdr.c
3379
return nfsd4_encode_uint64_t(xdr, args->statfs.f_ffree);
fs/nfsd/nfs4xdr.c
3385
return nfsd4_encode_uint64_t(xdr, args->statfs.f_files);
fs/nfsd/nfs4xdr.c
3411
return nfsd4_encode_uint32_t(xdr, args->statfs.f_namelen);
fs/nfsd/nfs4xdr.c
3460
u64 avail = (u64)args->statfs.f_bavail * (u64)args->statfs.f_bsize;
fs/nfsd/nfs4xdr.c
3468
u64 free = (u64)args->statfs.f_bfree * (u64)args->statfs.f_bsize;
fs/nfsd/nfs4xdr.c
3476
u64 total = (u64)args->statfs.f_blocks * (u64)args->statfs.f_bsize;
fs/nfsd/nfs4xdr.c
3953
err = vfs_statfs(&path, &args.statfs);
fs/nilfs2/super.c
714
.statfs = nilfs_statfs,
fs/nsfs.c
415
.statfs = simple_statfs,
fs/ntfs3/super.c
868
.statfs = ntfs_statfs,
fs/nullfs.c
8
.statfs = simple_statfs,
fs/ocfs2/dlmfs/dlmfs.c
544
.statfs = simple_statfs,
fs/ocfs2/super.c
129
.statfs = ocfs2_statfs,
fs/omfs/inode.c
324
.statfs = omfs_statfs,
fs/openpromfs/inode.c
368
.statfs = simple_statfs,
fs/orangefs/downcall.h
114
struct orangefs_statfs_response statfs;
fs/orangefs/orangefs-utils.c
51
fsid = op->upcall.req.statfs.fs_id;
fs/orangefs/super.c
161
new_op->upcall.req.statfs.fs_id = ORANGEFS_SB(sb)->fs_id;
fs/orangefs/super.c
176
(long)new_op->downcall.resp.statfs.blocks_avail,
fs/orangefs/super.c
177
(long)new_op->downcall.resp.statfs.blocks_total,
fs/orangefs/super.c
178
(long)new_op->downcall.resp.statfs.block_size,
fs/orangefs/super.c
179
(long)new_op->downcall.resp.statfs.files_total,
fs/orangefs/super.c
180
(long)new_op->downcall.resp.statfs.files_avail);
fs/orangefs/super.c
185
buf->f_bsize = new_op->downcall.resp.statfs.block_size;
fs/orangefs/super.c
188
buf->f_blocks = (sector_t) new_op->downcall.resp.statfs.blocks_total;
fs/orangefs/super.c
189
buf->f_bfree = (sector_t) new_op->downcall.resp.statfs.blocks_avail;
fs/orangefs/super.c
190
buf->f_bavail = (sector_t) new_op->downcall.resp.statfs.blocks_avail;
fs/orangefs/super.c
191
buf->f_files = (sector_t) new_op->downcall.resp.statfs.files_total;
fs/orangefs/super.c
192
buf->f_ffree = (sector_t) new_op->downcall.resp.statfs.files_avail;
fs/orangefs/super.c
310
.statfs = orangefs_statfs,
fs/orangefs/upcall.h
242
struct orangefs_statfs_request_s statfs;
fs/overlayfs/super.c
304
.statfs = ovl_statfs,
fs/overlayfs/super.c
400
struct kstatfs statfs;
fs/overlayfs/super.c
401
int err = vfs_statfs(path, &statfs);
fs/overlayfs/super.c
406
ofs->namelen = max(ofs->namelen, statfs.f_namelen);
fs/pidfs.c
791
.statfs = simple_statfs,
fs/pipe.c
1456
.statfs = simple_statfs,
fs/proc/inode.c
192
.statfs = simple_statfs,
fs/pstore/inode.c
284
.statfs = simple_statfs,
fs/qnx4/inode.c
41
.statfs = qnx4_statfs,
fs/qnx6/inode.c
42
.statfs = qnx6_statfs,
fs/ramfs/inode.c
215
.statfs = simple_statfs,
fs/romfs/super.c
427
.statfs = romfs_statfs,
fs/smb/client/cifsfs.c
927
.statfs = cifs_statfs,
fs/smb/client/cifsproto.h
19
struct statfs;
fs/smb/client/smb2proto.h
17
struct statfs;
fs/squashfs/super.c
697
.statfs = squashfs_statfs,
fs/statfs.c
125
static int do_statfs_native(struct kstatfs *st, struct statfs __user *p)
fs/statfs.c
127
struct statfs buf;
fs/statfs.c
191
SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct statfs __user *, buf)
fs/statfs.c
212
SYSCALL_DEFINE2(fstatfs, unsigned int, fd, struct statfs __user *, buf)
fs/statfs.c
304
COMPAT_SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct compat_statfs __user *, buf)
fs/statfs.c
59
if (!dentry->d_sb->s_op->statfs)
fs/statfs.c
66
retval = dentry->d_sb->s_op->statfs(dentry, buf);
fs/tracefs/inode.c
442
.statfs = simple_statfs,
fs/ubifs/super.c
2010
.statfs = ubifs_statfs,
fs/udf/super.c
216
.statfs = udf_statfs,
fs/ufs/super.c
1415
.statfs = ufs_statfs,
fs/vboxsf/super.c
320
.statfs = vboxsf_statfs,
fs/xfs/xfs_super.c
1293
.statfs = xfs_fs_statfs,
fs/zonefs/super.c
1180
.statfs = zonefs_statfs,
include/linux/fs/super_types.h
99
int (*statfs)(struct dentry *dentry, struct kstatfs *kstatfs);
include/linux/nfs_xdr.h
1820
int (*statfs) (struct nfs_server *, struct nfs_fh *,
include/linux/syscalls.h
428
struct statfs __user *buf);
include/linux/syscalls.h
431
asmlinkage long sys_fstatfs(unsigned int fd, struct statfs __user *buf);
include/linux/syscalls.h
47
struct statfs;
ipc/mqueue.c
1605
.statfs = simple_statfs,
kernel/bpf/inode.c
777
.statfs = simple_statfs,
mm/shmem.c
5294
.statfs = shmem_statfs,
net/socket.c
368
.statfs = simple_statfs,
net/sunrpc/rpc_pipe.c
947
.statfs = simple_statfs,
security/apparmor/apparmorfs.c
231
.statfs = simple_statfs,
security/inode.c
38
.statfs = simple_statfs,
tools/bpf/bpftool/common.c
76
struct statfs st_fs;
tools/bpf/bpftool/common.c
78
if (statfs(path, &st_fs) < 0)
tools/bpf/bpftool/feature.c
54
struct statfs st_fs;
tools/bpf/bpftool/feature.c
56
if (statfs("/proc", &st_fs) < 0)
tools/bpf/bpftool/tracelog.c
29
struct statfs st_fs;
tools/bpf/bpftool/tracelog.c
31
if (statfs(mnt, &st_fs) < 0)
tools/lib/api/fs/fs.c
179
struct statfs st_fs;
tools/lib/api/fs/fs.c
181
if (statfs(fs, &st_fs) < 0)
tools/lib/bpf/libbpf.c
9021
struct statfs st_fs;
tools/lib/bpf/libbpf.c
9033
if (statfs(dir, &st_fs)) {
tools/perf/util/cgroup.c
91
struct statfs stbuf;
tools/perf/util/cgroup.c
96
if (statfs(mnt, &stbuf) < 0)
tools/testing/selftests/cachestat/test_cachestat.c
108
struct statfs statfs_buf;
tools/testing/selftests/filesystems/statmount/statmount_test.c
333
struct statfs sf;
tools/testing/selftests/filesystems/statmount/statmount_test.c
366
ret = statfs("/", &sf);
tools/testing/selftests/landlock/fs_test.c
181
struct statfs statfs_buf;
tools/testing/selftests/landlock/fs_test.c
186
if (statfs(".", &statfs_buf))
tools/testing/selftests/mm/gup_longterm.c
40
struct statfs fs;
tools/testing/selftests/mm/hugetlb-read-hwpoison.c
238
static int create_hugetlbfs_file(struct statfs *file_stat)
tools/testing/selftests/mm/hugetlb-read-hwpoison.c
267
struct statfs file_stat;
tools/testing/selftests/mm/hugetlb-soft-offline.c
129
static int create_hugetlbfs_file(struct statfs *file_stat)
tools/testing/selftests/mm/hugetlb-soft-offline.c
159
struct statfs file_stat;
tools/testing/selftests/mm/khugepaged.c
131
struct statfs fs;
tools/testing/selftests/mm/khugepaged.c
147
if (statfs(finfo.dir, &fs)) {
tools/testing/selftests/mm/memory-failure.c
266
struct statfs fs;
tools/testing/selftests/mount/nosymfollow-test.c
178
struct statfs buf;
tools/testing/selftests/mount/nosymfollow-test.c
181
ret = statfs(TMP, &buf);
tools/testing/selftests/proc/read.c
130
struct statfs sfs;
virt/kvm/guest_memfd.c
962
.statfs = simple_statfs,