Searched refs:bpf_local_storage_map (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.10/include/linux/ |
| D | bpf_local_storage.h | 42 struct bpf_local_storage_map { struct 63 struct bpf_local_storage_map __rcu *smap; argument 122 struct bpf_local_storage_map *bpf_local_storage_map_alloc(union bpf_attr *attr); 126 struct bpf_local_storage_map *smap, 129 void bpf_local_storage_map_free(struct bpf_local_storage_map *smap); 145 void bpf_selem_link_map(struct bpf_local_storage_map *smap, 151 bpf_selem_alloc(struct bpf_local_storage_map *smap, void *owner, void *value, 156 struct bpf_local_storage_map *smap, 160 bpf_local_storage_update(void *owner, struct bpf_local_storage_map *smap,
|
| D | bpf.h | 38 struct bpf_local_storage_map; 110 int (*map_local_storage_charge)(struct bpf_local_storage_map *smap, 112 void (*map_local_storage_uncharge)(struct bpf_local_storage_map *smap,
|
| /Linux-v5.10/kernel/bpf/ |
| D | bpf_local_storage.c | 18 select_bucket(struct bpf_local_storage_map *smap, in select_bucket() 24 static int mem_charge(struct bpf_local_storage_map *smap, void *owner, u32 size) in mem_charge() 34 static void mem_uncharge(struct bpf_local_storage_map *smap, void *owner, in mem_uncharge() 44 owner_storage(struct bpf_local_storage_map *smap, void *owner) in owner_storage() 62 bpf_selem_alloc(struct bpf_local_storage_map *smap, void *owner, in bpf_selem_alloc() 91 struct bpf_local_storage_map *smap; in bpf_selem_unlink_storage_nolock() 167 struct bpf_local_storage_map *smap; in bpf_selem_unlink_map() 182 void bpf_selem_link_map(struct bpf_local_storage_map *smap, in bpf_selem_link_map() 205 struct bpf_local_storage_map *smap, in bpf_local_storage_lookup() 256 struct bpf_local_storage_map *smap, in bpf_local_storage_alloc() [all …]
|
| D | bpf_inode_storage.c | 40 struct bpf_local_storage_map *smap; in inode_storage_lookup() 51 smap = (struct bpf_local_storage_map *)map; in inode_storage_lookup() 132 (struct bpf_local_storage_map *)map, in bpf_fd_inode_storage_update_elem() 191 inode, (struct bpf_local_storage_map *)map, value, in BPF_CALL_4() 217 struct bpf_local_storage_map *smap; in inode_storage_map_alloc() 229 struct bpf_local_storage_map *smap; in inode_storage_map_free() 231 smap = (struct bpf_local_storage_map *)map; in inode_storage_map_free()
|
| /Linux-v5.10/net/core/ |
| D | bpf_sk_storage.c | 34 struct bpf_local_storage_map *smap; in sk_storage_lookup() 40 smap = (struct bpf_local_storage_map *)map; in sk_storage_lookup() 99 struct bpf_local_storage_map *smap; in sk_storage_map_free() 101 smap = (struct bpf_local_storage_map *)map; in sk_storage_map_free() 108 struct bpf_local_storage_map *smap; in sk_storage_map_alloc() 152 sock->sk, (struct bpf_local_storage_map *)map, value, in bpf_fd_sk_storage_update_elem() 179 struct bpf_local_storage_map *smap, in bpf_sk_storage_clone_elem() 215 struct bpf_local_storage_map *smap; in bpf_sk_storage_clone() 287 sk, (struct bpf_local_storage_map *)map, value, in BPF_CALL_4() 316 static int sk_storage_charge(struct bpf_local_storage_map *smap, in sk_storage_charge() [all …]
|
| /Linux-v5.10/tools/testing/selftests/bpf/progs/ |
| D | map_ptr_kern.c | 600 struct bpf_local_storage_map { struct 613 struct bpf_local_storage_map *sk_storage = in check_sk_storage() argument 614 (struct bpf_local_storage_map *)&m_sk_storage; in check_sk_storage()
|