Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Dnandsim.c432 static unsigned int wear_eb_count = 0; variable
445 for (i = 0; i < wear_eb_count; ++i) { in ns_show()
460 for (i = 0; i < wear_eb_count; ++i) { in ns_show()
469 avg = tot / wear_eb_count; in ns_show()
473 seq_printf(m, "Number of erase blocks: %u\n", wear_eb_count); in ns_show()
985 wear_eb_count = div_u64(mtd->size, mtd->erasesize); in ns_setup_wear_reporting()
986 mem = wear_eb_count * sizeof(unsigned long); in ns_setup_wear_reporting()
987 if (mem / sizeof(unsigned long) != wear_eb_count) { in ns_setup_wear_reporting()