Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/vendor/libc/src/new/netbsd/sys/statvfs.rs # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / vendor / libc / src / new / netbsd / sys / statvfs.rs` 47 lines ยท 1253 bytes Raw Blame History 1 //! Header: `sys/statvfs.h` 2 //! 3 //! 4 5 use crate::prelude::*; 6 7 const _VFS_NAMELEN: usize = 32; 8 const _VFS_MNAMELEN: usize = 1024; 9 10 s! { 11 pub struct statvfs { 12 pub f_flag: c_ulong, 13 pub f_bsize: c_ulong, 14 pub f_frsize: c_ulong, 15 pub f_iosize: c_ulong, 16 17 pub f_blocks: crate::fsblkcnt_t, 18 pub f_bfree: crate::fsblkcnt_t, 19 pub f_bavail: crate::fsblkcnt_t, 20 pub f_bresvd: crate::fsblkcnt_t, 21 22 pub f_files: crate::fsfilcnt_t, 23 pub f_ffree: crate::fsfilcnt_t, 24 pub f_favail: crate::fsfilcnt_t, 25 pub f_fresvd: crate::fsfilcnt_t, 26 27 pub f_syncreads: u64, 28 pub f_syncwrites: u64, 29 30 pub f_asyncreads: u64, 31 pub f_asyncwrites: u64, 32 33 pub f_fsidx: crate::fsid_t, 34 pub f_fsid: c_ulong, 35 pub f_namemax: c_ulong, 36 pub f_owner: crate::uid_t, 37 38 // This type is updated in a future version 39 f_spare: [u32; 4], 40 41 pub f_fstypename: [c_char; _VFS_NAMELEN], 42 pub f_mntonname: [c_char; _VFS_MNAMELEN], 43 pub f_mntfromname: [c_char; _VFS_MNAMELEN], 44 // Added in NetBSD10 45 // pub f_mntfromlabel: [c_char; _VFS_MNAMELEN], 46 } 47 }