Home
last modified time | relevance | path

Searched refs:Statfs (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/nix/src/sys/
Dstatfs.rs16 pub struct Statfs(libc::statfs); struct
99 impl Statfs { impl
439 impl Debug for Statfs { implementation
454 pub fn statfs<P: ?Sized + NixPath>(path: &P) -> Result<Statfs> { in statfs() argument
458 Errno::result(res).map(|_| Statfs(stat.assume_init())) in statfs()
462 pub fn fstatfs<T: AsRawFd>(fd: &T) -> Result<Statfs> { in fstatfs() argument
466 .map(|_| Statfs(stat.assume_init())) in fstatfs()
513 fn assert_fs_equals(fs: Statfs, vfs: Statvfs) { in assert_fs_equals() argument
560 fn assert_fs_equals_strict(fs: Statfs, vfs: Statvfs) { in assert_fs_equals_strict() argument
/external/vm_tools/p9/src/protocol/
Dmessages.rs96 Statfs(Tstatfs), enumerator
135 Tmessage::Statfs(ref statfs) => statfs.byte_size(), in byte_size()
173 Tmessage::Statfs(_) => TSTATFS, in encode()
207 Tmessage::Statfs(ref statfs) => statfs.encode(writer), in encode()
259 TSTATFS => Ok(Tmessage::Statfs(WireFormat::decode(reader)?)), in decode()
509 Statfs(Rstatfs), enumerator
549 Rmessage::Statfs(ref statfs) => statfs.byte_size(), in byte_size()
588 Rmessage::Statfs(_) => RSTATFS, in encode()
623 Rmessage::Statfs(ref statfs) => statfs.encode(writer), in encode()
668 RSTATFS => Ok(Rmessage::Statfs(WireFormat::decode(reader)?)), in decode()
/external/vm_tools/p9/src/server/
Dmod.rs417 Tmessage::Statfs(ref statfs) => self.statfs(statfs).map(Rmessage::Statfs), in handle_message()
/external/crosvm/fuse/src/
Dsys.rs572 Statfs = 17, enumerator
Dserver.rs143 Some(Opcode::Statfs) => self.statfs(in_header, w), in handle_message()
/external/rust/crates/nix/
DCHANGELOG.md319 - Now functions `statfs()` and `fstatfs()` return result with `Statfs` wrapper
744 …` uses statfs definition from `libc::statfs` instead of own linux specific type `nix::sys::Statfs`.