ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_fs_check_ctx_t Struct Reference

The state one ra8_fs_check run threads through its passes. More...

#include <ra8_fs_fat_check_internal.h>

Collaboration diagram for ra8_fs_check_ctx_t:

Data Fields

ra8_fs_mount_tm
 The mounted volume under check.
ra8_fs_check_report_trep
 The report being filled.
uint8_t * bitmap
 Scratch visited-cluster bitmap, or NULL.
uint32_t bitmap_bits
 Valid bit count (== clusters_total).

Detailed Description

The state one ra8_fs_check run threads through its passes.

Bundles the four things every helper needs – the mounted volume, the report being filled, the caller's scratch visited-bitmap and its valid bit count – so the walk functions take one pointer instead of four. When bitmap is NULL the reference / lost analysis is skipped and the check runs its classification pass alone.

Invariant
bitmap == nullptr exactly when the caller supplied no (or a too-small) bitmap, and then the reference passes do not run.
bitmap_bits == rep->clusters_total whenever bitmap != nullptr.
Since
0.1.0

Definition at line 71 of file ra8_fs_fat_check_internal.h.

Field Documentation

◆ bitmap

uint8_t* ra8_fs_check_ctx_t::bitmap

◆ bitmap_bits

uint32_t ra8_fs_check_ctx_t::bitmap_bits

Valid bit count (== clusters_total).

Definition at line 75 of file ra8_fs_fat_check_internal.h.

Referenced by priv_check_zero_bitmap().

◆ m

◆ rep


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