|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
The structured result of one ra8_fs_check run. More...
#include <ra8_fs_check.h>
Data Fields | |
| ra8_fs_type_t | type |
| The volume variant that was checked. | |
| bool | referenced_scan |
| true when a bitmap enabled the reference analysis. | |
| uint32_t | clusters_total |
| Data-region cluster count. | |
| uint32_t | clusters_free |
| Clusters that read as free. | |
| uint32_t | clusters_used |
| Clusters that read as allocated. | |
| uint32_t | clusters_bad |
| FAT defective-marker clusters (informational). | |
| uint32_t | clusters_lost |
| Allocated but referenced by nothing; k_ra8_fs_check_unknown when ::referenced_scan is false. | |
| uint32_t | chains_crosslinked |
| Clusters reached by more than one chain. | |
| uint32_t | bitmap_mismatches |
| exFAT clusters referenced with the bitmap bit clear. | |
| uint32_t | entries_bad |
| Bad dir entry / SetChecksum / NameHash findings. | |
| uint32_t | dirs_visited |
| Directories walked. | |
| uint32_t | files_visited |
| Files walked. | |
| uint32_t | faults_total |
| Every finding, across all categories (0 == clean). | |
| ra8_fs_check_fault_t | first_fault |
| Kind + location of the first finding. | |
The structured result of one ra8_fs_check run.
Counts plus the first fault. ::faults_total is the primary verdict – zero means the scan found nothing – and the per-category counts (and ::first_fault) explain a non-zero total. The reference-dependent fields (::clusters_lost, ::chains_crosslinked, ::bitmap_mismatches, ::entries_bad, ::dirs_visited, ::files_visited) are only populated when ::referenced_scan is true; without a bitmap ::clusters_lost reads k_ra8_fs_check_unknown and the rest stay zero.
Definition at line 171 of file ra8_fs_check.h.
| uint32_t ra8_fs_check_report_t::bitmap_mismatches |
exFAT clusters referenced with the bitmap bit clear.
Definition at line 181 of file ra8_fs_check.h.
Referenced by internal_exchk_diff_byte().
| uint32_t ra8_fs_check_report_t::chains_crosslinked |
Clusters reached by more than one chain.
Definition at line 180 of file ra8_fs_check.h.
Referenced by priv_check_visit().
| uint32_t ra8_fs_check_report_t::clusters_bad |
FAT defective-marker clusters (informational).
Definition at line 177 of file ra8_fs_check.h.
Referenced by internal_fat_classify_one().
| uint32_t ra8_fs_check_report_t::clusters_free |
Clusters that read as free.
Definition at line 175 of file ra8_fs_check.h.
Referenced by internal_exchk_bitmap_pass(), internal_fat_classify_one(), and internal_fat_fsinfo().
| uint32_t ra8_fs_check_report_t::clusters_lost |
Allocated but referenced by nothing; k_ra8_fs_check_unknown when ::referenced_scan is false.
Definition at line 178 of file ra8_fs_check.h.
Referenced by internal_exchk_diff_byte(), and internal_fat_diff().
| uint32_t ra8_fs_check_report_t::clusters_total |
Data-region cluster count.
Definition at line 174 of file ra8_fs_check.h.
Referenced by internal_exchk_bitmap_pass(), internal_exchk_diff_byte(), internal_exchk_mark_dir_alloc(), internal_exchk_mark_fatchain(), internal_exchk_mark_run(), internal_fat_classify(), internal_fat_diff(), internal_fat_mark_chain(), internal_fat_scan_cluster_dir(), and priv_check_in_range().
| uint32_t ra8_fs_check_report_t::clusters_used |
Clusters that read as allocated.
Definition at line 176 of file ra8_fs_check.h.
Referenced by internal_exchk_bitmap_pass(), and internal_fat_classify_one().
| uint32_t ra8_fs_check_report_t::dirs_visited |
Directories walked.
Definition at line 183 of file ra8_fs_check.h.
Referenced by internal_exchk_tree(), and internal_fat_tree().
| uint32_t ra8_fs_check_report_t::entries_bad |
Bad dir entry / SetChecksum / NameHash findings.
Definition at line 182 of file ra8_fs_check.h.
Referenced by internal_exchk_mark_run(), internal_exchk_set(), internal_exchk_set_clusters(), internal_exchk_verify_set(), internal_fat_entry(), priv_check_exfat(), and priv_check_visit().
| uint32_t ra8_fs_check_report_t::faults_total |
Every finding, across all categories (0 == clean).
Definition at line 185 of file ra8_fs_check.h.
Referenced by priv_check_fault().
| uint32_t ra8_fs_check_report_t::files_visited |
Files walked.
Definition at line 184 of file ra8_fs_check.h.
Referenced by internal_exchk_set_clusters(), and internal_fat_entry().
| ra8_fs_check_fault_t ra8_fs_check_report_t::first_fault |
Kind + location of the first finding.
Definition at line 186 of file ra8_fs_check.h.
Referenced by priv_check_fault().
| bool ra8_fs_check_report_t::referenced_scan |
true when a bitmap enabled the reference analysis.
Definition at line 173 of file ra8_fs_check.h.
| ra8_fs_type_t ra8_fs_check_report_t::type |
The volume variant that was checked.
Definition at line 172 of file ra8_fs_check.h.
Referenced by internal_check_locked().