#include <vstypes.h>
#include <mapper.h>
Include dependency graph for mapperflash.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | FmfMeta |
struct | FsMapperFlash |
Defines | |
#define | FS_MAP_FLASH_PAGE_SIZE 256 |
#define | FS_MAP_FLASH_MAX_ERASE_PAGES 256 |
#define | FS_MAP_NON_FULL 4 |
#define | memcpyXY memcpy |
#define | memcpyYX memcpy |
#define | memcpyYY memcpy |
#define | memsetY memset |
#define | qsorty qsort |
Functions | |
FsMapper * | FsMapFlCreate (struct FsPhysical *physical, u_int16 format) |
s_int16 | FsMapFlDelete (struct FsMapper *map) |
s_int16 | FsMapFlRead (struct FsMapper *map, u_int32 firstLogicalBlock, u_int16 logicalBlocks, u_int16 *data) |
s_int16 | FsMapFlWrite (struct FsMapper *map, u_int32 firstLogicalBlock, u_int16 logicalBlocks, u_int16 *data) |
s_int16 | FsMapFlFlush (struct FsMapper *map, u_int16 hard) |
s_int16 | FsMapFlFree (struct FsMapper *m, u_int32 logicalBlockNo, u_int32 logicalBlocks) |
void | FsMapFlDump (struct FsMapper *map, s_int32 maxBlocks) |
void | FsMapFlCacheDump (struct FsMapper *map) |
void | FsMapFlPrint (s_int32 page) |
Definition in file mapperflash.h.
|
4 x FS_MAP_FLASH_MAX_ERASE_PAGES + 1 words of memory is required Definition at line 21 of file mapperflash.h. |
|
Definition at line 19 of file mapperflash.h. |
|
Definition at line 40 of file mapperflash.h. |
|
Definition at line 97 of file mapperflash.h. |
|
Definition at line 98 of file mapperflash.h. |
|
Definition at line 99 of file mapperflash.h. |
|
Definition at line 100 of file mapperflash.h. |
|
Definition at line 101 of file mapperflash.h. |
|
|
|
Create a mapper |
|
Delete a mapper |
|
|
|
Flush all cached data. if hard is non-zero, all potential journals are also flushed. |
|
Free blocks. |
|
|
|
Read blocks |
|
Write blocks |