Lines Matching refs:str_node
20 struct str_node *snode = malloc(sizeof(*snode)); in strlist__node_new()
39 static void str_node__delete(struct str_node *snode, bool dupstr) in str_node__delete()
50 struct str_node *snode = container_of(rb_node, struct str_node, rb_node); in strlist__node_delete()
58 struct str_node *snode = container_of(rb_node, struct str_node, rb_node); in strlist__node_cmp()
95 void strlist__remove(struct strlist *slist, struct str_node *snode) in strlist__remove()
100 struct str_node *strlist__find(struct strlist *slist, const char *entry) in strlist__find()
102 struct str_node *snode = NULL; in strlist__find()
106 snode = container_of(rb_node, struct str_node, rb_node); in strlist__find()
198 struct str_node *strlist__entry(const struct strlist *slist, unsigned int idx) in strlist__entry()
200 struct str_node *snode = NULL; in strlist__entry()
205 snode = container_of(rb_node, struct str_node, rb_node); in strlist__entry()