Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/mtd/
Dftl.c129 uint32_t BlocksPerUnit; member
276 part->BlocksPerUnit = (1 << header.EraseUnitSize) >> header.BlockSize; in build_maps()
278 part->bam_cache = kmalloc(part->BlocksPerUnit * sizeof(uint32_t), in build_maps()
292 part->BlocksPerUnit * sizeof(uint32_t), &retval, in build_maps()
298 for (j = 0; j < part->BlocksPerUnit; j++) { in build_maps()
432 nbam = (part->BlocksPerUnit * sizeof(uint32_t) + in prepare_xfer()
488 part->BlocksPerUnit * sizeof(uint32_t), &retlen, in copy_erase_unit()
518 for (i = 0; i < part->BlocksPerUnit; i++) { in copy_erase_unit()
554 part->BlocksPerUnit * sizeof(int32_t), in copy_erase_unit()
752 part->BlocksPerUnit * sizeof(uint32_t), in find_free()
[all …]