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

Resolved exFAT volume geometry produced by priv_exfat_geometry. More...

Data Fields

uint64_t part_lba
 Partition start LBA (VBR sits here, not 0).
uint64_t total_sectors
 Partition sector count (VolumeLength).
uint32_t bps
 Device sector size in bytes.
uint8_t bps_shift
 BytesPerSectorShift (log2 of bps).
uint8_t spc_shift
 SectorsPerClusterShift (log2).
uint32_t spc
 Sectors per cluster (1 << spc_shift).
uint32_t fat_offset
 FatOffset (sectors from VBR).
uint32_t fat_length
 FatLength (sectors).
uint32_t heap_offset
 ClusterHeapOffset (sectors from VBR).
uint32_t cluster_count
 ClusterCount.
uint32_t bitmap_bytes
 Allocation-bitmap logical size (DataLength).
uint32_t bitmap_clusters
 Clusters the bitmap occupies.
uint32_t upcase_cluster
 First cluster of the up-case table.
uint32_t upcase_clusters
 Clusters the up-case table occupies.
uint32_t root_cluster
 First cluster of the root directory.
uint32_t used_clusters
 bitmap + up-case + root (pre-allocated).

Detailed Description

Resolved exFAT volume geometry produced by priv_exfat_geometry.

Definition at line 30 of file ra8_fs_fat_exfat_fmt.c.

Field Documentation

◆ bitmap_bytes

uint32_t exfat_geom_t::bitmap_bytes

Allocation-bitmap logical size (DataLength).

Definition at line 41 of file ra8_fs_fat_exfat_fmt.c.

Referenced by internal_exfat_geometry(), and internal_exfat_write_root().

◆ bitmap_clusters

uint32_t exfat_geom_t::bitmap_clusters

Clusters the bitmap occupies.

Definition at line 42 of file ra8_fs_fat_exfat_fmt.c.

Referenced by internal_exfat_geometry(), internal_exfat_write_bitmap(), and internal_exfat_write_fat().

◆ bps

◆ bps_shift

uint8_t exfat_geom_t::bps_shift

BytesPerSectorShift (log2 of bps).

Definition at line 34 of file ra8_fs_fat_exfat_fmt.c.

Referenced by internal_exfat_build_vbr(), and internal_exfat_geometry().

◆ cluster_count

uint32_t exfat_geom_t::cluster_count

ClusterCount.

Definition at line 40 of file ra8_fs_fat_exfat_fmt.c.

Referenced by internal_exfat_build_vbr(), and internal_exfat_geometry().

◆ fat_length

uint32_t exfat_geom_t::fat_length

FatLength (sectors).

Definition at line 38 of file ra8_fs_fat_exfat_fmt.c.

Referenced by internal_exfat_build_vbr(), internal_exfat_geometry(), and internal_exfat_write_fat().

◆ fat_offset

uint32_t exfat_geom_t::fat_offset

FatOffset (sectors from VBR).

Definition at line 37 of file ra8_fs_fat_exfat_fmt.c.

Referenced by internal_exfat_build_vbr(), internal_exfat_geometry(), and internal_exfat_write_fat().

◆ heap_offset

uint32_t exfat_geom_t::heap_offset

◆ part_lba

◆ root_cluster

uint32_t exfat_geom_t::root_cluster

◆ spc

uint32_t exfat_geom_t::spc

Sectors per cluster (1 << spc_shift).

Definition at line 36 of file ra8_fs_fat_exfat_fmt.c.

Referenced by internal_exfat_geometry(), internal_exfat_write_bitmap(), internal_exfat_write_root(), and priv_exfat_format().

◆ spc_shift

uint8_t exfat_geom_t::spc_shift

SectorsPerClusterShift (log2).

Definition at line 35 of file ra8_fs_fat_exfat_fmt.c.

Referenced by internal_exfat_build_vbr(), and internal_exfat_geometry().

◆ total_sectors

uint64_t exfat_geom_t::total_sectors

Partition sector count (VolumeLength).

Definition at line 32 of file ra8_fs_fat_exfat_fmt.c.

Referenced by internal_exfat_build_vbr(), and internal_exfat_geometry().

◆ upcase_cluster

uint32_t exfat_geom_t::upcase_cluster

First cluster of the up-case table.

Definition at line 43 of file ra8_fs_fat_exfat_fmt.c.

Referenced by internal_exfat_geometry(), internal_exfat_write_fat(), internal_exfat_write_root(), and priv_exfat_format().

◆ upcase_clusters

uint32_t exfat_geom_t::upcase_clusters

Clusters the up-case table occupies.

Definition at line 44 of file ra8_fs_fat_exfat_fmt.c.

Referenced by internal_exfat_geometry(), and internal_exfat_write_fat().

◆ used_clusters

uint32_t exfat_geom_t::used_clusters

bitmap + up-case + root (pre-allocated).

Definition at line 46 of file ra8_fs_fat_exfat_fmt.c.

Referenced by internal_exfat_geometry(), and internal_exfat_write_bitmap().


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