Re-exports§
pub use crate::aliases::*;
Modules§
- aliases
- This module contains aliases from the crate’s types to the wiki-style snake case names for convenience.
- constants
Structs§
- Allocation
Type - The type of storage a block group allows.
- Backref
Revision Iter - An iterator over the variants of BackrefRevision
- Block
Group Item - Defines the location, properties, and usage of a block group.
- Checksum
Type Iter - An iterator over the variants of ChecksumType
- Chunk
- 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
. - Chunk
Dynamic - 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
. - DevExtent
- 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.
- DevItem
- Represents a complete block device.
- Extent
Data Ref - Contains an indirect back reference for a file data extent.
- Extent
Inline Extent Data Ref - An
ExtentInlineRefHeader
and/orExtentInlineRefFull
where the value is known to beExtentInlineRefType::ExtentDataRef
. - Extent
Inline RefFull - This type contains a union of all possible inline extent references. Using this can be helpful when an entire inline reference is read from disk to save trips to the disk but the type of the reference is not known in advance.
- Extent
Inline RefHeader - This acts as a header for different types of inline extent back references inside extent or metadata items.
- Extent
Inline RefShared Data Tail - A variant of
ExtentInlineRefTail
forExtentInlineRefType::SharedDataRef
. - Extent
Inline RefType Iter - An iterator over the variants of ExtentInlineRefType
- Extent
Inline Shared Block Ref - An
ExtentInlineRefHeader
and/orExtentInlineRefFull
where the value is known to beExtentInlineRefType::SharedBlockRef
. - Extent
Inline Shared Data Ref - An
ExtentInlineRefHeader
and/orExtentInlineRefFull
where the value is known to beExtentInlineRefType::SharedDataRef
. - Extent
Inline Tree Block Ref - An
ExtentInlineRefHeader
and/orExtentInlineRefFull
where the value is known to beExtentInlineRefType::TreeBlockRef
. - Header
- The data stored at the start of every node.
- Inode
Flags - Inode
Item - Contains traditional inode data and attributes.
- Item
- For leaf nodes, the node header is followed by a dynamic number of items.
- Key
- A key used to describe and locate any item in any tree.
- KeyPointer
- For internal (non-leaf) nodes, the node header is followed by a dynamic amount of key pointers.
- Replication
Policy - The replication policy a block group implements.
- Root
Backup - Root
Item - Defines the location and parameters of the root of a b-tree.
- RootRef
- References a subvolume filesystem tree root. This is used for both forward and backward root references.
- Shared
Data Ref - This structure contains the reference count for a shared back reference for a file data extent.
- Stripe
- This structure is used to define the backing device storage that compose a
Chunk
. - Super
Block - The layout of the superblock. A valid superblock must exist for most btrfs implementations to mount the filesystem.
- Time
- The layout of timestamps on disk.
Enums§
- Backref
Revision - Checksum
Type - The hashing algorithm used for checksumming.
- Extent
Inline RefType - The type of
ExtentInlineRefHeader
orExtentInlineRefFull
.
Type Aliases§
- Uuid
Bytes - An inline array of bytes representing a UUID within the filesystem.
Unions§
- Extent
Inline RefTail - Union that contains the actual data for the inline extent reference.