Home
last modified time | relevance | path

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

/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()
75 bpf_selem_alloc(struct bpf_local_storage_map *smap, void *owner, in bpf_selem_alloc()
195 struct bpf_local_storage_map *smap; in __bpf_selem_free_trace_rcu()
218 struct bpf_local_storage_map *smap; in bpf_selem_free_rcu()
267 struct bpf_local_storage_map *smap; in bpf_selem_free_list()
352 struct bpf_local_storage_map *smap; in check_storage_bpf_ma()
368 void bpf_selem_link_map(struct bpf_local_storage_map *sma in check_storage_bpf_ma()
[all...]
/linux/net/core/
H A Dbpf_sk_storage.c24 struct bpf_local_storage_map *smap; in bpf_sk_storage_lookup()
31 smap = (struct bpf_local_storage_map *)map; in bpf_sk_storage_lookup()
107 sock->sk, (struct bpf_local_storage_map *)map, value, in bpf_fd_sk_storage_update_elem()
134 struct bpf_local_storage_map *smap,
170 struct bpf_local_storage_map *smap; in bpf_sk_storage_clone()
244 sk, (struct bpf_local_storage_map *)map, value, in BPF_CALL_5()
274 static int bpf_sk_storage_charge(struct bpf_local_storage_map *smap, in BPF_CALL_2()
291 static void bpf_sk_storage_uncharge(struct bpf_local_storage_map *smap, in bpf_sk_storage_charge()
481 /* bpf_local_storage_map is currently limited to CAP_SYS_ADMIN as in bpf_sk_storage_diag_alloc()
531 struct bpf_local_storage_map *sma
[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()