Lines Matching defs:str_node
7 struct str_node {
21 void strlist__remove(struct strlist *self, struct str_node *sn);
25 struct str_node *strlist__entry(const struct strlist *self, unsigned int idx);
26 struct str_node *strlist__find(struct strlist *self, const char *entry);
44 static inline struct str_node *strlist__first(struct strlist *self)
47 return rn ? rb_entry(rn, struct str_node, rb_node) : NULL;
49 static inline struct str_node *strlist__next(struct str_node *sn)
55 return rn ? rb_entry(rn, struct str_node, rb_node) : NULL;
60 * @pos: the &struct str_node to use as a loop cursor.
68 * str_node
69 * @pos: the &struct str_node to use as a loop cursor.
70 * @n: another &struct str_node to use as temporary storage.