Lines Matching defs:rb
34 static inline struct i915_priolist *to_priolist(struct rb_node *rb)
36 return rb_entry(rb, struct i915_priolist, node);
41 struct rb_node *rb;
51 for (rb = rb_first_cached(&sched_engine->queue); rb; rb = rb_next(rb)) {
52 const struct i915_priolist *p = to_priolist(rb);
63 struct rb_node **parent, *rb;
74 rb = NULL;
77 rb = *parent;
78 p = to_priolist(rb);
80 parent = &rb->rb_left;
82 parent = &rb->rb_right;
117 rb_link_node(&p->node, rb, parent);