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

Go to the source code of this file.

Classes

struct  CACHE_ENTRY
 
struct  CACHE
 

Functions

bool _FAT_cache_readPartialSector (CACHE *cache, void *buffer, sec_t sector, unsigned int offset, size_t size)
 
bool _FAT_cache_readLittleEndianValue (CACHE *cache, uint32_t *value, sec_t sector, unsigned int offset, int num_bytes)
 
bool _FAT_cache_writePartialSector (CACHE *cache, const void *buffer, sec_t sector, unsigned int offset, size_t size)
 
bool _FAT_cache_writeLittleEndianValue (CACHE *cache, const uint32_t value, sec_t sector, unsigned int offset, int num_bytes)
 
bool _FAT_cache_eraseWritePartialSector (CACHE *cache, const void *buffer, sec_t sector, unsigned int offset, size_t size)
 
bool _FAT_cache_readSectors (CACHE *cache, sec_t sector, sec_t numSectors, void *buffer)
 
static bool _FAT_cache_readSector (CACHE *cache, void *buffer, sec_t sector)
 
static bool _FAT_cache_writeSector (CACHE *cache, const void *buffer, sec_t sector)
 
bool _FAT_cache_writeSectors (CACHE *cache, sec_t sector, sec_t numSectors, const void *buffer)
 
bool _FAT_cache_flush (CACHE *cache)
 
void _FAT_cache_invalidate (CACHE *cache)
 
CACHE_FAT_cache_constructor (unsigned int numberOfPages, unsigned int sectorsPerPage, const DISC_INTERFACE *discInterface, sec_t endOfPartition, unsigned int bytesPerSector)
 
void _FAT_cache_destructor (CACHE *cache)
 

Function Documentation

◆ _FAT_cache_constructor()

CACHE* _FAT_cache_constructor ( unsigned int  numberOfPages,
unsigned int  sectorsPerPage,
const DISC_INTERFACE discInterface,
sec_t  endOfPartition,
unsigned int  bytesPerSector 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _FAT_cache_destructor()

void _FAT_cache_destructor ( CACHE cache)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _FAT_cache_eraseWritePartialSector()

bool _FAT_cache_eraseWritePartialSector ( CACHE cache,
const void buffer,
sec_t  sector,
unsigned int  offset,
size_t  size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _FAT_cache_flush()

bool _FAT_cache_flush ( CACHE cache)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _FAT_cache_invalidate()

void _FAT_cache_invalidate ( CACHE cache)
Here is the call graph for this function:

◆ _FAT_cache_readLittleEndianValue()

bool _FAT_cache_readLittleEndianValue ( CACHE cache,
uint32_t value,
sec_t  sector,
unsigned int  offset,
int  num_bytes 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _FAT_cache_readPartialSector()

bool _FAT_cache_readPartialSector ( CACHE cache,
void buffer,
sec_t  sector,
unsigned int  offset,
size_t  size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _FAT_cache_readSector()

static bool _FAT_cache_readSector ( CACHE cache,
void buffer,
sec_t  sector 
)
inlinestatic
Here is the call graph for this function:

◆ _FAT_cache_readSectors()

bool _FAT_cache_readSectors ( CACHE cache,
sec_t  sector,
sec_t  numSectors,
void buffer 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _FAT_cache_writeLittleEndianValue()

bool _FAT_cache_writeLittleEndianValue ( CACHE cache,
const uint32_t  value,
sec_t  sector,
unsigned int  offset,
int  num_bytes 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _FAT_cache_writePartialSector()

bool _FAT_cache_writePartialSector ( CACHE cache,
const void buffer,
sec_t  sector,
unsigned int  offset,
size_t  size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _FAT_cache_writeSector()

static bool _FAT_cache_writeSector ( CACHE cache,
const void buffer,
sec_t  sector 
)
inlinestatic
Here is the call graph for this function:

◆ _FAT_cache_writeSectors()

bool _FAT_cache_writeSectors ( CACHE cache,
sec_t  sector,
sec_t  numSectors,
const void buffer 
)
Here is the call graph for this function:
Here is the caller graph for this function: