Lines Matching defs:rb_node
13 static struct rb_node *intlist__node_new(struct rblist *rblist __maybe_unused,
17 struct rb_node *rc = NULL;
23 rc = &node->rb_node;
35 struct rb_node *rb_node)
37 struct int_node *node = container_of(rb_node, struct int_node, rb_node);
42 static int intlist__node_cmp(struct rb_node *rb_node, const void *entry)
45 struct int_node *node = container_of(rb_node, struct int_node, rb_node);
62 rblist__remove_node(&ilist->rblist, &node->rb_node);
69 struct rb_node *rb_node;
75 rb_node = rblist__findnew(&ilist->rblist, (void *)i);
77 rb_node = rblist__find(&ilist->rblist, (void *)i);
79 if (rb_node)
80 node = container_of(rb_node, struct int_node, rb_node);
143 struct rb_node *rb_node;
145 rb_node = rblist__entry(&ilist->rblist, idx);
146 if (rb_node)
147 node = container_of(rb_node, struct int_node, rb_node);