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

Where and what the first consistency finding was. More...

#include <ra8_fs_check.h>

Data Fields

ra8_fs_check_fault_kind_t kind
 Category of the first finding.
uint32_t cluster
 Cluster the finding concerns (0 if n/a).
uint64_t lba
 Volume-relative sector of the entry (0 if n/a).
uint32_t entry_off
 Byte offset of the entry in that sector (0 n/a).

Detailed Description

Where and what the first consistency finding was.

A minimal locator, in the shape of what fsck -n prints for its first complaint: the category, the cluster the finding is about, and the directory sector (volume/partition-relative LBA) plus the byte offset of the entry within it, when the finding is entry-related. Fields that do not apply to kind are zero.

Invariant
kind == k_ra8_fs_check_fault_none exactly when the scan found nothing, in which case every other field is zero.
See also
ra8_fs_check_report_t::first_fault
Since
0.1.0

Definition at line 129 of file ra8_fs_check.h.

Field Documentation

◆ cluster

uint32_t ra8_fs_check_fault_t::cluster

Cluster the finding concerns (0 if n/a).

Definition at line 131 of file ra8_fs_check.h.

Referenced by priv_check_fault().

◆ entry_off

uint32_t ra8_fs_check_fault_t::entry_off

Byte offset of the entry in that sector (0 n/a).

Definition at line 133 of file ra8_fs_check.h.

Referenced by priv_check_fault().

◆ kind

ra8_fs_check_fault_kind_t ra8_fs_check_fault_t::kind

Category of the first finding.

Definition at line 130 of file ra8_fs_check.h.

Referenced by priv_check_fault().

◆ lba

uint64_t ra8_fs_check_fault_t::lba

Volume-relative sector of the entry (0 if n/a).

Definition at line 132 of file ra8_fs_check.h.

Referenced by priv_check_fault().


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