Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/mtd/
Dftl.c159 u_int32_t *VirtualBlockMap; member
374 part->VirtualBlockMap = vmalloc(blocks * sizeof(u_int32_t)); in build_maps()
375 if (!part->VirtualBlockMap) in build_maps()
378 memset(part->VirtualBlockMap, 0xff, blocks * sizeof(u_int32_t)); in build_maps()
407 part->VirtualBlockMap[BLOCK_NUMBER(le32_to_cpu(part->bam_cache[j]))] = in build_maps()
420 vfree(part->VirtualBlockMap); in build_maps()
980 log_addr = part->VirtualBlockMap[sector+i]; in ftl_read()
1134 old_addr = part->VirtualBlockMap[sector+i]; in ftl_write()
1136 part->VirtualBlockMap[sector+i] = 0xffffffff; in ftl_write()
1145 part->VirtualBlockMap[sector+i] = log_addr; in ftl_write()
[all …]