Home
last modified time | relevance | path

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

/linux-6.15/tools/perf/util/
H A 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()
42 zfree((char **)&snode->s); in str_node__delete()
43 free(snode); in str_node__delete()
60 return strcmp(snode->s, str); in strlist__node_cmp()
102 struct str_node *snode = NULL; in strlist__find() local
108 return snode; in strlist__find()
[all …]
H A Dprobe-file.c951 struct str_node *snode; in probe_cache_entry__write() local
969 strlist__for_each_entry(snode, entry->tevlist) { in probe_cache_entry__write()
970 iov[0].iov_base = (void *)snode->s; in probe_cache_entry__write()
971 iov[0].iov_len = strlen(snode->s); in probe_cache_entry__write()
/linux-6.15/drivers/accel/amdxdna/
H A Daie2_solver.c192 col = snode->start_cols[i]; in get_free_partition()
197 if (i == snode->cols_len) in get_free_partition()
217 snode->pt_node = pt_node; in get_free_partition()
257 snode->pt_node = rpt_node; in allocate_partition()
294 action->rid = snode->rid; in fill_load_action()
302 struct solver_node *snode; in xrs_allocate_resource() local
321 if (IS_ERR(snode)) in xrs_allocate_resource()
322 return PTR_ERR(snode); in xrs_allocate_resource()
333 snode->dpm_level = dpm_level; in xrs_allocate_resource()
334 snode->cb_arg = cb_arg; in xrs_allocate_resource()
[all …]
/linux-6.15/drivers/net/
H A Damt.c102 kfree_rcu(snode, rcu); in __amt_source_gc_work()
193 return snode; in amt_lookup_src()
369 snode = kzalloc(sizeof(*snode), GFP_ATOMIC); in amt_alloc_snode()
370 if (!snode) in amt_alloc_snode()
374 snode->gnode = gnode; in amt_alloc_snode()
380 return snode; in amt_alloc_snode()
1427 if (snode) { in amt_add_srcs()
1512 if (!snode) in amt_lookup_act_srcs()
1535 if (!snode) in amt_lookup_act_srcs()
1578 if (!snode) { in amt_lookup_act_srcs()
[all …]
/linux-6.15/kernel/trace/
H A 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-6.15/kernel/bpf/
H A Dbpf_local_storage.c56 return !hlist_unhashed_lockless(&selem->snode); in selem_linked_to_storage_lockless()
61 return !hlist_unhashed(&selem->snode); in selem_linked_to_storage()
303 free_local_storage = hlist_is_singular_node(&selem->snode, in bpf_selem_unlink_storage_nolock()
326 hlist_del_init_rcu(&selem->snode); in bpf_selem_unlink_storage_nolock()
367 selem = hlist_entry(n, struct bpf_local_storage_elem, snode); in check_storage_bpf_ma()
409 hlist_add_head_rcu(&selem->snode, &local_storage->list); in bpf_selem_link_storage_nolock()
759 hlist_for_each_entry_safe(selem, n, &local_storage->list, snode) { in bpf_local_storage_destroy()
/linux-6.15/include/linux/
H A Dbpf_local_storage.h78 struct hlist_node snode; /* Linked to bpf_local_storage */ member
157 hlist_for_each_entry_rcu(selem, &local_storage->list, snode, in bpf_local_storage_lookup()
/linux-6.15/net/core/
H A Dbpf_sk_storage.c171 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-6.15/security/selinux/ss/
H A Dservices.c635 struct ebitmap_node *snode, *tnode; in context_struct_compute_av() local
660 ebitmap_for_each_positive_bit(sattr, snode, i) { in context_struct_compute_av()
1041 struct ebitmap_node *snode, *tnode; in security_compute_xperms_decision() local
1090 ebitmap_for_each_positive_bit(sattr, snode, i) { in security_compute_xperms_decision()