Searched refs:erase_block_wear (Results 1 – 1 of 1) sorted by relevance
433 static unsigned long *erase_block_wear = NULL; variable448 unsigned long wear = erase_block_wear[i]; in ns_show()464 unsigned long wear = erase_block_wear[i]; in ns_show()986 erase_block_wear = kcalloc(wear_eb_count, sizeof(unsigned long), GFP_KERNEL); in ns_setup_wear_reporting()987 if (!erase_block_wear) { in ns_setup_wear_reporting()996 if (!erase_block_wear) in ns_update_wear()1005 erase_block_wear[erase_block_no] += 1; in ns_update_wear()1006 if (erase_block_wear[erase_block_no] == 0) in ns_update_wear()1645 if (erase_block_wear) in ns_do_state_action()2397 kfree(erase_block_wear); in ns_init_module()[all …]