Home
last modified time | relevance | path

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

12345

/third_party/toybox/toys/other/
Dstat.c48 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 …]
Dswitch_root.c48 struct statfs stfs; in switch_root_main()
54 if (statfs("/", &stfs) || in switch_root_main()
/third_party/musl/src/stat/
Dstatvfs.c5 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/
Dstatfs.h18 int statfs (const char *, struct statfs *);
19 int fstatfs (int, struct statfs *);
22 #define statfs64 statfs
/third_party/musl/porting/uniproton/kernel/include/sys/
Dstatfs.h18 int statfs (const char *, struct statfs *);
19 int fstatfs (int, struct statfs *);
22 #define statfs64 statfs
/third_party/musl/ndk_musl_include/sys/
Dstatfs.h18 int statfs (const char *, struct statfs *);
19 int fstatfs (int, struct statfs *);
22 #define statfs64 statfs
/third_party/musl/include/sys/
Dstatfs.h18 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/
Dstatfs.h18 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/
Dstatfs.h18 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/
Dstatfs.h17 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/
Dstatfs.c29 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()
Dfstatfs.c28 struct statfs st; in fstatfs_0100()
73 struct statfs st; in fstatfs_0200()
/third_party/NuttX/include/sys/
Dstatfs.h102 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/
Dstatfs02.c55 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()
Dstatfs01.c128 struct statfs stats;
143 TEST(statfs(fname, &stats)); in main()
Dstatfs03.c69 struct statfs buf;
86 TEST(statfs(path, &buf)); in main()
/third_party/ltp/lib/
Dtst_fs_has_free.c32 struct statfs sf; in tst_fs_has_free_()
34 if (statfs(path, &sf)) { in tst_fs_has_free_()
Dtst_fs_type.c35 struct statfs sbuf; in tst_fs_type_()
37 if (statfs(path, &sbuf)) { in tst_fs_type_()
/third_party/NuttX/include/nuttx/fs/
Dfile.h66 struct statfs; /* Forward reference */
68 struct statfs *statbuf,
/third_party/gn/src/base/files/
Dfile_util_linux.cc16 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/
Dohos_statfs.js19 const statfs = { variable
45 return statfs;
/third_party/NuttX/fs/vfs/
Dfs_statfs.c56 int statfs(const char *path, struct statfs *buf) in statfs() function
/third_party/ltp/testcases/open_posix_testsuite/include/
Dnoatime.h79 struct statfs _statfs; in mounted_noatime()
81 if (statfs(path, &_statfs) == -1) { in mounted_noatime()
/third_party/ltp/testcases/kernel/syscalls/fstatfs/
Dfstatfs02.c36 static struct statfs buf;
40 struct statfs *sbuf;
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
D11-4.c71 struct statfs buf; in main()
73 if (statfs(pts_get_tmpdir(), &buf)) { in main()

12345