Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/mtd/
Dftl.c174 u_int32_t *bam_cache; member
381 part->bam_cache = kmalloc(part->BlocksPerUnit * sizeof(u_int32_t), in build_maps()
383 if (!part->bam_cache) in build_maps()
396 (unsigned char *)part->bam_cache); in build_maps()
402 if (BLOCK_FREE(le32_to_cpu(part->bam_cache[j]))) { in build_maps()
405 } else if ((BLOCK_TYPE(le32_to_cpu(part->bam_cache[j])) == BLOCK_DATA) && in build_maps()
406 (BLOCK_NUMBER(le32_to_cpu(part->bam_cache[j])) < blocks)) in build_maps()
407 part->VirtualBlockMap[BLOCK_NUMBER(le32_to_cpu(part->bam_cache[j]))] = in build_maps()
409 else if (BLOCK_DELETED(le32_to_cpu(part->bam_cache[j]))) in build_maps()
418 kfree(part->bam_cache); in build_maps()
[all …]