RetroArch
Macros | Functions
file_allocation_table.h File Reference
#include "common.h"
#include "partition.h"
Include dependency graph for file_allocation_table.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CLUSTER_EOF_16   0xFFFF
 
#define CLUSTER_EOF   0x0FFFFFFF
 
#define CLUSTER_FREE   0x00000000
 
#define CLUSTER_ROOT   0x00000000
 
#define CLUSTER_FIRST   0x00000002
 
#define CLUSTER_ERROR   0xFFFFFFFF
 
#define CLUSTERS_PER_FAT12   4085
 
#define CLUSTERS_PER_FAT16   65525
 

Functions

uint32_t _FAT_fat_nextCluster (PARTITION *partition, uint32_t cluster)
 
uint32_t _FAT_fat_linkFreeCluster (PARTITION *partition, uint32_t cluster)
 
uint32_t _FAT_fat_linkFreeClusterCleared (PARTITION *partition, uint32_t cluster)
 
bool _FAT_fat_clearLinks (PARTITION *partition, uint32_t cluster)
 
uint32_t _FAT_fat_trimChain (PARTITION *partition, uint32_t startCluster, unsigned int chainLength)
 
uint32_t _FAT_fat_lastCluster (PARTITION *partition, uint32_t cluster)
 
unsigned int _FAT_fat_freeClusterCount (PARTITION *partition)
 
static sec_t _FAT_fat_clusterToSector (PARTITION *partition, uint32_t cluster)
 
static bool _FAT_fat_isValidCluster (PARTITION *partition, uint32_t cluster)
 

Macro Definition Documentation

◆ CLUSTER_EOF

#define CLUSTER_EOF   0x0FFFFFFF

◆ CLUSTER_EOF_16

#define CLUSTER_EOF_16   0xFFFF

◆ CLUSTER_ERROR

#define CLUSTER_ERROR   0xFFFFFFFF

◆ CLUSTER_FIRST

#define CLUSTER_FIRST   0x00000002

◆ CLUSTER_FREE

#define CLUSTER_FREE   0x00000000

◆ CLUSTER_ROOT

#define CLUSTER_ROOT   0x00000000

◆ CLUSTERS_PER_FAT12

#define CLUSTERS_PER_FAT12   4085

◆ CLUSTERS_PER_FAT16

#define CLUSTERS_PER_FAT16   65525

Function Documentation

◆ _FAT_fat_clearLinks()

bool _FAT_fat_clearLinks ( PARTITION partition,
uint32_t  cluster 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _FAT_fat_clusterToSector()

static sec_t _FAT_fat_clusterToSector ( PARTITION partition,
uint32_t  cluster 
)
inlinestatic
Here is the call graph for this function:

◆ _FAT_fat_freeClusterCount()

unsigned int _FAT_fat_freeClusterCount ( PARTITION partition)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _FAT_fat_isValidCluster()

static bool _FAT_fat_isValidCluster ( PARTITION partition,
uint32_t  cluster 
)
inlinestatic
Here is the call graph for this function:

◆ _FAT_fat_lastCluster()

uint32_t _FAT_fat_lastCluster ( PARTITION partition,
uint32_t  cluster 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _FAT_fat_linkFreeCluster()

uint32_t _FAT_fat_linkFreeCluster ( PARTITION partition,
uint32_t  cluster 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _FAT_fat_linkFreeClusterCleared()

uint32_t _FAT_fat_linkFreeClusterCleared ( PARTITION partition,
uint32_t  cluster 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _FAT_fat_nextCluster()

uint32_t _FAT_fat_nextCluster ( PARTITION partition,
uint32_t  cluster 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _FAT_fat_trimChain()

uint32_t _FAT_fat_trimChain ( PARTITION partition,
uint32_t  startCluster,
unsigned int  chainLength 
)
Here is the call graph for this function:
Here is the caller graph for this function: