Lines Matching defs:rb
164 * @u.rb: link in the corresponding (free/used) RB-tree
175 struct rb_node rb;
184 * @rb: links RB-tree nodes
197 struct rb_node rb;
644 * @u.rb: link in the per-volume RB-tree of &struct ubi_ainf_peb objects
660 struct rb_node rb;
679 * @rb: link in the volume RB-tree
695 struct rb_node rb;
962 ubi_rb_for_each_entry((tmp_rb), (e), &(ubi)->free, u.rb)
971 ubi_rb_for_each_entry((tmp_rb), (e), &(ubi)->used, u.rb)
980 ubi_rb_for_each_entry((tmp_rb), (e), &(ubi)->scrub, u.rb)
994 * @rb: a pointer to type 'struct rb_node' to use as a loop counter
999 #define ubi_rb_for_each_entry(rb, pos, root, member) \
1000 for (rb = rb_first(root), \
1001 pos = (rb ? container_of(rb, typeof(*pos), member) : NULL); \
1002 rb; \
1003 rb = rb_next(rb), \
1004 pos = (rb ? container_of(rb, typeof(*pos), member) : NULL))
1017 rb_erase(&aeb->u.rb, &av->root);