Lines Matching refs:rb_node
141 struct rb_node **p, *parent = NULL; in wl_tree_add()
143 p = &root->rb_node; in wl_tree_add()
244 struct rb_node *p; in in_wl_tree()
246 p = root->rb_node; in in_wl_tree()
329 struct rb_node *p; in find_wl_entry()
336 p = root->rb_node; in find_wl_entry()
372 e = rb_entry(root->rb_node, struct ubi_wl_entry, u.rb); in find_mean_wl_entry()
688 if (!ubi->free.rb_node ||
690 (!ubi->used.rb_node && !ubi->scrub.rb_node)) {
702 !ubi->free.rb_node, !ubi->used.rb_node);
732 } else if (!ubi->scrub.rb_node) {
734 if (!ubi->scrub.rb_node) {
1043 if (!ubi->scrub.rb_node) {
1051 if (!ubi->used.rb_node || !ubi->free.rb_node)
1638 struct rb_node *rb;
1641 rb = root->rb_node;
1802 struct rb_node *rb1, *rb2;
2115 while (!ubi->free.rb_node && ubi->works_count) {
2145 if (!ubi->free.rb_node) {