Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/
H A Dftl.c129 uint32_t BlocksPerUnit; member
271 part->BlocksPerUnit = (1 << header.EraseUnitSize) >> header.BlockSize; in build_maps()
287 part->BlocksPerUnit * sizeof(uint32_t), &retval, in build_maps()
293 for (j = 0; j < part->BlocksPerUnit; j++) { in build_maps()
397 nbam = DIV_ROUND_UP(part->BlocksPerUnit * sizeof(uint32_t) + in prepare_xfer()
453 part->BlocksPerUnit * sizeof(uint32_t), &retlen, in copy_erase_unit()
483 for (i = 0; i < part->BlocksPerUnit; i++) { in copy_erase_unit()
519 part->BlocksPerUnit * sizeof(int32_t), in copy_erase_unit()
713 part->BlocksPerUnit * sizeof(uint32_t), in find_free()
725 for (blk = 0; blk < part->BlocksPerUnit; blk++) in find_free()
[all …]