/third_party/toybox/toys/other/ |
D | stat.c | 48 struct statfs sf; 137 struct statfs *statfs = (struct statfs *)&TT.stat; in print_statfs() local 139 if (type == 'a') out('u', statfs->f_bavail); in print_statfs() 140 else if (type == 'b') out('u', statfs->f_blocks); in print_statfs() 141 else if (type == 'c') out('u', statfs->f_files); in print_statfs() 142 else if (type == 'd') out('u', statfs->f_ffree); in print_statfs() 143 else if (type == 'f') out('u', statfs->f_bfree); in print_statfs() 150 out('d', statfs->f_namelen); in print_statfs() 152 } else if (type == 't') out('x', statfs->f_type); in print_statfs() 168 if (nn[i].num == statfs->f_type) s = nn[i].name; in print_statfs() [all …]
|
D | switch_root.c | 48 struct statfs stfs; in switch_root_main() 54 if (statfs("/", &stfs) || in switch_root_main()
|
/third_party/musl/src/stat/ |
D | statvfs.c | 5 static int __statfs(const char *path, struct statfs *buf) in __statfs() 7 *buf = (struct statfs){0}; in __statfs() 15 static int __fstatfs(int fd, struct statfs *buf) in __fstatfs() 17 *buf = (struct statfs){0}; in __fstatfs() 25 weak_alias(__statfs, statfs); 28 static void fixup(struct statvfs *out, const struct statfs *in) in fixup() 46 struct statfs kbuf; in statvfs() 54 struct statfs kbuf; in fstatvfs() 61 weak_alias(statfs, statfs64);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | statfs.h | 18 int statfs (const char *, struct statfs *); 19 int fstatfs (int, struct statfs *); 22 #define statfs64 statfs
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | statfs.h | 18 int statfs (const char *, struct statfs *); 19 int fstatfs (int, struct statfs *); 22 #define statfs64 statfs
|
/third_party/musl/ndk_musl_include/sys/ |
D | statfs.h | 18 int statfs (const char *, struct statfs *); 19 int fstatfs (int, struct statfs *); 22 #define statfs64 statfs
|
/third_party/musl/include/sys/ |
D | statfs.h | 18 int statfs (const char *, struct statfs *); 19 int fstatfs (int, struct statfs *); 22 #define statfs64 statfs
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | statfs.h | 18 int statfs (const char *, struct statfs *); 19 int fstatfs (int, struct statfs *); 22 #define statfs64 statfs
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
D | statfs.h | 18 int statfs (const char *, struct statfs *); 19 int fstatfs (int, struct statfs *); 22 #define statfs64 statfs
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
D | statfs.h | 17 int statfs (const char *, struct statfs *); 18 int fstatfs (int, struct statfs *); 21 #define statfs64 statfs
|
/third_party/musl/libc-test/src/functionalext/supplement/stat/ |
D | statfs.c | 29 struct statfs sb; in statfs_0100() 30 int result = statfs("/proc", &sb); in statfs_0100() 43 struct statfs sb; in statfs_0200() 45 int result = statfs("/does-not-exist", &sb); in statfs_0200()
|
D | fstatfs.c | 28 struct statfs st; in fstatfs_0100() 73 struct statfs st; in fstatfs_0200()
|
/third_party/NuttX/include/sys/ |
D | statfs.h | 102 struct statfs struct 132 int statfs(FAR const char *path, FAR struct statfs *buf); 133 int fstatfs(int fd, FAR struct statfs *buf);
|
/third_party/ltp/testcases/kernel/syscalls/statfs/ |
D | statfs02.c | 55 static struct statfs buf; 59 struct statfs *buf; 67 {TEST_FILE, (struct statfs *)-1, EFAULT}, 119 TEST(statfs(test->path, test->buf)); in statfs_verify()
|
D | statfs01.c | 128 struct statfs stats; 143 TEST(statfs(fname, &stats)); in main()
|
D | statfs03.c | 69 struct statfs buf; 86 TEST(statfs(path, &buf)); in main()
|
/third_party/ltp/lib/ |
D | tst_fs_has_free.c | 32 struct statfs sf; in tst_fs_has_free_() 34 if (statfs(path, &sf)) { in tst_fs_has_free_()
|
D | tst_fs_type.c | 35 struct statfs sbuf; in tst_fs_type_() 37 if (statfs(path, &sbuf)) { in tst_fs_type_()
|
/third_party/NuttX/include/nuttx/fs/ |
D | file.h | 66 struct statfs; /* Forward reference */ 68 struct statfs *statbuf,
|
/third_party/gn/src/base/files/ |
D | file_util_linux.cc | 16 struct statfs statfs_buf; in GetFileSystemType() 17 if (statfs(path.value().c_str(), &statfs_buf) < 0) { in GetFileSystemType()
|
/third_party/jsframework/runtime/main/extend/systemplugin/napi/ |
D | ohos_statfs.js | 19 const statfs = { variable 45 return statfs;
|
/third_party/NuttX/fs/vfs/ |
D | fs_statfs.c | 56 int statfs(const char *path, struct statfs *buf) in statfs() function
|
/third_party/ltp/testcases/open_posix_testsuite/include/ |
D | noatime.h | 79 struct statfs _statfs; in mounted_noatime() 81 if (statfs(path, &_statfs) == -1) { in mounted_noatime()
|
/third_party/ltp/testcases/kernel/syscalls/fstatfs/ |
D | fstatfs02.c | 36 static struct statfs buf; 40 struct statfs *sbuf;
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 11-4.c | 71 struct statfs buf; in main() 73 if (statfs(pts_get_tmpdir(), &buf)) { in main()
|