Home
last modified time | relevance | path

Searched refs:statfs (Results 1 – 25 of 89) sorted by relevance

1234

/linux/fs/orangefs/
H A Dsuper.c161 new_op->upcall.req.statfs.fs_id = ORANGEFS_SB(sb)->fs_id; in orangefs_statfs()
176 (long)new_op->downcall.resp.statfs.blocks_avail, in orangefs_statfs()
177 (long)new_op->downcall.resp.statfs.blocks_total, in orangefs_statfs()
178 (long)new_op->downcall.resp.statfs.block_size, in orangefs_statfs()
179 (long)new_op->downcall.resp.statfs.files_total, in orangefs_statfs()
180 (long)new_op->downcall.resp.statfs.files_avail); in orangefs_statfs()
185 buf->f_bsize = new_op->downcall.resp.statfs.block_size; in orangefs_statfs()
188 buf->f_blocks = (sector_t) new_op->downcall.resp.statfs.blocks_total; in orangefs_statfs()
189 buf->f_bfree = (sector_t) new_op->downcall.resp.statfs.blocks_avail; in orangefs_statfs()
190 buf->f_bavail = (sector_t) new_op->downcall.resp.statfs.blocks_avail; in orangefs_statfs()
[all …]
H A Ddowncall.h114 struct orangefs_statfs_response statfs; member
H A Dupcall.h242 struct orangefs_statfs_request_s statfs; member
/linux/tools/testing/selftests/mm/
H A Dhugetlb-soft-offline.c22 #include <sys/statfs.h>
102 static int create_hugetlbfs_file(struct statfs *file_stat)
132 struct statfs file_stat; in create_hugetlbfs_file()
H A Dhugetlb-read-hwpoison.c10 #include <sys/statfs.h>
241 static int create_hugetlbfs_file(struct statfs *file_stat) in create_hugetlbfs_file()
274 struct statfs file_stat; in main()
H A Dgup_longterm.c41 struct statfs fs; in get_fs_type()
/linux/arch/um/os-Linux/
H A Dmem.c62 struct statfs st; in check_tmpfs()
65 if (statfs(dir, &st) < 0) { in check_tmpfs()
/linux/tools/testing/selftests/mount/
H A Dnosymfollow-test.c178 struct statfs buf; in test_statfs()
181 ret = statfs(TMP, &buf); in test_statfs()
/linux/tools/perf/trace/strace/groups/
H A Dfile17 statfs
H A Dstring56 statfs
/linux/arch/s390/include/uapi/asm/
H A Dstatfs.h21 struct statfs { struct
/linux/arch/loongarch/include/asm/
H A DKbuild14 generic-y += statfs.h
/linux/include/uapi/asm-generic/
H A Dstatfs.h23 struct statfs { struct
H A DKbuild31 mandatory-y += statfs.h
/linux/arch/mips/include/uapi/asm/
H A Dstatfs.h23 struct statfs { struct
/linux/tools/testing/selftests/proc/
H A Dread.c130 struct statfs sfs; in main()
/linux/fs/configfs/
H A Dmount.c36 .statfs = simple_statfs,
/linux/tools/perf/util/
H A Dcgroup.c12 #include <sys/statfs.h>
91 struct statfs stbuf; in cgroup_is_v2()
96 if (statfs(mnt, &stbuf) < 0) in cgroup_is_v2()
/linux/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test.c12 #include <sys/statfs.h>
297 struct statfs sf; in test_statmount_mnt_basic()
330 ret = statfs("/", &sf); in test_statmount_sb_basic()
332 ksft_test_result_fail("statfs root failed: %s\n", in test_statmount_sb_basic()
/linux/security/
H A Dinode.c38 .statfs = simple_statfs,
/linux/tools/testing/selftests/cachestat/
H A Dtest_cachestat.c108 struct statfs statfs_buf; in is_on_tmpfs()
/linux/fs/nfs/
H A Dnfs4super.c29 .statfs = nfs_statfs,
/linux/fs/overlayfs/
H A Dsuper.c304 .statfs = ovl_statfs,
400 struct kstatfs statfs; in ovl_check_namelen() local
401 int err = vfs_statfs(path, &statfs); in ovl_check_namelen()
406 ofs->namelen = max(ofs->namelen, statfs.f_namelen); in ovl_check_namelen()
/linux/Documentation/filesystems/
H A Dlocking.rst182 int (*statfs) (struct dentry *, struct kstatfs *);
205 statfs: maybe(read) (see below)
212 ->statfs() has s_umount (shared) when called by ustat(2) (native or
215 identify the superblock. Everything else (statfs(), fstatfs(), etc.)
216 doesn't hold it when calling ->statfs() - superblock is pinned down
/linux/fs/jffs2/
H A Dsuper.c249 .statfs = jffs2_statfs,

1234