Crate btrfs_diskformat[][src]

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

AllocationType

The type of storage a block group allows.

BackrefRevisionIter
BlockGroupItem

Defines the location, properties, and usage of a block group.

ChecksumTypeIter
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.

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.

ExtentDataRef

Contains an indirect back reference for a file data extent.

ExtentInlineRef

This acts as a header for different types of inline extent back references inside extent or metadata items.

ExtentInlineRefTypeIter
Header

The data stored at the start of every node.

InodeFlags
InodeItem

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.

ReplicationPolicy

The replication policy a block group implements.

RootBackup
RootItem

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.

SharedDataRef

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.

SuperBlock

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

BackrefRevision
ChecksumType
ExtentInlineRefType

The type of ExtentInlineRef.

Type Definitions

UuidBytes

An inline array of bytes representing a UUID within the filesystem.