Lines Matching refs:rb_node
147 struct rb_node **p, *parent = NULL; in wl_tree_add()
149 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()
306 struct rb_node *p; in find_wl_entry()
313 p = root->rb_node; in find_wl_entry()
355 e = rb_entry(root->rb_node, struct ubi_wl_entry, u.rb); in find_mean_wl_entry()
695 if (!ubi->free.rb_node ||
696 (!ubi->used.rb_node && !ubi->scrub.rb_node)) {
708 !ubi->free.rb_node, !ubi->used.rb_node);
728 } else if (!ubi->scrub.rb_node) {
730 if (!ubi->scrub.rb_node) {
997 if (!ubi->scrub.rb_node) {
998 if (!ubi->used.rb_node || !ubi->free.rb_node)
1414 struct rb_node *rb;
1417 rb = root->rb_node;
1531 struct rb_node *rb1, *rb2;
1818 while (!ubi->free.rb_node && ubi->works_count) {
1848 if (!ubi->free.rb_node) {