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

/drivers/mtd/nand/
H A Dnandsim.c444 static unsigned int wear_eb_count = 0; variable
927 wear_eb_count = divide(mtd->size, mtd->erasesize);
928 mem = wear_eb_count * sizeof(unsigned long);
929 if (mem / sizeof(unsigned long) != wear_eb_count) {
960 for (i = 0; i < wear_eb_count; ++i) {
974 for (i = 0; i < wear_eb_count; ++i) {
983 avg = tot / wear_eb_count;
987 NS_INFO("Number of erase blocks: %u\n", wear_eb_count);

Completed in 87 milliseconds