Home
last modified time | relevance | path

Searched refs:map_cache (Results 1 – 4 of 4) sorted by relevance

/system/ulib/ftl/ftln/
A Dftln_util.c199 if (ftlmcFlushMaps(ftl->map_cache)) in FtlnReport()
336 if (ftlmcFlushPage(ftl->map_cache, mpn)) in FtlnReport()
457 ftlmcRAM(ftl->map_cache) + in FtlnReport()
473 printf(" - map cache : %u\n", ftlmcRAM(ftl->map_cache)); in FtlnReport()
796 ftlmcInit(ftl->map_cache); in FtlnStateRst()
A Dftln_intrnl.c424 if ((used == 0) && (IS_MAP_BLK(ftl->bdata[b]) || (ftl->map_cache->num_dirty == 0))) in recycle_possible()
466 map_pgs = used + ftl->map_cache->num_dirty; in recycle_possible()
693 if (ftlmcFlushMaps(ftl->map_cache)) in recycle_vblk()
1039 need += ftl->map_cache->num_dirty; in FtlnRecNeeded()
1115 buf = ftlmcInCache(ftl->map_cache, mpn); in FtlnRecycleMapBlk()
1260 maddr = ftlmcGetPage(ftl->map_cache, mpn, &unmapped); in FtlnMapGetPpn()
1313 maddr = ftlmcGetPage(ftl->map_cache, mpn, NULL); in FtlnMapSetPpn()
A Dftlnp.h224 FTLMC* map_cache; // handle to map page cache member
A Dftln_init.c1137 if (ftl->map_cache) in free_ftl()
1138 ftlmcDelete(&ftl->map_cache); in free_ftl()
1424 ftl->map_cache = ftlmcNew(ftl, ftl_dvr->cached_map_pages, FtlnMapWr, FtlnMapRd, ftl->page_size); in FtlnAddVol()
1425 if (ftl->map_cache == NULL) in FtlnAddVol()

Completed in 10 milliseconds