/bionic/tests/headers/posix/ |
sys_statvfs_h.c | 29 #include <sys/statvfs.h> 34 TYPE(struct statvfs); 35 STRUCT_MEMBER(struct statvfs, unsigned long, f_bsize); 36 STRUCT_MEMBER(struct statvfs, unsigned long, f_frsize); 37 STRUCT_MEMBER(struct statvfs, fsblkcnt_t, f_blocks); 38 STRUCT_MEMBER(struct statvfs, fsblkcnt_t, f_bfree); 39 STRUCT_MEMBER(struct statvfs, fsblkcnt_t, f_bavail); 40 STRUCT_MEMBER(struct statvfs, fsfilcnt_t, f_files); 41 STRUCT_MEMBER(struct statvfs, fsfilcnt_t, f_ffree); 42 STRUCT_MEMBER(struct statvfs, fsfilcnt_t, f_favail) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/ |
statvfs.h | 26 #include <bits/statvfs.h> 52 extern int statvfs (__const char *__restrict __file, 53 struct statvfs *__restrict __buf) 57 extern int __REDIRECT_NTH (statvfs, 59 struct statvfs *__restrict __buf), statvfs64) 62 # define statvfs statvfs64 74 extern int fstatvfs (int __fildes, struct statvfs *__buf) 78 extern int __REDIRECT_NTH (fstatvfs, (int __fildes, struct statvfs *__buf), 91 #endif /* sys/statvfs.h */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/ |
statvfs.h | 26 #include <bits/statvfs.h> 52 extern int statvfs (__const char *__restrict __file, 53 struct statvfs *__restrict __buf) 57 extern int __REDIRECT_NTH (statvfs, 59 struct statvfs *__restrict __buf), statvfs64) 62 # define statvfs statvfs64 74 extern int fstatvfs (int __fildes, struct statvfs *__buf) 78 extern int __REDIRECT_NTH (fstatvfs, (int __fildes, struct statvfs *__buf), 91 #endif /* sys/statvfs.h */
|
/bionic/tests/ |
sys_statvfs_test.cpp | 19 #include <sys/statvfs.h> 40 TEST(sys_statvfs, statvfs) { 41 struct statvfs sb; 42 ASSERT_EQ(0, statvfs("/proc", &sb)); 53 struct statvfs sb;
|
/bionic/libc/bionic/ |
statvfs.cpp | 17 #include <sys/statvfs.h> 37 static void __statfs_to_statvfs(const struct statfs& in, struct statvfs* out) { 71 int statvfs(const char* path, struct statvfs* result) { function 80 __strong_alias(statvfs64, statvfs); 82 int fstatvfs(int fd, struct statvfs* result) {
|
/bionic/libc/include/sys/ |
statvfs.h | 46 struct statvfs { __STATVFS64_BODY }; struct 62 int statvfs(const char* __path, struct statvfs* __buf) __INTRODUCED_IN(19); 64 int fstatvfs(int __fd, struct statvfs* __buf) __INTRODUCED_IN(19);
|
/external/clang/test/CodeGenCXX/ |
redefine_extname.cpp | 7 #pragma redefine_extname statvfs64 statvfs 16 // CHECK: call i32 @statvfs(%struct.statvfs64* %st)
|
/external/ltp/testcases/kernel/syscalls/statvfs/ |
statvfs02.c | 30 #include <sys/statvfs.h> 41 static struct statvfs buf; 48 struct statvfs *buf; 100 TEST(statvfs(test->path, test->buf)); 103 tst_resm(TFAIL, "statvfs() succeeded unexpectedly"); 108 tst_resm(TPASS | TTERRNO, "statvfs() failed as expected"); 111 "statvfs() failed unexpectedly; expected: %d - %s",
|
statvfs01.c | 20 * This is a Phase I test for the statvfs(2) system call. 28 #include <sys/statvfs.h> 43 struct statvfs buf; 54 TEST(statvfs(TEST_PATH, &buf)); 57 tst_resm(TFAIL | TERRNO, "statvfs(%s, ...) failed", 60 tst_resm(TPASS, "statvfs(%s, ...) passed", TEST_PATH);
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
UnixFileStoreAttributes.java | 39 UnixNativeDispatcher.statvfs(path, attrs);
|
/external/toybox/toys/posix/ |
df.c | 117 if (!(toys.optflags & FLAG_a) && !mt->statvfs.f_blocks) return; 122 size = mt->statvfs.f_files; 123 used = mt->statvfs.f_files - mt->statvfs.f_ffree; 124 avail = getuid() ? mt->statvfs.f_favail : mt->statvfs.f_ffree; 126 block = mt->statvfs.f_bsize ? mt->statvfs.f_bsize : 1; 127 size = (block * mt->statvfs.f_blocks) / TT.units; 128 used = (block * (mt->statvfs.f_blocks-mt->statvfs.f_bfree)) / TT.units [all...] |
/external/fio/os/ |
os-netbsd.h | 9 #include <sys/statvfs.h> 78 struct statvfs s; 80 if (statvfs(path, &s) < 0)
|
os-openbsd.h | 8 #include <sys/statvfs.h> 78 struct statvfs s; 80 if (statvfs(path, &s) < 0)
|
os-freebsd.h | 13 #include <sys/statvfs.h> 109 struct statvfs s; 111 if (statvfs(path, &s) < 0)
|
os-dragonfly.h | 10 #include <sys/statvfs.h> 208 struct statvfs s; 210 if (statvfs(path, &s) < 0)
|
/external/ltp/testcases/kernel/fs/fsstress/ |
global.h | 48 #include <sys/statvfs.h>
|
/libcore/luni/src/main/native/ |
Portability.h | 22 #include <sys/statvfs.h>
|
/external/fio/lib/ |
mountcheck.c | 58 #include <sys/statvfs.h> 62 struct statvfs *st;
|
/external/selinux/libselinux/src/ |
init.c | 10 #include <sys/statvfs.h> 42 struct statvfs vfsbuf; 43 rc = statvfs(mnt, &vfsbuf);
|
/external/libchrome/base/ |
sys_info_posix.cc | 26 #define statvfs statfs // Android uses a statvfs-like statfs struct and call. macro 28 #include <sys/statvfs.h> 104 struct statvfs stats; 105 if (HANDLE_EINTR(statvfs(path.value().c_str(), &stats)) != 0)
|
/frameworks/base/core/java/android/os/ |
StatFs.java | 25 * wrapper for Unix statvfs(). 49 return Os.statvfs(path); 76 * the Unix {@code statvfs.f_frsize} field. 92 * Unix {@code statvfs.f_blocks} field. 109 * corresponds to the Unix {@code statvfs.f_bfree} field. Most applications 135 * applications. This corresponds to the Unix {@code statvfs.f_bavail} field.
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.space/ |
space.pass.cpp | 18 #include <sys/statvfs.h> 86 struct statvfs expect; 87 TEST_REQUIRE(::statvfs(StaticEnv::Dir.c_str(), &expect) != -1);
|
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
ftruncate04.c | 46 #include <sys/statvfs.h> 219 struct statvfs fs; 229 if (statvfs(".", &fs) == -1) 230 tst_brkm(TFAIL | TERRNO, tst_rmdir, "statvfs failed");
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/fs.op.funcs/fs.op.space/ |
space.pass.cpp | 18 #include <sys/statvfs.h> 86 struct statvfs expect; 87 TEST_REQUIRE(::statvfs(StaticEnv::Dir.c_str(), &expect) != -1);
|
/external/ltp/testcases/kernel/syscalls/fsync/ |
fsync02.c | 51 #include <sys/statvfs.h> 73 struct statvfs stat_buf;
|