|
| static int | check_volume (void) |
| |
| int | fat12_is_mounted (void) |
| |
| static int | read_sector (u32 sector, void *buffer) |
| |
| static int | write_sector (u32 sector, void *buffer) |
| |
| int | fat12_read_boot_sector (fat12_boot_sector_t *boot) |
| |
| void | fat12_cleanup (void) |
| |
| void | fat12_init (void) |
| |
| static int | short_name (const char *input, char out[11]) |
| |
| static int | valid_cluster (u32 c) |
| |
| static u16 | fat_get (u32 c) |
| |
| static void | fat_set (u32 c, u16 value) |
| |
| static int | sync_fat (void) |
| |
| static void | free_chain (u16 c) |
| |
| void | print_fat12_info (void) |
| |
| static int | chain_length (u16 first, u32 *length) |
| |
| static int | directory_sector (u16 directory, u32 index, u32 *sector) |
| |
| static int | directory_entry (u16 directory, u32 index, fat12_dir_entry_t *entry, int store) |
| |
| static int | directory_lookup (u16 directory, const char name[11], fat_node_t *node, u32 *vacant) |
| |
| static int | resolve_node (const char *path, fat_node_t *node, u16 *parent, char leaf[11]) |
| |
| static int | reserve_chain (u32 count, u16 *first) |
| |
| static int | zero_chain (u16 first) |
| |
| static int | available_slot (u16 directory, const char name[11], u32 *slot) |
| |
| static int | driver_stat (const char *path, vfs_stat_t *stat) |
| |
| static int | driver_read (const char *path, u32 offset, void *buffer, u32 capacity) |
| |
| static int | driver_replace (const char *path, const void *data, u32 size) |
| |
| static int | driver_create (const char *path, int directory) |
| |
| static void | entry_name (const fat12_dir_entry_t *entry, char name[13]) |
| |
| static int | driver_readdir (const char *path, u32 *cursor, vfs_dirent_t *output) |
| |
| static int | driver_remove (const char *path, int directory) |
| |
| static int | driver_rename (const char *source, const char *target) |
| |