36 #define CLUSTER_EOF_16 0xFFFF 37 #define CLUSTER_EOF 0x0FFFFFFF 38 #define CLUSTER_FREE 0x00000000 39 #define CLUSTER_ROOT 0x00000000 40 #define CLUSTER_FIRST 0x00000002 41 #define CLUSTER_ERROR 0xFFFFFFFF 43 #define CLUSTERS_PER_FAT12 4085 44 #define CLUSTERS_PER_FAT16 65525 uint32_t _FAT_fat_linkFreeCluster(PARTITION *partition, uint32_t cluster)
Definition: file_allocation_table.c:206
static sec_t _FAT_fat_clusterToSector(PARTITION *partition, uint32_t cluster)
Definition: file_allocation_table.h:60
#define CLUSTER_FIRST
Definition: file_allocation_table.h:40
uint32_t _FAT_fat_lastCluster(PARTITION *partition, uint32_t cluster)
Definition: file_allocation_table.c:371
uint32_t startCluster
Definition: fatfile.h:54
uint32_t _FAT_fat_trimChain(PARTITION *partition, uint32_t startCluster, unsigned int chainLength)
Definition: file_allocation_table.c:336
static IdxT partition(lua_State *L, IdxT lo, IdxT up)
Definition: ltablib.c:310
uint32_t sec_t
Definition: iosuhax_disc_interface.h:40
uint32_t _FAT_fat_linkFreeClusterCleared(PARTITION *partition, uint32_t cluster)
Definition: file_allocation_table.c:268
Definition: partition.h:52
bool _FAT_fat_clearLinks(PARTITION *partition, uint32_t cluster)
Definition: file_allocation_table.c:300
uint32_t _FAT_fat_nextCluster(PARTITION *partition, uint32_t cluster)
Definition: file_allocation_table.c:39
unsigned int _FAT_fat_freeClusterCount(PARTITION *partition)
Definition: file_allocation_table.c:382
static bool _FAT_fat_isValidCluster(PARTITION *partition, uint32_t cluster)
Definition: file_allocation_table.h:66
unsigned int uint32_t
Definition: stdint.h:126