Struct btrfs_diskformat::DevExtent
source · #[repr(C, packed)]pub struct DevExtent {
pub chunk_tree: U64<LE>,
pub chunk_objectid: U64<LE>,
pub chunk_offset: U64<LE>,
pub length: U64<LE>,
pub chunk_tree_uuid: UuidBytes,
}
Expand description
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.
It is associated with the DEV_ITEM
item. This structure is never used
outside of this item.
Fields
chunk_tree: U64<LE>
The object ID of the chunk tree that owns this extent.
chunk_objectid: U64<LE>
The object ID of the chunk item that references this extent.
chunk_offset: U64<LE>
The offset of the chunk item that references this extent.
length: U64<LE>
The length of this extent, in bytes.
chunk_tree_uuid: UuidBytes
The UUID of the chunk tree that owns this extent.
Trait Implementations
impl FromBytes for DevExtent
impl Unaligned for DevExtent
Auto Trait Implementations
impl RefUnwindSafe for DevExtent
impl Send for DevExtent
impl Sync for DevExtent
impl Unpin for DevExtent
impl UnwindSafe for DevExtent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more