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

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

Completed in 223 milliseconds