Lines Matching refs:rb
83 struct rb_node rb; member
93 rb)->erase_count)
95 rb)->erase_count)
214 rb_erase(&eb->rb, eb->root); in mtdswap_eb_detach()
226 cur = rb_entry(parent, struct swap_eb, rb); in __mtdswap_rb_add()
233 rb_link_node(&eb->rb, parent, p); in __mtdswap_rb_add()
234 rb_insert_color(&eb->rb, root); in __mtdswap_rb_add()
453 median = rb_entry(medrb, struct swap_eb, rb)->erase_count; in mtdswap_check_counts()
466 rb_erase(&eb->rb, &hist_root); in mtdswap_check_counts()
625 eb = rb_entry(rb_first(clean_root), struct swap_eb, rb); in mtdswap_map_free_block()
626 rb_erase(&eb->rb, clean_root); in mtdswap_map_free_block()
910 eb = rb_entry(rb_first(rp), struct swap_eb, rb); in mtdswap_pick_gc_eblk()
912 rb_erase(&eb->rb, rp); in mtdswap_pick_gc_eblk()
1239 rb)->erase_count; in mtdswap_show()
1241 rb)->erase_count; in mtdswap_show()