Home
last modified time | relevance | path

Searched refs:cache_block (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/mtd/
H A Dsm_ftl.c906 ftl->cache_block = -1; in sm_cache_init()
947 block_num = zone->lba_to_phys_table[ftl->cache_block]; in sm_cache_flush()
978 ftl->cache_block, ftl->cache_data_invalid_bitmap)) in sm_cache_flush()
982 zone->lba_to_phys_table[ftl->cache_block] = write_sector; in sm_cache_flush()
1032 if (ftl->cache_zone == zone_num && ftl->cache_block == block) { in sm_read()
1080 if (ftl->cache_block != block || ftl->cache_zone != zone_num) { in sm_write()
1086 ftl->cache_block = block; in sm_write()
H A Dsm_ftl.h45 int cache_block; /* block number of cached block */ member