Searched refs:snode (Results 1 – 2 of 2) sorted by relevance
20 struct str_node *snode = malloc(sizeof(*snode)); in strlist__node_new() local22 if (snode != NULL) { in strlist__node_new()28 snode->s = s; in strlist__node_new()29 rc = &snode->rb_node; in strlist__node_new()35 free(snode); in strlist__node_new()39 static void str_node__delete(struct str_node *snode, bool dupstr) in str_node__delete() argument42 zfree((char **)&snode->s); in str_node__delete()43 free(snode); in str_node__delete()50 struct str_node *snode = container_of(rb_node, struct str_node, rb_node); in strlist__node_delete() local52 str_node__delete(snode, slist->dupstr); in strlist__node_delete()[all …]
871 struct str_node *snode; in probe_cache_entry__write() local889 strlist__for_each_entry(snode, entry->tevlist) { in probe_cache_entry__write()890 iov[0].iov_base = (void *)snode->s; in probe_cache_entry__write()891 iov[0].iov_len = strlen(snode->s); in probe_cache_entry__write()