Basic Solution File System - BSFS
Loading...
Searching...
No Matches
bitmap_block_t Struct Reference

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

Detailed Description

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.

Member Data Documentation

◆ bits

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.

◆ next_block

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.


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