Searched refs:wear_eb_count (Results 1 – 1 of 1) sorted by relevance
434 static unsigned int wear_eb_count = 0; variable447 for (i = 0; i < wear_eb_count; ++i) { in ns_show()462 for (i = 0; i < wear_eb_count; ++i) { in ns_show()471 avg = tot / wear_eb_count; in ns_show()475 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 erase_block_wear = kcalloc(wear_eb_count, sizeof(unsigned long), GFP_KERNEL); in ns_setup_wear_reporting()