UbixOS V2 2.0

fat_table.h
Go to the documentation of this file.
1 #ifndef __FAT_TABLE_H__
2 #define __FAT_TABLE_H__
3
4 #include "fat_opts.h"
5 #include "fat_misc.h"
6
7 //-----------------------------------------------------------------------------
8 // Prototypes
9 //-----------------------------------------------------------------------------
10 void fatfs_fat_init(struct fatfs *fs);
11 int fatfs_fat_purge(struct fatfs *fs);
12 uint32 fatfs_find_next_cluster(struct fatfs *fs, uint32 current_cluster);
13 void fatfs_set_fs_info_next_free_cluster(struct fatfs *fs, uint32 newValue);
14 int fatfs_find_blank_cluster(struct fatfs *fs, uint32 start_cluster, uint32 *free_cluster);
15 int fatfs_fat_set_cluster(struct fatfs *fs, uint32 cluster, uint32 next_cluster);
16 int fatfs_fat_add_cluster_to_chain(struct fatfs *fs, uint32 start_cluster, uint32 newEntry);
17 int fatfs_free_cluster_chain(struct fatfs *fs, uint32 start_cluster);
18 uint32 fatfs_count_free_clusters(struct fatfs *fs);
19
20 #endif
fatfs_count_free_clusters
uint32 fatfs_count_free_clusters(struct fatfs *fs)
Definition: fat_table.c:445
fatfs_free_cluster_chain
int fatfs_free_cluster_chain(struct fatfs *fs, uint32 start_cluster)
Definition: fat_table.c:389
fatfs_fat_add_cluster_to_chain
int fatfs_fat_add_cluster_to_chain(struct fatfs *fs, uint32 start_cluster, uint32 newEntry)
Definition: fat_table.c:414
fatfs_fat_set_cluster
int fatfs_fat_set_cluster(struct fatfs *fs, uint32 cluster, uint32 next_cluster)
Definition: fat_table.c:349
fatfs_fat_purge
int fatfs_fat_purge(struct fatfs *fs)
Definition: fat_table.c:179
fs
Definition: fs.h:260
fat_misc.h
fatfs_set_fs_info_next_free_cluster
void fatfs_set_fs_info_next_free_cluster(struct fatfs *fs, uint32 newValue)
Definition: fat_table.c:260
fat_opts.h
fatfs_find_blank_cluster
int fatfs_find_blank_cluster(struct fatfs *fs, uint32 start_cluster, uint32 *free_cluster)
Definition: fat_table.c:288
fatfs_fat_init
void fatfs_fat_init(struct fatfs *fs)
Definition: fat_table.c:60
fatfs_find_next_cluster
uint32 fatfs_find_next_cluster(struct fatfs *fs, uint32 current_cluster)
Definition: fat_table.c:205
uint32
unsigned long uint32
Definition: fat_types.h:23
fatfs
Definition: fat_access.h:57