Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dsys_statfs.cpp23 extern "C" int __fstatfs(int, struct statfs*);
24 extern "C" int __statfs(const char*, struct statfs*);
28 extern "C" int __fstatfs64(int, size_t, struct statfs*);
29 extern "C" int __statfs64(const char*, size_t, struct statfs*);
37 int fstatfs(int fd, struct statfs* result) { in fstatfs()
47 int statfs(const char* path, struct statfs* result) { in statfs() function
55 __strong_alias(statfs64, statfs);
Dpathconf.cpp35 static long __filesizebits(const struct statfs& s) { in __filesizebits()
46 static long __link_max(const struct statfs& s) { in __link_max()
64 static long __2_symlinks(const struct statfs& s) { in __2_symlinks()
77 static long __pathconf(const struct statfs& s, int name) { in __pathconf()
143 struct statfs sb; in pathconf()
144 if (statfs(path, &sb) == -1) { in pathconf()
151 struct statfs sb; in fpathconf()
/bionic/tests/
Dsys_vfs_test.cpp41 TEST(sys_vfs, statfs) { in TEST() argument
42 struct statfs sb; in TEST()
43 ASSERT_EQ(0, statfs("/proc", &sb)); in TEST()
48 struct statfs sb; in TEST()
50 ASSERT_EQ(-1, statfs("/does-not-exist", &sb)); in TEST()
68 struct statfs sb; in TEST()
76 struct statfs sb; in TEST()
91 struct statfs sb; in TEST()
Dfcntl_test.cpp306 struct statfs sfs; in TEST()
Ddlext_test.cpp974 struct statfs st; in TEST()
/bionic/libc/include/sys/
Dvfs.h75 struct statfs { __STATFS64_BODY }; struct
107 int statfs(const char* __path, struct statfs* __buf);
109 int fstatfs(int __fd, struct statfs* __buf);
/bionic/libc/include/bits/
Dsys_statvfs_inlines.h41 static __inline void __bionic_statfs_to_statvfs(const struct statfs* __src, in __bionic_statfs_to_statvfs()
59 struct statfs __tmp; in statvfs()
60 int __rc = statfs(__path, &__tmp); in statvfs()
68 struct statfs __tmp; in fstatvfs()
/bionic/libc/kernel/uapi/asm-generic/
Dstatfs.h29 struct statfs { struct
/bionic/libc/
DSYSCALLS.TXT190 int __fstatfs64:fstatfs64(int, size_t, struct statfs*) lp32
191 int __fstatfs:fstatfs(int, struct statfs*) lp64
192 int __statfs64:statfs64(const char*, size_t, struct statfs*) lp32
193 int __statfs:statfs(const char*, struct statfs*) lp64
Dlibc.map.txt988 statfs;
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_076.S324 CALL(statfs)
Dliblinker_reloc_bench_012.S2127 CALL(statfs)
/bionic/tools/versioner/platforms/
Dlibc.map.txt988 statfs;