Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/
Dftl.c113 uint32_t *VirtualBlockMap; member
266 part->VirtualBlockMap = vmalloc(array_size(blocks, sizeof(uint32_t))); in build_maps()
267 if (!part->VirtualBlockMap) in build_maps()
270 memset(part->VirtualBlockMap, 0xff, blocks * sizeof(uint32_t)); in build_maps()
299 part->VirtualBlockMap[BLOCK_NUMBER(le32_to_cpu(part->bam_cache[j]))] = in build_maps()
312 vfree(part->VirtualBlockMap); in build_maps()
769 log_addr = part->VirtualBlockMap[sector+i]; in ftl_read()
922 old_addr = part->VirtualBlockMap[sector+i]; in ftl_write()
924 part->VirtualBlockMap[sector+i] = 0xffffffff; in ftl_write()
933 part->VirtualBlockMap[sector+i] = log_addr; in ftl_write()
[all …]