Home
last modified time | relevance | path

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

1234567

/external/toybox/toys/other/
Dstat.c47 struct statfs sf;
131 struct statfs *statfs = (struct statfs *)&TT.stat; in print_statfs() local
133 if (type == 'a') out('u', statfs->f_bavail); in print_statfs()
134 else if (type == 'b') out('u', statfs->f_blocks); in print_statfs()
135 else if (type == 'c') out('u', statfs->f_files); in print_statfs()
136 else if (type == 'd') out('u', statfs->f_ffree); in print_statfs()
137 else if (type == 'f') out('u', statfs->f_bfree); in print_statfs()
138 else if (type == 'l') out('d', statfs->f_namelen); in print_statfs()
139 else if (type == 't') out('x', statfs->f_type); in print_statfs()
155 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()
/external/openssh/openbsd-compat/
Dbsd-statvfs.c35 copy_statfs_to_statvfs(struct statvfs *to, struct statfs *from) in copy_statfs_to_statvfs()
58 struct statfs fs; in statvfs()
61 if (statfs(path, &fs) == -1) in statvfs()
76 struct statfs fs; in fstatvfs()
/external/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()
/external/libpcap/lbl/
Dos-sunos4.h78 struct statfs;
80 int fstatfs(int, struct statfs *);
165 int statfs(char *, struct statfs *);
/external/tcpdump/lbl/
Dos-sunos4.h79 struct statfs;
81 int fstatfs(int, struct statfs *);
167 int statfs(char *, struct statfs *);
/external/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_()
/external/libchrome/base/files/
Dfile_util_linux.cc17 struct statfs statfs_buf; in GetFileSystemType()
18 if (statfs(path.value().c_str(), &statfs_buf) < 0) { in GetFileSystemType()
/external/libchrome/base/
Dsys_info_posix.cc29 #define statvfs statfs // Android uses a statvfs-like statfs struct and call.
88 struct statfs stats; in IsStatsZeroIfUnlimited()
90 if (HANDLE_EINTR(statfs(path.value().c_str(), &stats)) != 0) in IsStatsZeroIfUnlimited()
/external/ltp/testcases/open_posix_testsuite/include/
Dnoatime.h79 struct statfs _statfs; in mounted_noatime()
81 if (statfs(path, &_statfs) == -1) { in mounted_noatime()
/external/ltp/testcases/kernel/syscalls/fstatfs/
Dfstatfs02.c36 static struct statfs buf;
40 struct statfs *sbuf;
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
D11-4.c59 struct statfs buf; in main()
66 if (statfs("/tmp", &buf)) { in main()
/external/selinux/libselinux/src/
Dinit.c34 struct statfs sfbuf; in verify_selinuxmnt()
38 rc = statfs(mnt, &sfbuf); in verify_selinuxmnt()
/external/bcc/tools/
Dttysnoop_example.txt57 Oct 16 01:32:38 bgregg-xenial-bpf-i-xxx snmpd[2708]: Cannot statfs /sys/kernel/debug/tracing: Permi…
58 Oct 16 01:33:32 bgregg-xenial-bpf-i-xxx snmpd[2708]: Cannot statfs /sys/kernel/debug/tracing: Permi…
59 Oct 16 01:34:26 bgregg-xenial-bpf-i-xxx snmpd[2708]: Cannot statfs /sys/kernel/debug/tracing: Permi…
/external/libchrome/libchrome_tools/patch/
Dstatfs_f_type.patch18 // Missing values are copied from the statfs man page.
30 if (HANDLE_EINTR(statfs(path.value().c_str(), &stats)) != 0)
/external/fsck_msdos/
Dfsutil.c160 struct statfs *
166 struct statfs *mntbuf, *statfsp; in getmntpt()
/external/strace/tests-m32/
Dtrace_statfs_like.gen.test4 test_trace_expr '' -e%%statfs
Dtrace_statfs.gen.test4 test_trace_expr '' -e%statfs
/external/strace/tests-mx32/
Dtrace_statfs.gen.test4 test_trace_expr '' -e%statfs
Dtrace_statfs_like.gen.test4 test_trace_expr '' -e%%statfs
/external/strace/tests/
Dtrace_statfs.gen.test4 test_trace_expr '' -e%statfs
Dtrace_statfs_like.gen.test4 test_trace_expr '' -e%%statfs

1234567