Lines Matching refs:erase_count
88 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()
548 d->max_erase_count = eb->erase_count; in mtdswap_erase_block()
1212 cwecount = d->curr_write->erase_count; in mtdswap_show()
1217 sum += d->eb_data[i].erase_count; in mtdswap_show()