Searched refs:erase_block_wear (Results 1 – 1 of 1) sorted by relevance
431 static unsigned long *erase_block_wear = NULL; variable446 unsigned long wear = erase_block_wear[i]; in ns_show()462 unsigned long wear = erase_block_wear[i]; in ns_show()991 erase_block_wear = kzalloc(mem, GFP_KERNEL); in ns_setup_wear_reporting()992 if (!erase_block_wear) { in ns_setup_wear_reporting()1001 if (!erase_block_wear) in ns_update_wear()1010 erase_block_wear[erase_block_no] += 1; in ns_update_wear()1011 if (erase_block_wear[erase_block_no] == 0) in ns_update_wear()1650 if (erase_block_wear) in ns_do_state_action()2394 kfree(erase_block_wear); in ns_init_module()[all …]