|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
One resolved directory entry: where it is, and what is in it. More...
#include <ra8_fs_fat_types_internal.h>
Data Fields | |
| dir_loc_t | parent |
| Directory the entry lives in. | |
| uint64_t | lba |
| Sector holding the entry. | |
| uint32_t | off |
| Byte offset within that sector. | |
| uint8_t | entry [k_ra8_fs_dir_entry_bytes] |
| The entry as read from disk. | |
One resolved directory entry: where it is, and what is in it.
unlink, rmdir and rename all have to answer the same three questions before they touch anything – which directory holds the entry, which slot it is, and what the entry says – and all three then need the parent again to sweep up the long-name chain. Passing them as one value stops each verb inventing its own out-parameter quartet and forgetting one of them.
Definition at line 630 of file ra8_fs_fat_types_internal.h.
| uint8_t dir_target_t::entry[k_ra8_fs_dir_entry_bytes] |
The entry as read from disk.
Definition at line 634 of file ra8_fs_fat_types_internal.h.
Referenced by internal_fat_rename(), internal_fat_rmdir(), internal_rmdir_locate(), and internal_unlink_locate().
| uint64_t dir_target_t::lba |
Sector holding the entry.
Definition at line 632 of file ra8_fs_fat_types_internal.h.
Referenced by internal_fat_rename(), internal_fat_rmdir(), internal_rmdir_locate(), and internal_unlink_locate().
| uint32_t dir_target_t::off |
Byte offset within that sector.
Definition at line 633 of file ra8_fs_fat_types_internal.h.
Referenced by internal_fat_rename(), internal_fat_rmdir(), internal_rmdir_locate(), and internal_unlink_locate().
| dir_loc_t dir_target_t::parent |
Directory the entry lives in.
Definition at line 631 of file ra8_fs_fat_types_internal.h.
Referenced by internal_fat_rename(), internal_fat_rmdir(), internal_rmdir_locate(), and internal_unlink_locate().