Home
last modified time | relevance | path

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

/linux/drivers/mtd/
H A Dftl.c129 uint32_t BlocksPerUnit; member
268 part->BlocksPerUnit = (1 << header.EraseUnitSize) >> header.BlockSize; in build_maps()
270 part->bam_cache = kmalloc_array(part->BlocksPerUnit, sizeof(uint32_t), in build_maps()
284 part->BlocksPerUnit * sizeof(uint32_t), &retval, in build_maps()
290 for (j = 0; j < part->BlocksPerUnit; j++) { in build_maps()
394 nbam = DIV_ROUND_UP(part->BlocksPerUnit * sizeof(uint32_t) + in prepare_xfer()
450 part->BlocksPerUnit * sizeof(uint32_t), &retlen, in copy_erase_unit()
480 for (i = 0; i < part->BlocksPerUnit; i++) { in copy_erase_unit()
516 part->BlocksPerUnit * sizeof(int32_t), in copy_erase_unit()
710 part->BlocksPerUnit * sizeof(uint32_t), in find_free()
[all …]