|
|
@ -270,10 +270,10 @@ int find_block(struct ftl_map *map, struct ftl_page_group *group, |
|
|
|
#ifdef find_block |
|
|
|
#ifdef find_block |
|
|
|
#undef find_block |
|
|
|
#undef find_block |
|
|
|
#define find_block __wrap_find_block |
|
|
|
#define find_block __wrap_find_block |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int find_block(struct ftl_map *map, struct ftl_page_group *group, |
|
|
|
int find_block(struct ftl_map *map, struct ftl_page_group *group, |
|
|
|
uint32_t *where, uint32_t block); |
|
|
|
uint32_t *where, uint32_t block); |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
/* Given the block number of the first block, attempts to use binary search to
|
|
|
|
/* Given the block number of the first block, attempts to use binary search to
|
|
|
|
* find the last block that is in use. |
|
|
|
* find the last block that is in use. |
|
|
|