Searched refs:bpf_local_storage_map (Results 1 – 7 of 7) sorted by relevance
| /Linux-v6.1/include/linux/ |
| D | bpf_local_storage.h | 46 struct bpf_local_storage_map { struct 67 struct bpf_local_storage_map __rcu *smap; argument 126 struct bpf_local_storage_map *bpf_local_storage_map_alloc(union bpf_attr *attr); 130 struct bpf_local_storage_map *smap, 133 void bpf_local_storage_map_free(struct bpf_local_storage_map *smap, 150 void bpf_selem_link_map(struct bpf_local_storage_map *smap, 156 bpf_selem_alloc(struct bpf_local_storage_map *smap, void *owner, void *value, 161 struct bpf_local_storage_map *smap, 166 bpf_local_storage_update(void *owner, struct bpf_local_storage_map *smap,
|
| D | bpf.h | 46 struct bpf_local_storage_map; 131 int (*map_local_storage_charge)(struct bpf_local_storage_map *smap, 133 void (*map_local_storage_uncharge)(struct bpf_local_storage_map *smap,
|
| /Linux-v6.1/kernel/bpf/ |
| D | bpf_inode_storage.c | 41 struct bpf_local_storage_map *smap; in inode_storage_lookup() 53 smap = (struct bpf_local_storage_map *)map; in inode_storage_lookup() 138 (struct bpf_local_storage_map *)map, in bpf_fd_inode_storage_update_elem() 199 inode, (struct bpf_local_storage_map *)map, value, in BPF_CALL_5() 229 struct bpf_local_storage_map *smap; in inode_storage_map_alloc() 241 struct bpf_local_storage_map *smap; in inode_storage_map_free() 243 smap = (struct bpf_local_storage_map *)map; in inode_storage_map_free() 249 bpf_local_storage_map)
|
| 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() 65 bpf_selem_alloc(struct bpf_local_storage_map *smap, void *owner, in bpf_selem_alloc() 111 struct bpf_local_storage_map *smap; in bpf_selem_unlink_storage_nolock() 198 struct bpf_local_storage_map *smap; in bpf_selem_unlink_map() 214 void bpf_selem_link_map(struct bpf_local_storage_map *smap, in bpf_selem_link_map() 238 struct bpf_local_storage_map *smap, in bpf_local_storage_lookup() 293 struct bpf_local_storage_map *smap, in bpf_local_storage_alloc() [all …]
|
| D | bpf_task_storage.c | 61 struct bpf_local_storage_map *smap; in task_storage_lookup() 68 smap = (struct bpf_local_storage_map *)map; in task_storage_lookup() 177 task, (struct bpf_local_storage_map *)map, value, map_flags, in bpf_pid_task_storage_update_elem() 254 task, (struct bpf_local_storage_map *)map, value, in BPF_CALL_5() 291 struct bpf_local_storage_map *smap; in task_storage_map_alloc() 303 struct bpf_local_storage_map *smap; in task_storage_map_free() 305 smap = (struct bpf_local_storage_map *)map; in task_storage_map_free() 310 BTF_ID_LIST_SINGLE(task_storage_map_btf_ids, struct, bpf_local_storage_map)
|
| /Linux-v6.1/net/core/ |
| 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() 90 struct bpf_local_storage_map *smap; in bpf_sk_storage_map_free() 92 smap = (struct bpf_local_storage_map *)map; in bpf_sk_storage_map_free() 99 struct bpf_local_storage_map *smap; in bpf_sk_storage_map_alloc() 143 sock->sk, (struct bpf_local_storage_map *)map, value, in bpf_fd_sk_storage_update_elem() 170 struct bpf_local_storage_map *smap, in bpf_sk_storage_clone_elem() 206 struct bpf_local_storage_map *smap; in bpf_sk_storage_clone() 280 sk, (struct bpf_local_storage_map *)map, value, in BPF_CALL_5() 310 static int bpf_sk_storage_charge(struct bpf_local_storage_map *smap, in bpf_sk_storage_charge() [all …]
|
| /Linux-v6.1/tools/testing/selftests/bpf/progs/ |
| D | map_ptr_kern.c | 606 struct bpf_local_storage_map { struct 619 struct bpf_local_storage_map *sk_storage = in check_sk_storage() argument 620 (struct bpf_local_storage_map *)&m_sk_storage; in check_sk_storage()
|