You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
492 B
14 lines
492 B
#pragma once
|
|
|
|
#define ERR_NOT_FOUND 2
|
|
|
|
int read_page_group(struct ftl_map *map,
|
|
struct ftl_page_group *group, uint32_t group_no);
|
|
int read_page_desc(struct ftl_map *map,
|
|
struct ftl_page_desc *page_desc, uint32_t upage);
|
|
int write_page_desc(struct ftl_map *map,
|
|
struct ftl_page_desc *page_desc);
|
|
int write_upage(struct ftl_map *map, const void *page,
|
|
struct ftl_page_desc *page_desc);
|
|
int trace_path(struct ftl_map *map, struct ftl_page_desc *new_page_desc,
|
|
uint32_t *page, uint32_t va);
|
|
|