Crate btrfs_diskformat
source ·Re-exports
pub use crate::aliases::*;
Modules
This module contains aliases from the crate’s types to the wiki-style snake case names for
convenience.
Structs
The type of storage a block group allows.
Defines the location, properties, and usage of a block group.
This structure contains the mapping from a virtualized usable byte range within the backing
storage to a set of one or more stripes on individual backing devices. In addition to the
mapping, hints on optimal I/O parameters for this chunk. It is associated with
CHUNK_ITEM
.Maps physical extents on an individual backing device to a chunk. This extent
may be the only one for a particular chunk or one of several.
Represents a complete block device.
Contains an indirect back reference for a file data extent.
This acts as a header for different types of inline extent back references inside extent or
metadata items.
The data stored at the start of every node.
Contains traditional inode data and attributes.
For leaf nodes, the node header is followed by a dynamic number of items.
A key used to describe and locate any item in any tree.
For internal (non-leaf) nodes, the node header is followed by a dynamic amount of key
pointers.
The replication policy a block group implements.
Defines the location and parameters of the root of a b-tree.
References a subvolume filesystem tree root. This is used for both forward and
backward root references.
This structure contains the reference count for a shared back reference for a file data extent.
The layout of the superblock. A valid superblock must exist for most btrfs implementations to
mount the filesystem.
The layout of timestamps on disk.
Enums
Type Definitions
An inline array of bytes representing a UUID within the filesystem.