#[repr(C, packed(1))]pub struct btrfs_super_block {Show 37 fields
pub csum: [__u8; 32],
pub fsid: [__u8; 16],
pub bytenr: __le64,
pub flags: __le64,
pub magic: __le64,
pub generation: __le64,
pub root: __le64,
pub chunk_root: __le64,
pub log_root: __le64,
pub __unused_log_root_transid: __le64,
pub total_bytes: __le64,
pub bytes_used: __le64,
pub root_dir_objectid: __le64,
pub num_devices: __le64,
pub sectorsize: __le32,
pub nodesize: __le32,
pub __unused_leafsize: __le32,
pub stripesize: __le32,
pub sys_chunk_array_size: __le32,
pub chunk_root_generation: __le64,
pub compat_flags: __le64,
pub compat_ro_flags: __le64,
pub incompat_flags: __le64,
pub csum_type: __le16,
pub root_level: __u8,
pub chunk_root_level: __u8,
pub log_root_level: __u8,
pub dev_item: btrfs_dev_item,
pub label: [c_char; 256],
pub cache_generation: __le64,
pub uuid_tree_generation: __le64,
pub metadata_uuid: [__u8; 16],
pub nr_global_roots: __u64,
pub reserved: [__le64; 27],
pub sys_chunk_array: [__u8; 2048],
pub super_roots: [btrfs_root_backup; 4],
pub padding: [__u8; 565],
}Fields§
§csum: [__u8; 32]§fsid: [__u8; 16]§bytenr: __le64§flags: __le64§magic: __le64§generation: __le64§root: __le64§chunk_root: __le64§log_root: __le64§__unused_log_root_transid: __le64§total_bytes: __le64§bytes_used: __le64§root_dir_objectid: __le64§num_devices: __le64§sectorsize: __le32§nodesize: __le32§__unused_leafsize: __le32§stripesize: __le32§sys_chunk_array_size: __le32§chunk_root_generation: __le64§compat_flags: __le64§compat_ro_flags: __le64§incompat_flags: __le64§csum_type: __le16§root_level: __u8§chunk_root_level: __u8§log_root_level: __u8§dev_item: btrfs_dev_item§label: [c_char; 256]§cache_generation: __le64§uuid_tree_generation: __le64§metadata_uuid: [__u8; 16]§nr_global_roots: __u64§reserved: [__le64; 27]§sys_chunk_array: [__u8; 2048]§super_roots: [btrfs_root_backup; 4]§padding: [__u8; 565]Trait Implementations§
Source§impl Clone for btrfs_super_block
impl Clone for btrfs_super_block
Source§fn clone(&self) -> btrfs_super_block
fn clone(&self) -> btrfs_super_block
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for btrfs_super_block
impl Debug for btrfs_super_block
impl Copy for btrfs_super_block
Auto Trait Implementations§
impl Freeze for btrfs_super_block
impl RefUnwindSafe for btrfs_super_block
impl Send for btrfs_super_block
impl Sync for btrfs_super_block
impl Unpin for btrfs_super_block
impl UnwindSafe for btrfs_super_block
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more