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

Directory position (cluster + entry index) of one 32-byte entry. More...

#include <ra8_fs_fat_types_internal.h>

Data Fields

uint32_t cluster
 Directory cluster holding the entry.
uint32_t index
 Entry index within that cluster (0-based).

Detailed Description

Directory position (cluster + entry index) of one 32-byte entry.

A directory is a cluster chain, so an entry's address is a cluster plus an index inside it and NOT a flat offset – a set can straddle a cluster boundary and its entries then live in two different clusters. Everything that rewrites an entry in place carries these coordinates rather than recomputing them.

Invariant
index is below the directory's entries-per-cluster.
Example:
const exfat_setpos_t head = {.cluster = f->entry_set_cluster,
.index = f->entry_set_index};
Directory position (cluster + entry index) of one 32-byte entry.
See also
priv_exfat_find_set()
Since
0.1.0

Definition at line 777 of file ra8_fs_fat_types_internal.h.

Field Documentation

◆ cluster

◆ index


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