Searched refs:bpf_local_storage_map (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.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 | 39 struct bpf_local_storage_map; 111 int (*map_local_storage_charge)(struct bpf_local_storage_map *smap, 113 void (*map_local_storage_uncharge)(struct bpf_local_storage_map *smap,
|
/kernel/linux/linux-5.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() 136 (struct bpf_local_storage_map *)map, in bpf_fd_inode_storage_update_elem() 195 inode, (struct bpf_local_storage_map *)map, value, in BPF_CALL_4() 224 struct bpf_local_storage_map *smap; in inode_storage_map_alloc() 236 struct bpf_local_storage_map *smap; in inode_storage_map_free() 238 smap = (struct bpf_local_storage_map *)map; in inode_storage_map_free()
|
/kernel/linux/linux-5.10/net/core/ |
D | bpf_sk_storage.c | 22 struct bpf_local_storage_map *smap; in sk_storage_lookup() 28 smap = (struct bpf_local_storage_map *)map; in sk_storage_lookup() 87 struct bpf_local_storage_map *smap; in sk_storage_map_free() 89 smap = (struct bpf_local_storage_map *)map; in sk_storage_map_free() 96 struct bpf_local_storage_map *smap; in sk_storage_map_alloc() 140 sock->sk, (struct bpf_local_storage_map *)map, value, in bpf_fd_sk_storage_update_elem() 167 struct bpf_local_storage_map *smap, in bpf_sk_storage_clone_elem() 203 struct bpf_local_storage_map *smap; in bpf_sk_storage_clone() 275 sk, (struct bpf_local_storage_map *)map, value, in BPF_CALL_4() 304 static int sk_storage_charge(struct bpf_local_storage_map *smap, in sk_storage_charge() [all …]
|
/kernel/linux/linux-5.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()
|