Searched refs:bpf_local_storage_map (Results 1 – 5 of 5) sorted by relevance
| /linux/include/linux/ |
| H A D | bpf_local_storage.h | 45 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 D | bpf.h | 51 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 D | bpf_local_storage.c | 21 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/net/core/ |
| H A D | bpf_sk_storage.c | 24 struct bpf_local_storage_map *smap; in bpf_sk_storage_lookup() 31 smap = (struct bpf_local_storage_map *)map; in bpf_sk_storage_lookup() 108 sock->sk, (struct bpf_local_storage_map *)map, value, in bpf_fd_sk_storage_update_elem() 135 struct bpf_local_storage_map *smap, in bpf_sk_storage_clone_elem() 171 struct bpf_local_storage_map *smap; in bpf_sk_storage_clone() 251 sk, (struct bpf_local_storage_map *)map, value, in BPF_CALL_4() 281 static int bpf_sk_storage_charge(struct bpf_local_storage_map *smap, in bpf_sk_storage_charge() 298 static void bpf_sk_storage_uncharge(struct bpf_local_storage_map *smap, in bpf_sk_storage_uncharge() 534 static int diag_get(struct bpf_local_storage_map *smap, in diag_get() 578 struct bpf_local_storage_map *smap; in bpf_sk_storage_diag_put_all() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | map_ptr_kern.c | 611 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()
|