Home
last modified time | relevance | path

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

/drivers/mtd/nand/
Dnandsim.c432 static unsigned int wear_eb_count = 0; variable
914 wear_eb_count = divide(mtd->size, mtd->erasesize); in setup_wear_reporting()
915 mem = wear_eb_count * sizeof(unsigned long); in setup_wear_reporting()
916 if (mem / sizeof(unsigned long) != wear_eb_count) { in setup_wear_reporting()
947 for (i = 0; i < wear_eb_count; ++i) { in update_wear()
961 for (i = 0; i < wear_eb_count; ++i) { in update_wear()
970 avg = tot / wear_eb_count; in update_wear()
974 NS_INFO("Number of erase blocks: %u\n", wear_eb_count); in update_wear()