|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Forward waypoint carried across one write's grow-walks. More...
Data Fields | |
| uint32_t | cluster |
| Cluster the last walk reached. | |
| uint32_t | index |
| Chain index of cluster. | |
Forward waypoint carried across one write's grow-walks.
Without it every sector of a long write re-walked the chain from the head, which is O(K^2) FAT lookups over a K-cluster file – the same quadratic as the allocation scan and worth the same fix (#607). One write's offset only ever moves forward, so the waypoint is always at or behind the cluster being written.
Definition at line 370 of file ra8_fs_fat_fileio.c.
| uint32_t write_walk_t::cluster |
Cluster the last walk reached.
Definition at line 371 of file ra8_fs_fat_fileio.c.
Referenced by internal_write_position().
| uint32_t write_walk_t::index |
Chain index of cluster.
Definition at line 372 of file ra8_fs_fat_fileio.c.
Referenced by internal_write_position().