Searched refs:statfs (Results 1 – 25 of 152) sorted by relevance
1234567
/external/toybox/toys/other/ |
D | stat.c | 47 struct statfs sf; 135 struct statfs *statfs = (struct statfs *)&TT.stat; in print_statfs() local 137 if (type == 'a') out('u', statfs->f_bavail); in print_statfs() 138 else if (type == 'b') out('u', statfs->f_blocks); in print_statfs() 139 else if (type == 'c') out('u', statfs->f_files); in print_statfs() 140 else if (type == 'd') out('u', statfs->f_ffree); in print_statfs() 141 else if (type == 'f') out('u', statfs->f_bfree); in print_statfs() 142 else if (type == 'l') out('d', statfs->f_namelen); in print_statfs() 143 else if (type == 't') out('x', statfs->f_type); in print_statfs() 159 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()
|
/external/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()
|
/external/tcpdump/lbl/ |
D | os-sunos4.h | 79 struct statfs; 81 int fstatfs(int, struct statfs *); 167 int statfs(char *, struct statfs *);
|
/external/libpcap/lbl/ |
D | os-sunos4.h | 78 struct statfs; 80 int fstatfs(int, struct statfs *); 165 int statfs(char *, struct statfs *);
|
/external/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_()
|
/external/syslinux/libinstaller/ |
D | linuxioctl.h | 14 #define statfs _kernel_statfs /* HACK to deal with broken 2.4 distros */ macro 52 #undef statfs
|
/external/libchrome/base/files/ |
D | file_util_linux.cc | 17 struct statfs statfs_buf; in GetFileSystemType() 18 if (statfs(path.value().c_str(), &statfs_buf) < 0) { in GetFileSystemType()
|
/external/libchrome/base/ |
D | sys_info_posix.cc | 26 #define statvfs statfs // Android uses a statvfs-like statfs struct and call. 83 struct statfs stats; in IsStatsZeroIfUnlimited() 85 if (HANDLE_EINTR(statfs(path.value().c_str(), &stats)) != 0) in IsStatsZeroIfUnlimited()
|
/external/ltp/testcases/open_posix_testsuite/include/ |
D | noatime.h | 78 struct statfs _statfs; in mounted_noatime() 80 if (statfs(path, &_statfs) == -1) { in mounted_noatime()
|
/external/ltp/testcases/kernel/syscalls/fstatfs/ |
D | fstatfs02.c | 36 static struct statfs buf; 40 struct statfs *sbuf;
|
/external/selinux/libselinux/src/ |
D | init.c | 34 struct statfs sfbuf; in verify_selinuxmnt() 38 rc = statfs(mnt, &sfbuf); in verify_selinuxmnt()
|
/external/strace/tests/ |
D | trace_statfs_like.gen.test | 4 test_trace_expr '' -e%%statfs
|
D | trace_statfs.gen.test | 4 test_trace_expr '' -e%statfs
|
D | regex.in | 1 statfs -a17
|
/external/strace/tests-mx32/ |
D | trace_statfs_like.gen.test | 4 test_trace_expr '' -e%%statfs
|
D | trace_statfs.gen.test | 4 test_trace_expr '' -e%statfs
|
D | regex.in | 1 statfs -a17
|
/external/strace/tests-m32/ |
D | trace_statfs_like.gen.test | 4 test_trace_expr '' -e%%statfs
|
D | trace_statfs.gen.test | 4 test_trace_expr '' -e%statfs
|
D | trace_statfs.in | 1 statfs -a17
|
D | regex.in | 1 statfs -a17
|
1234567