/external/python/cpython2/Doc/library/ |
D | statvfs.rst | 1 :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.
|
D | filesys.rst | 19 statvfs.rst
|
/external/openssh/openbsd-compat/ |
D | bsd-statvfs.h | 45 struct statvfs { struct 64 int statvfs(const char *, struct statvfs *); argument 68 int fstatvfs(int, struct statvfs *);
|
D | bsd-statvfs.c | 35 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/ |
D | df.c | 103 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/ |
D | statvfs02.c | 41 static struct statvfs buf; 48 struct statvfs *buf; 100 TEST(statvfs(test->path, test->buf)); in statvfs_verify()
|
D | statvfs01.c | 43 struct statvfs buf; in main() 54 TEST(statvfs(TEST_PATH, &buf)); in main()
|
/external/openssh/regress/ |
D | setuid-allowed.c | 40 struct statvfs sb; in main() 47 if (statvfs(path, &sb) != 0) { in main()
|
/external/libchrome/base/ |
D | sys_info_posix.cc | 26 #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/ |
D | os-netbsd.h | 78 struct statvfs s; in get_fs_free_size() 80 if (statvfs(path, &s) < 0) in get_fs_free_size()
|
D | os-openbsd.h | 78 struct statvfs s; in get_fs_free_size() 80 if (statvfs(path, &s) < 0) in get_fs_free_size()
|
D | os-freebsd.h | 109 struct statvfs s; in get_fs_free_size() 111 if (statvfs(path, &s) < 0) in get_fs_free_size()
|
D | os-dragonfly.h | 208 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/ |
D | platform_EncryptedStateful.py | 152 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/ |
D | init.c | 42 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/ |
D | space.pass.cpp | 86 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/ |
D | ftruncate04.c | 219 struct statvfs fs; in setup() 229 if (statvfs(".", &fs) == -1) in setup()
|
/external/toybox/lib/ |
D | getmountlist.c | 181 statvfs(me->mnt_dir, &(mt->statvfs)); in xgetmountlist()
|
/external/clang/test/CodeGenCXX/ |
D | redefine_extname.cpp | 7 #pragma redefine_extname statvfs64 statvfs
|
/external/fio/lib/ |
D | mountcheck.c | 62 struct statvfs *st; in device_is_mounted()
|
/external/linux-kselftest/tools/testing/selftests/mount/ |
D | unprivileged-remount-test.c | 117 struct statvfs stat; in read_mnt_flags() 120 ret = statvfs(path, &stat); in read_mnt_flags()
|
/external/elfutils/tests/ |
D | lfs-symbols | 70 statvfs
|
/external/python/cpython2/Lib/test/ |
D | test_sundry.py | 68 import statvfs
|
/external/curl/lib/ |
D | ssh.c | 1637 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/ |
D | fsync02.c | 72 struct statvfs stat_buf;
|