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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/
H A Dftl.c128 uint32_t *bam_cache; member in struct:partition_t
279 part->bam_cache = kmalloc(part->BlocksPerUnit * sizeof(uint32_t),
281 if (!part->bam_cache)
294 (unsigned char *)part->bam_cache);
300 if (BLOCK_FREE(le32_to_cpu(part->bam_cache[j]))) {
303 } else if ((BLOCK_TYPE(le32_to_cpu(part->bam_cache[j])) == BLOCK_DATA) &&
304 (BLOCK_NUMBER(le32_to_cpu(part->bam_cache[j])) < blocks))
305 part->VirtualBlockMap[BLOCK_NUMBER(le32_to_cpu(part->bam_cache[j]))] =
307 else if (BLOCK_DELETED(le32_to_cpu(part->bam_cache[j])))
316 kfree(part->bam_cache);
[all...]

Completed in 547 milliseconds