Classes | Defines | Functions | Variables

src/map.c File Reference

#include <stdlib.h>
#include "types.h"
#include "debug.h"
#include "nand.h"
Include dependency graph for map.c:

Go to the source code of this file.

Classes

struct  pagemap

Defines

#define MAP_INVALID   -1

Functions

_u32 map_find (_u32 lpa)
void map_update (_u32 lpa, _u32 ppa)
void map_gc (_u32 victim, _u8 *bitmap)
void map_end ()
void map_init ()

Variables

static struct pagemap pagemap

Define Documentation

#define MAP_INVALID   -1

Definition at line 6 of file map.c.


Function Documentation

void map_end (  ) 

Definition at line 46 of file map.c.

Here is the caller graph for this function:

_u32 map_find ( _u32  lpa  ) 

Definition at line 21 of file map.c.

Here is the caller graph for this function:

void map_gc ( _u32  victim,
_u8 bitmap 
)

Definition at line 39 of file map.c.

Here is the caller graph for this function:

void map_init (  ) 

Definition at line 55 of file map.c.

Here is the caller graph for this function:

void map_update ( _u32  lpa,
_u32  ppa 
)

Definition at line 32 of file map.c.

Here is the caller graph for this function:


Variable Documentation

struct pagemap pagemap [static]
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines