Home
last modified time | relevance | path

Searched refs:bpf_local_storage_map (Results 1 – 4 of 4) sorted by relevance

/linux/include/linux/
H A Dbpf_local_storage.h45 struct bpf_local_storage_map { struct
66 struct bpf_local_storage_map __rcu *smap; argument
140 struct bpf_local_storage_map *smap,
145 struct bpf_local_storage_map *smap, in bpf_local_storage_lookup()
185 int bpf_selem_link_map(struct bpf_local_storage_map *smap,
190 bpf_selem_alloc(struct bpf_local_storage_map *smap, void *owner, void *value,
198 struct bpf_local_storage_map *smap,
202 bpf_local_storage_update(void *owner, struct bpf_local_storage_map *smap,
H A Dbpf.h51 struct bpf_local_storage_map;
151 int (*map_local_storage_charge)(struct bpf_local_storage_map *smap,
153 void (*map_local_storage_uncharge)(struct bpf_local_storage_map *smap,
/linux/kernel/bpf/
H A Dbpf_local_storage.c21 select_bucket(struct bpf_local_storage_map *smap, in select_bucket()
27 static int mem_charge(struct bpf_local_storage_map *smap, void *owner, u32 size) in mem_charge()
37 static void mem_uncharge(struct bpf_local_storage_map *smap, void *owner, in mem_uncharge()
47 owner_storage(struct bpf_local_storage_map *smap, void *owner) in owner_storage()
70 bpf_selem_alloc(struct bpf_local_storage_map *smap, void *owner, in bpf_selem_alloc()
129 struct bpf_local_storage_map *smap; in bpf_selem_free_trace_rcu()
147 struct bpf_local_storage_map *smap; in bpf_selem_free()
176 struct bpf_local_storage_map *smap, in bpf_selem_unlink_storage_nolock_misc()
213 struct bpf_local_storage_map *smap; in bpf_selem_unlink_storage_nolock()
234 struct bpf_local_storage_map *smap; in bpf_selem_link_storage_nolock()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dmap_ptr_kern.c611 struct bpf_local_storage_map { struct
624 struct bpf_local_storage_map *sk_storage = in check_sk_storage() argument
625 (struct bpf_local_storage_map *)&m_sk_storage; in check_sk_storage()