Home
last modified time | relevance | path

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

/drivers/mtd/
Dmtdswap.c75 unsigned int erase_count; member
80 rb)->erase_count)
82 rb)->erase_count)
212 if (eb->erase_count > cur->erase_count) in __mtdswap_rb_add()
350 eb->erase_count = le32_to_cpu(data->count); in mtdswap_read_markers()
382 n.count = cpu_to_le32(eb->erase_count); in mtdswap_write_marker()
438 median = rb_entry(medrb, struct swap_eb, rb)->erase_count; in mtdswap_check_counts()
446 eb->erase_count = median; in mtdswap_check_counts()
533 eb->erase_count++; in mtdswap_erase_block()
534 if (eb->erase_count > d->max_erase_count) in mtdswap_erase_block()
[all …]
/drivers/mtd/ubi/
Ddebug.c430 int erase_count = -1; in eraseblk_count_seq_show() local
448 erase_count = wl->ec; in eraseblk_count_seq_show()
452 if (erase_count < 0) in eraseblk_count_seq_show()
455 seq_printf(s, "%-22d\t%-11d\n", *block_number, erase_count); in eraseblk_count_seq_show()