Home
last modified time | relevance | path

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

/Linux-v5.15/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.c970 struct str_node *snode; in probe_cache_entry__write() local
988 strlist__for_each_entry(snode, entry->tevlist) { in probe_cache_entry__write()
989 iov[0].iov_base = (void *)snode->s; in probe_cache_entry__write()
990 iov[0].iov_len = strlen(snode->s); in probe_cache_entry__write()
/Linux-v5.15/kernel/trace/
Dtrace_stat.c49 struct stat_node *snode, *n; in __reset_stat_session() local
51 rbtree_postorder_for_each_entry_safe(snode, n, &session->stat_root, node) { in __reset_stat_session()
53 session->ts->stat_release(snode->stat); in __reset_stat_session()
54 kfree(snode); in __reset_stat_session()
/Linux-v5.15/kernel/bpf/
Dbpf_local_storage.c53 return !hlist_unhashed(&selem->snode); in selem_linked_to_storage()
106 free_local_storage = hlist_is_singular_node(&selem->snode, in bpf_selem_unlink_storage_nolock()
129 hlist_del_init_rcu(&selem->snode); in bpf_selem_unlink_storage_nolock()
164 hlist_add_head_rcu(&selem->snode, &local_storage->list); in bpf_selem_link_storage_nolock()
221 hlist_for_each_entry_rcu(selem, &local_storage->list, snode) in bpf_local_storage_lookup()
Dbpf_inode_storage.c85 hlist_for_each_entry_safe(selem, n, &local_storage->list, snode) { in bpf_inode_storage_free()
Dbpf_task_storage.c97 hlist_for_each_entry_safe(selem, n, &local_storage->list, snode) { in bpf_task_storage_free()
/Linux-v5.15/drivers/net/appletalk/
Dltpc.h59 unsigned char snode; member
Dltpc.c727 int dnode, snode, llaptype, len; in sendup_buffer() local
737 snode = ltc->snode; in sendup_buffer()
771 skb->data[1] = snode; in sendup_buffer()
/Linux-v5.15/include/linux/
Dbpf_local_storage.h70 struct hlist_node snode; /* Linked to bpf_local_storage */ member
/Linux-v5.15/net/core/
Dbpf_sk_storage.c71 hlist_for_each_entry_safe(selem, n, &sk_storage->list, snode) { in bpf_sk_storage_free()
202 hlist_for_each_entry_rcu(selem, &sk_storage->list, snode) { in bpf_sk_storage_clone()
628 hlist_for_each_entry_rcu(selem, &sk_storage->list, snode) { in bpf_sk_storage_diag_put_all()
/Linux-v5.15/security/selinux/ss/
Dservices.c632 struct ebitmap_node *snode, *tnode; in context_struct_compute_av() local
659 ebitmap_for_each_positive_bit(sattr, snode, i) { in context_struct_compute_av()
1030 struct ebitmap_node *snode, *tnode; in security_compute_xperms_decision() local
1078 ebitmap_for_each_positive_bit(sattr, snode, i) { in security_compute_xperms_decision()