Searched refs:selem (Results 1 - 3 of 3) sorted by relevance

/linux-master/kernel/bpf/
H A Dbpf_local_storage.c22 struct bpf_local_storage_elem *selem)
24 return &smap->buckets[hash_ptr(selem, smap->bucket_log)];
54 static bool selem_linked_to_storage_lockless(const struct bpf_local_storage_elem *selem) argument
56 return !hlist_unhashed_lockless(&selem->snode);
59 static bool selem_linked_to_storage(const struct bpf_local_storage_elem *selem) argument
61 return !hlist_unhashed(&selem->snode);
64 static bool selem_linked_to_map_lockless(const struct bpf_local_storage_elem *selem) argument
66 return !hlist_unhashed_lockless(&selem->map_node);
69 static bool selem_linked_to_map(const struct bpf_local_storage_elem *selem) argument
71 return !hlist_unhashed(&selem
21 select_bucket(struct bpf_local_storage_map *smap, struct bpf_local_storage_elem *selem) argument
78 struct bpf_local_storage_elem *selem; local
190 struct bpf_local_storage_elem *selem; local
200 __bpf_selem_free(struct bpf_local_storage_elem *selem, bool vanilla_rcu) argument
211 struct bpf_local_storage_elem *selem; local
225 bpf_selem_free(struct bpf_local_storage_elem *selem, struct bpf_local_storage_map *smap, bool reuse_now) argument
253 bpf_selem_unlink_storage_nolock(struct bpf_local_storage *local_storage, struct bpf_local_storage_elem *selem, bool uncharge_mem, bool reuse_now) argument
307 check_storage_bpf_ma(struct bpf_local_storage *local_storage, struct bpf_local_storage_map *storage_smap, struct bpf_local_storage_elem *selem) argument
342 bpf_selem_unlink_storage(struct bpf_local_storage_elem *selem, bool reuse_now) argument
370 bpf_selem_link_storage_nolock(struct bpf_local_storage *local_storage, struct bpf_local_storage_elem *selem) argument
377 bpf_selem_unlink_map(struct bpf_local_storage_elem *selem) argument
395 bpf_selem_link_map(struct bpf_local_storage_map *smap, struct bpf_local_storage_elem *selem) argument
407 bpf_selem_unlink(struct bpf_local_storage_elem *selem, bool reuse_now) argument
417 __bpf_local_storage_insert_cache(struct bpf_local_storage *local_storage, struct bpf_local_storage_map *smap, struct bpf_local_storage_elem *selem) argument
530 struct bpf_local_storage_elem *alloc_selem, *selem = NULL; local
707 struct bpf_local_storage_elem *selem; local
827 struct bpf_local_storage_elem *selem; local
[all...]
/linux-master/include/linux/
H A Dbpf_local_storage.h134 struct bpf_local_storage_elem *selem);
142 struct bpf_local_storage_elem *selem; local
151 hlist_for_each_entry_rcu(selem, &local_storage->list, snode,
153 if (rcu_access_pointer(SDATA(selem)->smap) == smap)
156 if (!selem)
159 __bpf_local_storage_insert_cache(local_storage, smap, selem);
160 return SDATA(selem);
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-master/net/core/
H A Dbpf_sk_storage.c136 struct bpf_local_storage_elem *selem)
146 SDATA(selem)->data, true);
149 SDATA(selem)->data);
158 struct bpf_local_storage_elem *selem; local
169 hlist_for_each_entry_rcu(selem, &sk_storage->list, snode) {
174 smap = rcu_dereference(SDATA(selem)->smap);
187 copy_selem = bpf_sk_storage_clone_elem(newsk, smap, selem);
588 struct bpf_local_storage_elem *selem; local
608 hlist_for_each_entry_rcu(selem, &sk_storage->list, snode) {
609 smap = rcu_dereference(SDATA(selem)
134 bpf_sk_storage_clone_elem(struct sock *newsk, struct bpf_local_storage_map *smap, struct bpf_local_storage_elem *selem) argument
714 struct bpf_local_storage_elem *selem; local
771 struct bpf_local_storage_elem *selem; local
803 __bpf_sk_storage_map_seq_show(struct seq_file *seq, struct bpf_local_storage_elem *selem) argument
[all...]

Completed in 147 milliseconds