Lines Matching refs:erase_count
88 unsigned int erase_count; member
93 rb)->erase_count)
95 rb)->erase_count)
227 if (eb->erase_count > cur->erase_count) in __mtdswap_rb_add()
365 eb->erase_count = le32_to_cpu(data->count); in mtdswap_read_markers()
397 n.count = cpu_to_le32(eb->erase_count); in mtdswap_write_marker()
453 median = rb_entry(medrb, struct swap_eb, rb)->erase_count; in mtdswap_check_counts()
461 eb->erase_count = median; in mtdswap_check_counts()
556 eb->erase_count++; in mtdswap_erase_block()
557 if (eb->erase_count > d->max_erase_count) in mtdswap_erase_block()
558 d->max_erase_count = eb->erase_count; in mtdswap_erase_block()
1239 rb)->erase_count; in mtdswap_show()
1241 rb)->erase_count; in mtdswap_show()
1249 cwecount = d->curr_write->erase_count; in mtdswap_show()
1254 sum += d->eb_data[i].erase_count; in mtdswap_show()