]>
glassweightruler.freedombox.rocks Git - Ventoy.git/blob - LinuxGUI/Ventoy2Disk/Lib/fat_io_lib/release/fat_table.h
1 #ifndef __FAT_TABLE_H__
2 #define __FAT_TABLE_H__
7 //-----------------------------------------------------------------------------
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
);