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

/linux-4.4.14/drivers/mtd/nand/
H A Dnandsim.c447 static unsigned int wear_eb_count = 0; variable
460 for (i = 0; i < wear_eb_count; ++i) { nandsim_debugfs_show()
475 for (i = 0; i < wear_eb_count; ++i) { nandsim_debugfs_show()
484 avg = tot / wear_eb_count; nandsim_debugfs_show()
488 seq_printf(m, "Number of erase blocks: %u\n", wear_eb_count); nandsim_debugfs_show()
1018 wear_eb_count = div_u64(mtd->size, mtd->erasesize); setup_wear_reporting()
1019 mem = wear_eb_count * sizeof(unsigned long); setup_wear_reporting()
1020 if (mem / sizeof(unsigned long) != wear_eb_count) { setup_wear_reporting()

Completed in 71 milliseconds