Searched refs:statfs (Results 1 - 14 of 14) sorted by relevance

/bionic/libc/kernel/uapi/asm-arm/asm/
H A Dstatfs.h22 #include <asm-generic/statfs.h>
/bionic/libc/kernel/uapi/asm-arm64/asm/
H A Dstatfs.h22 #include <asm-generic/statfs.h>
/bionic/libc/kernel/uapi/asm-x86/asm/
H A Dstatfs.h22 #include <asm-generic/statfs.h>
/bionic/libc/arch-arm64/syscalls/
H A Dstatfs64.S16 .globl statfs
17 .equ statfs, statfs64
/bionic/libc/arch-x86_64/syscalls/
H A Dstatfs64.S17 .globl statfs
18 .equ statfs, statfs64
/bionic/libc/bionic/
H A Dstatvfs.cpp19 #include <sys/statfs.h>
25 # define __statfs64(path,size,buf) statfs(path,buf)
27 extern "C" int __fstatfs64(int, size_t, struct statfs*);
28 extern "C" int __statfs64(const char*, size_t, struct statfs*);
33 static void __statfs_to_statvfs(const struct statfs& in, struct statvfs* out) {
48 struct statfs tmp;
59 struct statfs tmp;
H A Dlegacy_32_bit_support.cpp43 extern "C" int __fstatfs64(int, size_t, struct statfs*);
45 extern "C" int __statfs64(const char*, size_t, struct statfs*);
59 int fstatfs(int fd, struct statfs* stat) {
64 // For statfs we need to add the extra argument giving the kernel the size of the buffer.
65 int statfs(const char* path, struct statfs* stat) { function
68 __strong_alias(statfs64, statfs);
H A Dpathconf.c53 __filesizebits( struct statfs* s )
82 __link_max( struct statfs* s )
107 __2_symlinks( struct statfs* s )
127 __name_max( struct statfs* s )
135 struct statfs buf;
136 int ret = statfs( path, &buf );
203 struct statfs buf;
H A Dgetentropy_linux.c421 struct statfs stfs;
484 HX(statfs(".", &stfs) == -1, stfs);
488 HX(statfs("/", &stfs) == -1, stfs);
/bionic/libc/arch-mips64/syscalls/
H A Dstatfs64.S27 .globl statfs
28 .equ statfs, statfs64
/bionic/tests/
H A Dsys_vfs_test.cpp36 TEST(sys_vfs, statfs) {
37 struct statfs sb;
38 ASSERT_EQ(0, statfs("/proc", &sb));
49 struct statfs sb;
/bionic/libc/include/sys/
H A Dvfs.h107 struct statfs { __STATFS64_BODY }; struct
162 extern int statfs(const char*, struct statfs*) __nonnull((1, 2));
164 extern int fstatfs(int, struct statfs*) __nonnull((2));
/bionic/libc/kernel/uapi/asm-generic/
H A Dstatfs.h31 struct statfs { struct
/bionic/libc/kernel/uapi/asm-mips/asm/
H A Dstatfs.h24 struct statfs { struct

Completed in 434 milliseconds