Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/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.4/net/core/
Dbpf_sk_storage.c69 struct hlist_node snode; /* Linked to bpf_sk_storage */ member
113 return !hlist_unhashed(&selem->snode); in selem_linked_to_sk()
164 free_sk_storage = hlist_is_singular_node(&selem->snode, in __selem_unlink_sk()
186 hlist_del_init_rcu(&selem->snode); in __selem_unlink_sk()
219 hlist_add_head(&selem->snode, &sk_storage->list); in __selem_link_sk()
274 hlist_for_each_entry_rcu(selem, &sk_storage->list, snode) in __sk_storage_lookup()
539 hlist_for_each_entry_safe(selem, n, &sk_storage->list, snode) { in bpf_sk_storage_free()
787 hlist_for_each_entry_rcu(selem, &sk_storage->list, snode) { in bpf_sk_storage_clone()
/Linux-v5.4/drivers/misc/mic/bus/
Dscif_bus.h51 u8 snode; member
109 struct scif_hw_ops *hw_ops, u8 dnode, u8 snode,
Dscif_bus.c134 struct scif_hw_ops *hw_ops, u8 dnode, u8 snode, in scif_register_device() argument
153 sdev->snode = snode; in scif_register_device()
/Linux-v5.4/drivers/misc/mic/scif/
Dscif_main.c148 struct scif_dev *loopb_dev = &scif_dev[sdev->snode]; in scif_probe()
190 scif_destroy_loopback_qp(&scif_dev[sdev->snode]); in scif_probe()
230 scif_destroy_loopback_qp(&scif_dev[sdev->snode]); in scif_remove()
/Linux-v5.4/drivers/net/appletalk/
Dltpc.h59 unsigned char snode; member
Dltpc.c723 int dnode, snode, llaptype, len; in sendup_buffer() local
733 snode = ltc->snode; in sendup_buffer()
767 skb->data[1] = snode; in sendup_buffer()
/Linux-v5.4/security/selinux/ss/
Dservices.c626 struct ebitmap_node *snode, *tnode; in context_struct_compute_av() local
653 ebitmap_for_each_positive_bit(sattr, snode, i) { in context_struct_compute_av()
1012 struct ebitmap_node *snode, *tnode; in security_compute_xperms_decision() local
1059 ebitmap_for_each_positive_bit(sattr, snode, i) { in security_compute_xperms_decision()