Home
last modified time | relevance | path

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

/linux/drivers/mtd/
H A Dftl.c127 uint32_t *bam_cache; member
270 part->bam_cache = kmalloc_array(part->BlocksPerUnit, sizeof(uint32_t), in build_maps()
272 if (!part->bam_cache) in build_maps()
285 (unsigned char *)part->bam_cache); in build_maps()
291 if (BLOCK_FREE(le32_to_cpu(part->bam_cache[j]))) { in build_maps()
294 } else if ((BLOCK_TYPE(le32_to_cpu(part->bam_cache[j])) == BLOCK_DATA) && in build_maps()
295 (BLOCK_NUMBER(le32_to_cpu(part->bam_cache[j])) < blocks)) in build_maps()
296 part->VirtualBlockMap[BLOCK_NUMBER(le32_to_cpu(part->bam_cache[j]))] = in build_maps()
298 else if (BLOCK_DELETED(le32_to_cpu(part->bam_cache[j]))) in build_maps()
307 kfree(part->bam_cache); in build_maps()
[all …]