Home | History | Annotate | Download | only in util

Lines Matching refs:str_node

14 struct str_node {
28 void strlist__remove(struct strlist *self, struct str_node *sn);
32 struct str_node *strlist__entry(const struct strlist *self, unsigned int idx);
33 struct str_node *strlist__find(struct strlist *self, const char *entry);
51 static inline struct str_node *strlist__first(struct strlist *self)
54 return rn ? rb_entry(rn, struct str_node, rb_node) : NULL;
56 static inline struct str_node *strlist__next(struct str_node *sn)
62 return rn ? rb_entry(rn, struct str_node, rb_node) : NULL;
67 * @pos: the &struct str_node to use as a loop cursor.
75 * str_node
76 * @pos: the &struct str_node to use as a loop cursor.
77 * @n: another &struct str_node to use as temporary storage.