Searched refs:snode (Results 1 – 8 of 8) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | strlist.c | 19 struct str_node *snode = malloc(sizeof(*snode)); in strlist__node_new() local 21 if (snode != NULL) { in strlist__node_new() 22 snode->s = strdup(s); in strlist__node_new() 23 if (snode->s == NULL) in strlist__node_new() 25 rc = &snode->rb_node; in strlist__node_new() 31 free(snode); in strlist__node_new() 35 static void str_node__delete(struct str_node *snode) in str_node__delete() argument 37 zfree((char **)&snode->s); in str_node__delete() 38 free(snode); in str_node__delete() 44 struct str_node *snode = container_of(rb_node, struct str_node, rb_node); in strlist__node_delete() local [all …]
|
| H A D | probe-file.c | 954 struct str_node *snode; in probe_cache_entry__write() 972 strlist__for_each_entry(snode, entry->tevlist) { in probe_cache_entry__write() 973 iov[0].iov_base = (void *)snode->s; in probe_cache_entry__write() 974 iov[0].iov_len = strlen(snode->s); in probe_cache_entry__write() 952 struct str_node *snode; probe_cache_entry__write() local
|
| /linux/drivers/net/ |
| H A D | amt.c | 94 struct amt_source_node *snode; in __amt_source_gc_work() local 102 hlist_for_each_entry_safe(snode, t, &gc_list, node) { in __amt_source_gc_work() 103 hlist_del_rcu(&snode->node); in __amt_source_gc_work() 104 kfree_rcu(snode, rcu); in __amt_source_gc_work() 130 static bool amt_status_filter(struct amt_source_node *snode, in amt_status_filter() argument 137 if (snode->status == AMT_SOURCE_STATUS_FWD && in amt_status_filter() 138 snode->flags == AMT_SOURCE_OLD) in amt_status_filter() 142 if (snode->status == AMT_SOURCE_STATUS_D_FWD && in amt_status_filter() 143 snode->flags == AMT_SOURCE_OLD) in amt_status_filter() 147 if (snode->status == AMT_SOURCE_STATUS_FWD && in amt_status_filter() [all …]
|
| /linux/kernel/trace/ |
| H A D | trace_stat.c | 49 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/kernel/bpf/ |
| H A D | bpf_local_storage.c | 56 return !hlist_unhashed_lockless(&selem->snode); in selem_linked_to_storage_lockless() 61 return !hlist_unhashed(&selem->snode); in selem_linked_to_storage() 218 free_local_storage = hlist_is_singular_node(&selem->snode, in bpf_selem_unlink_storage_nolock() 224 hlist_del_init_rcu(&selem->snode); in bpf_selem_unlink_storage_nolock() 240 hlist_add_head_rcu(&selem->snode, &local_storage->list); in bpf_selem_link_storage_nolock() 396 free_storage = hlist_is_singular_node(&selem->snode, in bpf_selem_unlink_nofail() 407 hlist_del_init_rcu(&selem->snode); in bpf_selem_unlink_nofail() 746 hlist_for_each_entry_rcu(selem, &local_storage->list, snode) in bpf_local_storage_destroy()
|
| /linux/include/linux/ |
| H A D | bpf_local_storage.h | 78 struct hlist_node snode; /* Linked to bpf_local_storage */ member 158 hlist_for_each_entry_rcu(selem, &local_storage->list, snode, in bpf_local_storage_lookup()
|
| /linux/net/core/ |
| H A D | bpf_sk_storage.c | 167 hlist_for_each_entry_rcu(selem, &sk_storage->list, snode) { in bpf_sk_storage_clone() 595 hlist_for_each_entry_rcu(selem, &sk_storage->list, snode) { in bpf_sk_storage_diag_put_all()
|
| /linux/security/selinux/ss/ |
| H A D | services.c | 633 struct ebitmap_node *snode, *tnode; in context_struct_compute_av() local 658 ebitmap_for_each_positive_bit(sattr, snode, i) { in context_struct_compute_av() 1042 struct ebitmap_node *snode, *tnode; in security_compute_xperms_decision() local 1091 ebitmap_for_each_positive_bit(sattr, snode, i) { in security_compute_xperms_decision()
|