Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/
Dftl.c127 uint32_t *bam_cache; member
273 part->bam_cache = kmalloc_array(part->BlocksPerUnit, sizeof(uint32_t), in build_maps()
275 if (!part->bam_cache) in build_maps()
288 (unsigned char *)part->bam_cache); in build_maps()
294 if (BLOCK_FREE(le32_to_cpu(part->bam_cache[j]))) { in build_maps()
297 } else if ((BLOCK_TYPE(le32_to_cpu(part->bam_cache[j])) == BLOCK_DATA) && in build_maps()
298 (BLOCK_NUMBER(le32_to_cpu(part->bam_cache[j])) < blocks)) in build_maps()
299 part->VirtualBlockMap[BLOCK_NUMBER(le32_to_cpu(part->bam_cache[j]))] = in build_maps()
301 else if (BLOCK_DELETED(le32_to_cpu(part->bam_cache[j]))) in build_maps()
310 kfree(part->bam_cache); in build_maps()
[all …]