|
Flash Translation Layer
1.0
|
manage the mapping information More...
#include "include/bits.h"#include "include/page.h"#include "include/device.h"#include "include/log.h"#include <errno.h>
Functions | |
| struct device_address | page_ftl_get_free_page (struct page_ftl *pgftl) |
| get page from the segment More... | |
| int | page_ftl_update_map (struct page_ftl *pgftl, uint64_t sector, uint32_t ppn) |
| update the mapping information More... | |
manage the mapping information
| struct device_address page_ftl_get_free_page | ( | struct page_ftl * | pgftl | ) |
get page from the segment
| pgftl | pointer of the page-ftl structure |

| int page_ftl_update_map | ( | struct page_ftl * | pgftl, |
| uint64_t | sector, | ||
| uint32_t | ppn | ||
| ) |
update the mapping information
| pgftl | pointer of the page FTL structure |
| sector | logical address for mapping table |
| ppn | physical address for mapping table |

1.8.13