Home
last modified time | relevance | path

Searched refs:fstatvfs (Results 1 - 25 of 27) sorted by relevance

12

/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dstatvfs.h30 int fstatvfs (int, struct statvfs *);
47 #define fstatvfs64 fstatvfs
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
H A Dstatvfs.h27 int fstatvfs (int, struct statvfs *);
44 #define fstatvfs64 fstatvfs
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dstatvfs.h30 int fstatvfs (int, struct statvfs *);
47 #define fstatvfs64 fstatvfs
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dstatvfs.h30 int fstatvfs (int, struct statvfs *);
47 #define fstatvfs64 fstatvfs
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dstatvfs.h30 int fstatvfs (int, struct statvfs *);
47 #define fstatvfs64 fstatvfs
/third_party/musl/include/sys/
H A Dstatvfs.h31 int fstatvfs (int, struct statvfs *);
48 #define fstatvfs64 fstatvfs
/third_party/musl/libc-test/src/functionalext/supplement/stat/
H A Dfstatvfs.c33 int result = fstatvfs(fd, &sts); in fstatvfs_0100()
35 t_error("%s fstatvfs failed\n", __func__); in fstatvfs_0100()
65 int result = fstatvfs(-1, &sts); in fstatvfs_0200()
67 t_error("%s fstatvfs should be failed\n", __func__); in fstatvfs_0200()
/third_party/rust/crates/nix/src/sys/
H A Dstatvfs.rs3 //! See [the man pages](https://pubs.opengroup.org/onlinepubs/9699919799/functions/fstatvfs.html)
149 pub fn fstatvfs<T: AsRawFd>(fd: &T) -> Result<Statvfs> { in fstatvfs() functions
153 Errno::result(libc::fstatvfs(fd.as_raw_fd(), stat.as_mut_ptr())) in fstatvfs()
171 fstatvfs(&root).unwrap(); in fstatvfs_call()
/third_party/musl/src/stat/
H A Dstatvfs.c53 int fstatvfs(int fd, struct statvfs *buf) in fstatvfs() function
63 weak_alias(fstatvfs, fstatvfs64);
/third_party/musl/libc-test/src/api/
H A Dsys_statvfs.c25 {int(*p)(int,struct statvfs*) = fstatvfs;} in f()
/third_party/rust/crates/rustix/src/fs/
H A Dfd.rs164 /// Compared to [`fstatvfs`], this function often provides more information,
184 /// `fstatvfs(fd)`—Queries filesystem statistics for an open file or
196 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/fstatvfs.html
197 /// [Linux]: https://man7.org/linux/man-pages/man2/fstatvfs.2.html
206 pub fn fstatvfs<Fd: AsFd>(fd: Fd) -> io::Result<StatVfs> { in fstatvfs() functions
207 backend::fs::syscalls::fstatvfs(fd.as_fd()) in fstatvfs()
H A Dmod.rs182 pub use fd::{fstatvfs, StatVfs, StatVfsMountFlags};
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
H A Ddir.rs4 fcntl_getfl, fstat, fstatfs, fstatvfs, openat, FileType, Mode, OFlags, Stat, StatFs, StatVfs,
171 /// `fstatvfs(self)`
174 fstatvfs(&self.fd) in statvfs()
/third_party/ltp/testcases/kernel/syscalls/fsync/
H A Dfsync02.c45 if (fstatvfs(fd, &stat_buf) != 0) { in setup()
46 tst_brk(TBROK, "fstatvfs failed"); in setup()
/third_party/rust/crates/rustix/tests/fs/
H A Dstatfs.rs87 let statvfs = rustix::fs::fstatvfs(&file).unwrap(); in test_fstatvfs()
H A Dfile.rs90 let statvfs = rustix::fs::fstatvfs(&file).unwrap(); in test_file()
/third_party/rust/crates/rustix/src/backend/libc/fs/
H A Ddir.rs26 use crate::fs::{fstatvfs, StatVfs};
154 /// `fstatvfs(self)`
164 fstatvfs(unsafe { BorrowedFd::borrow_raw(c::dirfd(self.0.as_ptr())) }) in statvfs()
H A Dsyscalls.rs1021 pub(crate) fn fstatvfs(fd: BorrowedFd<'_>) -> io::Result<StatVfs> {
/third_party/rust/crates/rustix/src/backend/libc/
H A Doffset.rs394 pub(super) use {c::fstatvfs as libc_fstatvfs, c::statvfs as libc_statvfs};
/third_party/libfuse/example/
H A Dpassthrough_hp.cc969 auto res = fstatvfs(get_fs_fd(ino), &stbuf); in sfs_statfs()
H A Dpassthrough_ll.c909 res = fstatvfs(lo_fd(req, ino), &stbuf); in lo_statfs()
/third_party/rust/crates/libc/src/unix/
H A Dmod.rs1344 pub fn fstatvfs(fd: ::c_int, buf: *mut statvfs) -> ::c_int; in fstatvfs() functions
/third_party/ntfs-3g/ntfsprogs/
H A Dntfsclone.c2563 if (fstatvfs(fd_out, &stvfs) == -1) {
/third_party/python/Lib/test/
H A Dtest_posix.py160 @unittest.skipUnless(hasattr(posix, 'fstatvfs'),
161 'test needs posix.fstatvfs()')
165 self.assertTrue(posix.fstatvfs(fp.fileno()))
/third_party/python/Modules/
H A Dposixmodule.c2237 "statvfs_result: Result from statvfs or fstatvfs.\n\n\
11469 os.fstatvfs
11473 Perform an fstatvfs system call on the given fd.
11488 result = fstatvfs(fd, &st); in os_fstatvfs_impl()
11524 result = fstatvfs(path->fd, &st); in os_statvfs_impl()

Completed in 35 milliseconds

12