Max OS 0.3
Loading...
Searching...
No Matches
MaxOS::filesystem::format::ext2::BlockGroupDescriptor Struct Reference

The metadata for a block group in ext2. More...

#include <ext2.h>

Public Attributes

uint32_t block_usage_bitmap
 The block address of the block usage bitmap.
 
uint32_t block_inode_bitmap
 The block address of the inode usage bitmap.
 
uint32_t inode_table_address
 The starting block address of the inode table.
 
uint16_t free_blocks
 How many free blocks are in this block group.
 
uint16_t free_inodes
 How many free inodes are in this block group.
 
uint16_t directory_count
 How many directories are in this block group.
 
uint8_t free [14]
 Reserved for future expansion.
 

Detailed Description

The metadata for a block group in ext2.

Definition at line 155 of file ext2.h.

Member Data Documentation

◆ block_inode_bitmap

uint32_t MaxOS::filesystem::format::ext2::BlockGroupDescriptor::block_inode_bitmap

The block address of the inode usage bitmap.

Definition at line 157 of file ext2.h.

◆ block_usage_bitmap

uint32_t MaxOS::filesystem::format::ext2::BlockGroupDescriptor::block_usage_bitmap

The block address of the block usage bitmap.

Definition at line 156 of file ext2.h.

◆ directory_count

uint16_t MaxOS::filesystem::format::ext2::BlockGroupDescriptor::directory_count

How many directories are in this block group.

Definition at line 161 of file ext2.h.

◆ free

uint8_t MaxOS::filesystem::format::ext2::BlockGroupDescriptor::free[14]

Reserved for future expansion.

Definition at line 162 of file ext2.h.

◆ free_blocks

uint16_t MaxOS::filesystem::format::ext2::BlockGroupDescriptor::free_blocks

How many free blocks are in this block group.

Definition at line 159 of file ext2.h.

◆ free_inodes

uint16_t MaxOS::filesystem::format::ext2::BlockGroupDescriptor::free_inodes

How many free inodes are in this block group.

Definition at line 160 of file ext2.h.

◆ inode_table_address

uint32_t MaxOS::filesystem::format::ext2::BlockGroupDescriptor::inode_table_address

The starting block address of the inode table.

Definition at line 158 of file ext2.h.


The documentation for this struct was generated from the following file: