pub struct GroupDescriptor {
pub block_bitmap_lo: u32,
pub inode_bitmap_lo: u32,
pub inode_table_lo: u32,
pub free_blocks_count_lo: u16,
pub free_inodes_count_lo: u16,
pub used_dirs_count_lo: u16,
pub flags: u16,
pub exclude_bitmap_lo: u32,
pub block_bitmap_csum_lo: u16,
pub inode_bitmap_csum_lo: u16,
pub itable_unused_lo: u16,
pub checksum: u16,
}Expand description
Block group descriptor (32-byte variant).
When the INCOMPAT_64BIT feature is set and desc_size >= 64, the
kernel uses an extended 64-byte descriptor. We keep the 32-byte base
here; callers can layer the hi-word fields on top when needed.
Fields§
§block_bitmap_lo: u32§inode_bitmap_lo: u32§inode_table_lo: u32§free_blocks_count_lo: u16§free_inodes_count_lo: u16§used_dirs_count_lo: u16§flags: u16§exclude_bitmap_lo: u32§block_bitmap_csum_lo: u16§inode_bitmap_csum_lo: u16§itable_unused_lo: u16§checksum: u16Implementations§
Trait Implementations§
Source§impl Clone for GroupDescriptor
impl Clone for GroupDescriptor
Source§fn clone(&self) -> GroupDescriptor
fn clone(&self) -> GroupDescriptor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GroupDescriptor
impl Debug for GroupDescriptor
Source§impl Default for GroupDescriptor
impl Default for GroupDescriptor
Source§fn default() -> GroupDescriptor
fn default() -> GroupDescriptor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GroupDescriptor
impl RefUnwindSafe for GroupDescriptor
impl Send for GroupDescriptor
impl Sync for GroupDescriptor
impl Unpin for GroupDescriptor
impl UnsafeUnpin for GroupDescriptor
impl UnwindSafe for GroupDescriptor
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