Home
last modified time | relevance | path

Searched refs:snode (Results 1 – 2 of 2) sorted by relevance

/tools/perf/util/
Dstrlist.c20 struct str_node *snode = malloc(sizeof(*snode)); in strlist__node_new() local
22 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() argument
42 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() local
52 str_node__delete(snode, slist->dupstr); in strlist__node_delete()
[all …]
Dprobe-file.c871 struct str_node *snode; in probe_cache_entry__write() local
889 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()