Home
last modified time | relevance | path

Searched refs:cache_block (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/
H A Dsm_ftl.h45 int cache_block; /* block number of cached block */ member
H A Dsm_ftl.c894 ftl->cache_block = -1; in sm_cache_init()
935 block_num = zone->lba_to_phys_table[ftl->cache_block]; in sm_cache_flush()
965 ftl->cache_block, ftl->cache_data_invalid_bitmap)) in sm_cache_flush()
969 zone->lba_to_phys_table[ftl->cache_block] = write_sector; in sm_cache_flush()
1019 if (ftl->cache_zone == zone_num && ftl->cache_block == block) { in sm_read()
1067 if (ftl->cache_block != block || ftl->cache_zone != zone_num) { in sm_write()
1073 ftl->cache_block = block; in sm_write()
/kernel/linux/linux-6.6/drivers/mtd/
H A Dsm_ftl.h45 int cache_block; /* block number of cached block */ member
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()

Completed in 4 milliseconds