Lines Matching refs:rb_node
16 struct rb_node *strlist__node_new(struct rblist *rblist, const void *entry) in strlist__node_new()
19 struct rb_node *rc = NULL; in strlist__node_new()
30 rc = &snode->rb_node; in strlist__node_new()
48 void strlist__node_delete(struct rblist *rblist, struct rb_node *rb_node) in strlist__node_delete() argument
51 struct str_node *snode = container_of(rb_node, struct str_node, rb_node); in strlist__node_delete()
56 static int strlist__node_cmp(struct rb_node *rb_node, const void *entry) in strlist__node_cmp() argument
59 struct str_node *snode = container_of(rb_node, struct str_node, rb_node); in strlist__node_cmp()
98 rblist__remove_node(&slist->rblist, &snode->rb_node); in strlist__remove()
104 struct rb_node *rb_node = rblist__find(&slist->rblist, entry); in strlist__find() local
106 if (rb_node) in strlist__find()
107 snode = container_of(rb_node, struct str_node, rb_node); in strlist__find()
202 struct rb_node *rb_node; in strlist__entry() local
204 rb_node = rblist__entry(&slist->rblist, idx); in strlist__entry()
205 if (rb_node) in strlist__entry()
206 snode = container_of(rb_node, struct str_node, rb_node); in strlist__entry()