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

The on-disk address of one 32-byte directory slot. More...

#include <ra8_fs_fat_types_internal.h>

Data Fields

uint64_t lba
 Sector holding the slot.
uint32_t off
 Byte offset of the slot in that sector.

Detailed Description

The on-disk address of one 32-byte directory slot.

A (sector, byte-offset) pair is how every directory primitive here already names a slot; giving it a type lets the deleter carry a whole LFN chain's worth of addresses without a walk per entry.

Invariant
off is a multiple of k_ra8_fs_dir_entry_bytes below one sector.
See also
priv_dir_erase_chain()
Since
0.1.0

Definition at line 592 of file ra8_fs_fat_types_internal.h.

Field Documentation

◆ lba

uint64_t dir_pos_t::lba

Sector holding the slot.

Definition at line 593 of file ra8_fs_fat_types_internal.h.

Referenced by internal_dir_erase_positions().

◆ off

uint32_t dir_pos_t::off

Byte offset of the slot in that sector.

Definition at line 594 of file ra8_fs_fat_types_internal.h.

Referenced by internal_dir_erase_positions().


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