Home
last modified time | relevance | path

Searched refs:statvfs (Results 1 – 25 of 77) sorted by relevance

1234

/external/python/cpython2/Doc/library/
Dstatvfs.rst1 :mod:`statvfs` --- Constants used with :func:`os.statvfs`
4 .. module:: statvfs
5 :synopsis: Constants for interpreting the result of os.statvfs().
9 The :mod:`statvfs` module has been removed in Python 3.
15 The :mod:`statvfs` module defines constants so interpreting the result if
16 :func:`os.statvfs`, which returns a tuple, can be made without remembering
18 the entry in the tuple returned by :func:`os.statvfs` that contains the
64 Flags. System dependent: see :c:func:`statvfs` man page.
Dfilesys.rst19 statvfs.rst
/external/openssh/openbsd-compat/
Dbsd-statvfs.h45 struct statvfs { struct
64 int statvfs(const char *, struct statvfs *); argument
68 int fstatvfs(int, struct statvfs *);
Dbsd-statvfs.c35 copy_statfs_to_statvfs(struct statvfs *to, struct statfs *from) in copy_statfs_to_statvfs()
55 int statvfs(const char *path, struct statvfs *buf) in statvfs() function
73 int fstatvfs(int fd, struct statvfs *buf) in fstatvfs()
/external/toybox/toys/posix/
Ddf.c103 if (!(toys.optflags & FLAG_a) && !mt->statvfs.f_blocks) return; in show_mt()
107 block = mt->statvfs.f_bsize ? mt->statvfs.f_bsize : 1; in show_mt()
108 size = (block * mt->statvfs.f_blocks) / TT.units; in show_mt()
109 used = (block * (mt->statvfs.f_blocks-mt->statvfs.f_bfree)) / TT.units; in show_mt()
110 avail = (block*(getuid()?mt->statvfs.f_bavail:mt->statvfs.f_bfree))/TT.units; in show_mt()
/external/ltp/testcases/kernel/syscalls/statvfs/
Dstatvfs02.c41 static struct statvfs buf;
48 struct statvfs *buf;
100 TEST(statvfs(test->path, test->buf)); in statvfs_verify()
Dstatvfs01.c43 struct statvfs buf; in main()
54 TEST(statvfs(TEST_PATH, &buf)); in main()
/external/openssh/regress/
Dsetuid-allowed.c40 struct statvfs sb; in main()
47 if (statvfs(path, &sb) != 0) { in main()
/external/libchrome/base/
Dsys_info_posix.cc26 #define statvfs statfs // Android uses a statvfs-like statfs struct and call. macro
79 struct statvfs stats; in GetDiskSpaceInfo()
80 if (HANDLE_EINTR(statvfs(path.value().c_str(), &stats)) != 0) in GetDiskSpaceInfo()
/external/fio/os/
Dos-netbsd.h78 struct statvfs s; in get_fs_free_size()
80 if (statvfs(path, &s) < 0) in get_fs_free_size()
Dos-openbsd.h78 struct statvfs s; in get_fs_free_size()
80 if (statvfs(path, &s) < 0) in get_fs_free_size()
Dos-freebsd.h109 struct statvfs s; in get_fs_free_size()
111 if (statvfs(path, &s) < 0) in get_fs_free_size()
Dos-dragonfly.h208 struct statvfs s; in get_fs_free_size()
210 if (statvfs(path, &s) < 0) in get_fs_free_size()
/external/autotest/client/site_tests/platform_EncryptedStateful/
Dplatform_EncryptedStateful.py152 top = os.statvfs(self.stateful)
166 info = os.statvfs(self.encrypted)
209 orig = os.statvfs(self.stateful)
216 filled = os.statvfs(self.stateful)
222 done = os.statvfs(self.stateful)
/external/selinux/libselinux/src/
Dinit.c42 struct statvfs vfsbuf; in verify_selinuxmnt()
43 rc = statvfs(mnt, &vfsbuf); in verify_selinuxmnt()
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.space/
Dspace.pass.cpp86 struct statvfs expect; in TEST_CASE()
87 TEST_REQUIRE(::statvfs(StaticEnv::Dir.c_str(), &expect) != -1); in TEST_CASE()
/external/ltp/testcases/kernel/syscalls/ftruncate/
Dftruncate04.c219 struct statvfs fs; in setup()
229 if (statvfs(".", &fs) == -1) in setup()
/external/toybox/lib/
Dgetmountlist.c181 statvfs(me->mnt_dir, &(mt->statvfs)); in xgetmountlist()
/external/clang/test/CodeGenCXX/
Dredefine_extname.cpp7 #pragma redefine_extname statvfs64 statvfs
/external/fio/lib/
Dmountcheck.c62 struct statvfs *st; in device_is_mounted()
/external/linux-kselftest/tools/testing/selftests/mount/
Dunprivileged-remount-test.c117 struct statvfs stat; in read_mnt_flags()
120 ret = statvfs(path, &stat); in read_mnt_flags()
/external/elfutils/tests/
Dlfs-symbols70 statvfs
/external/python/cpython2/Lib/test/
Dtest_sundry.py68 import statvfs
/external/curl/lib/
Dssh.c1637 LIBSSH2_SFTP_STATVFS statvfs; in ssh_statemach_act() local
1640 &statvfs); in ssh_statemach_act()
1662 statvfs.f_bsize, statvfs.f_frsize, in ssh_statemach_act()
1663 statvfs.f_blocks, statvfs.f_bfree, in ssh_statemach_act()
1664 statvfs.f_bavail, statvfs.f_files, in ssh_statemach_act()
1665 statvfs.f_ffree, statvfs.f_favail, in ssh_statemach_act()
1666 statvfs.f_fsid, statvfs.f_flag, in ssh_statemach_act()
1667 statvfs.f_namemax); in ssh_statemach_act()
/external/ltp/testcases/kernel/syscalls/fsync/
Dfsync02.c72 struct statvfs stat_buf;

1234