Searched refs:selem (Results 1 – 3 of 3) sorted by relevance
| /linux/kernel/bpf/ |
| A D | bpf_local_storage.c | 87 if (selem) in bpf_selem_alloc() 101 if (selem) { in bpf_selem_alloc() 105 return selem; in bpf_selem_alloc() 194 kfree(selem); in __bpf_selem_free_trace_rcu() 196 kfree_rcu(selem, rcu); in __bpf_selem_free_trace_rcu() 204 kfree_rcu(selem, rcu); in __bpf_selem_free() 296 SDATA(selem)) in bpf_selem_unlink_storage_nolock() 327 if (!selem) { in check_storage_bpf_ma() 554 if (!selem) in bpf_local_storage_update() 564 return SDATA(selem); in bpf_local_storage_update() [all …]
|
| /linux/include/linux/ |
| A D | bpf_local_storage.h | 134 struct bpf_local_storage_elem *selem); 142 struct bpf_local_storage_elem *selem; in bpf_local_storage_lookup() local 151 hlist_for_each_entry_rcu(selem, &local_storage->list, snode, in bpf_local_storage_lookup() 153 if (rcu_access_pointer(SDATA(selem)->smap) == smap) in bpf_local_storage_lookup() 156 if (!selem) in bpf_local_storage_lookup() 159 __bpf_local_storage_insert_cache(local_storage, smap, selem); in bpf_local_storage_lookup() 160 return SDATA(selem); in bpf_local_storage_lookup() 175 struct bpf_local_storage_elem *selem); 177 void bpf_selem_unlink(struct bpf_local_storage_elem *selem, bool reuse_now); 180 struct bpf_local_storage_elem *selem); [all …]
|
| /linux/net/core/ |
| A D | bpf_sk_storage.c | 146 SDATA(selem)->data, true); in bpf_sk_storage_clone_elem() 149 SDATA(selem)->data); in bpf_sk_storage_clone_elem() 722 selem = prev_selem; in bpf_sk_storage_map_seq_find_next() 724 while (selem) { in bpf_sk_storage_map_seq_find_next() 725 selem = hlist_entry_safe(rcu_dereference(hlist_next_rcu(&selem->map_node)), in bpf_sk_storage_map_seq_find_next() 727 if (!selem) { in bpf_sk_storage_map_seq_find_next() 737 return selem; in bpf_sk_storage_map_seq_find_next() 751 return selem; in bpf_sk_storage_map_seq_find_next() 769 if (!selem) in bpf_sk_storage_map_seq_start() 774 return selem; in bpf_sk_storage_map_seq_start() [all …]
|
Completed in 13 milliseconds