Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/mtd/nand/raw/
Dnandsim.c431 static unsigned int wear_eb_count = 0; variable
444 for (i = 0; i < wear_eb_count; ++i) { in ns_show()
459 for (i = 0; i < wear_eb_count; ++i) { in ns_show()
468 avg = tot / wear_eb_count; in ns_show()
472 seq_printf(m, "Number of erase blocks: %u\n", wear_eb_count); in ns_show()
984 wear_eb_count = div_u64(mtd->size, mtd->erasesize); in ns_setup_wear_reporting()
985 mem = wear_eb_count * sizeof(unsigned long); in ns_setup_wear_reporting()
986 if (mem / sizeof(unsigned long) != wear_eb_count) { in ns_setup_wear_reporting()