|
Basic Solution File System - BSFS
|
Represents a block of the allocation bitmap in the BSFS file system. More...
#include <filesystem_bsfs.h>
Public Attributes | |
| uint8_t | bits [BITMAP_BLOCK_BYTES] |
| uint32_t | next_block |
Represents a block of the allocation bitmap in the BSFS file system.
This structure defines a single block used in the allocation bitmap, which tracks which data blocks are free or in use. The bitmap is implemented as a linked list of such blocks to support variable-length bitmaps.
| uint8_t bitmap_block_t::bits[BITMAP_BLOCK_BYTES] |
A byte array representing the allocation status of a range of blocks. Each bit corresponds to one block: 0 = free, 1 = allocated.
| uint32_t bitmap_block_t::next_block |
The block number of the next bitmap block in the linked list. If this is the last block, this value is set to INVALID_BLOCK.