Struct ext4_read_only::structs::BlockGroupDesc32
source · #[repr(C)]pub struct BlockGroupDesc32 {
pub ext2bgd_b_bitmap: U32,
pub ext2bgd_i_bitmap: U32,
pub ext2bgd_i_tables: U32,
pub ext2bgd_nbfree: U16,
pub ext2bgd_nifree: U16,
pub ext2bgd_ndirs: U16,
pub ext4bgd_flags: U16,
pub ext4bgd_x_bitmap: U32,
pub ext4bgd_b_bmap_csum: U16,
pub ext4bgd_i_bmap_csum: U16,
pub ext4bgd_i_unused: U16,
pub ext4bgd_csum: U16,
}
Fields§
§ext2bgd_b_bitmap: U32
Blocks bitmap block.
ext2bgd_i_bitmap: U32
INodes bitmap block.
ext2bgd_i_tables: U32
INodes table block.
ext2bgd_nbfree: U16
§Free blocks.
ext2bgd_nifree: U16
§Free INodes.
ext2bgd_ndirs: U16
§Directories.
ext4bgd_flags: U16
Block group flags.
ext4bgd_x_bitmap: U32
Snapshot exclusion bitmap location.
ext4bgd_b_bmap_csum: U16
Block bitmap checksum.
ext4bgd_i_bmap_csum: U16
INode bitmap checksum.
ext4bgd_i_unused: U16
Unused INode count.
ext4bgd_csum: U16
Group descriptor checksum.
Trait Implementations§
source§impl FromBytes for BlockGroupDesc32where
U32: FromBytes,
U16: FromBytes,
impl FromBytes for BlockGroupDesc32where
U32: FromBytes,
U16: FromBytes,
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl FromZeros for BlockGroupDesc32where
U32: FromZeros,
U16: FromZeros,
impl FromZeros for BlockGroupDesc32where
U32: FromZeros,
U16: FromZeros,
impl Unaligned for BlockGroupDesc32where
U32: Unaligned,
U16: Unaligned,
Auto Trait Implementations§
impl Freeze for BlockGroupDesc32
impl RefUnwindSafe for BlockGroupDesc32
impl Send for BlockGroupDesc32
impl Sync for BlockGroupDesc32
impl Unpin for BlockGroupDesc32
impl UnwindSafe for BlockGroupDesc32
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more