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()
666 if (!ubi->free.rb_node ||
667 (!ubi->used.rb_node && !ubi->scrub.rb_node)) {
679 !ubi->free.rb_node, !ubi->used.rb_node);
699 } else if (!ubi->scrub.rb_node) {
701 if (!ubi->scrub.rb_node) {
968 if (!ubi->scrub.rb_node) {
969 if (!ubi->used.rb_node || !ubi->free.rb_node)
1386 struct rb_node *rb;
1389 rb = root->rb_node;
1499 struct rb_node *rb1, *rb2;
1787 while (!ubi->free.rb_node && ubi->works_count) {
1817 if (!ubi->free.rb_node) {