pub type btrfs_header = Header;
Aliased Type§
#[repr(C, packed(1))]pub struct btrfs_header {
pub csum: [u8; 32],
pub fs_uuid: [u8; 16],
pub logical_address: U64<LittleEndian>,
pub flags: [u8; 7],
pub backref_rev: u8,
pub chunk_tree_uuid: [u8; 16],
pub generation: U64<LittleEndian>,
pub tree_id: U64<LittleEndian>,
pub num_items: U32<LittleEndian>,
pub level: u8,
}
Fields§
§csum: [u8; 32]
The checksum of everything after this field, including the internal/leaf node specific part.
fs_uuid: [u8; 16]
The filesystem UUID.
logical_address: U64<LittleEndian>
The logical address of this node.
flags: [u8; 7]
The first 7 bits represent flags.
backref_rev: u8
The backref revision, which maps to a BackrefRevision value.
chunk_tree_uuid: [u8; 16]
The chunk tree UUID.
generation: U64<LittleEndian>
The generation of this node.
tree_id: U64<LittleEndian>
The ID of the tree containing this node.
num_items: U32<LittleEndian>
The number of items held in this node.
level: u8
The level of this node. 0 indicates it is a leaf node.