Lines Matching refs:rb_node
154 struct rb_node **p, *parent = NULL; in wl_tree_add()
156 p = &root->rb_node; in wl_tree_add()
251 struct rb_node *p; in in_wl_tree()
253 p = root->rb_node; in in_wl_tree()
313 struct rb_node *p; in find_wl_entry()
320 p = root->rb_node; in find_wl_entry()
362 e = rb_entry(root->rb_node, struct ubi_wl_entry, u.rb); in find_mean_wl_entry()
669 if (!ubi->free.rb_node ||
670 (!ubi->used.rb_node && !ubi->scrub.rb_node)) {
682 !ubi->free.rb_node, !ubi->used.rb_node);
702 } else if (!ubi->scrub.rb_node) {
704 if (!ubi->scrub.rb_node) {
971 if (!ubi->scrub.rb_node) {
972 if (!ubi->used.rb_node || !ubi->free.rb_node)
1381 struct rb_node *rb;
1384 rb = root->rb_node;
1494 struct rb_node *rb1, *rb2;
1782 while (!ubi->free.rb_node && ubi->works_count) {
1812 if (!ubi->free.rb_node) {