Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/
Dmtdswap.c88 unsigned int erase_count; member
93 rb)->erase_count)
95 rb)->erase_count)
225 if (eb->erase_count > cur->erase_count) in __mtdswap_rb_add()
363 eb->erase_count = le32_to_cpu(data->count); in mtdswap_read_markers()
395 n.count = cpu_to_le32(eb->erase_count); in mtdswap_write_marker()
451 median = rb_entry(medrb, struct swap_eb, rb)->erase_count; in mtdswap_check_counts()
459 eb->erase_count = median; in mtdswap_check_counts()
546 eb->erase_count++; in mtdswap_erase_block()
547 if (eb->erase_count > d->max_erase_count) in mtdswap_erase_block()
[all …]
/Linux-v4.19/drivers/mtd/ubi/
Ddebug.c443 int erase_count = -1; in eraseblk_count_seq_show() local
461 erase_count = wl->ec; in eraseblk_count_seq_show()
465 if (erase_count < 0) in eraseblk_count_seq_show()
468 seq_printf(s, "%-22d\t%-11d\n", *block_number, erase_count); in eraseblk_count_seq_show()