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