Searched refs:bpf_local_storage_map (Results 1 – 7 of 7) sorted by relevance
/linux/include/linux/ |
A 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, 146 void bpf_selem_link_map(struct bpf_local_storage_map *smap, 152 bpf_selem_alloc(struct bpf_local_storage_map *smap, void *owner, void *value, 157 struct bpf_local_storage_map *smap, 161 bpf_local_storage_update(void *owner, struct bpf_local_storage_map *smap,
|
A D | bpf.h | 41 struct bpf_local_storage_map; 121 int (*map_local_storage_charge)(struct bpf_local_storage_map *smap, 123 void (*map_local_storage_uncharge)(struct bpf_local_storage_map *smap,
|
/linux/kernel/bpf/ |
A D | bpf_local_storage.c | 18 select_bucket(struct bpf_local_storage_map *smap, in select_bucket() 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() 92 struct bpf_local_storage_map *smap; in bpf_selem_unlink_storage_nolock() 169 struct bpf_local_storage_map *smap; in bpf_selem_unlink_map() 185 void bpf_selem_link_map(struct bpf_local_storage_map *smap, in bpf_selem_link_map() 209 struct bpf_local_storage_map *smap, in bpf_local_storage_lookup() 262 struct bpf_local_storage_map *smap, in bpf_local_storage_alloc() 477 void bpf_local_storage_map_free(struct bpf_local_storage_map *smap, in bpf_local_storage_map_free() [all …]
|
A 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()
|
A D | bpf_task_storage.c | 60 struct bpf_local_storage_map *smap; in task_storage_lookup() 66 smap = (struct bpf_local_storage_map *)map; in task_storage_lookup() 175 task, (struct bpf_local_storage_map *)map, value, map_flags); in bpf_pid_task_storage_update_elem() 249 task, (struct bpf_local_storage_map *)map, value, in BPF_CALL_4() 285 struct bpf_local_storage_map *smap; in task_storage_map_alloc() 297 struct bpf_local_storage_map *smap; in task_storage_map_free() 299 smap = (struct bpf_local_storage_map *)map; in task_storage_map_free()
|
/linux/net/core/ |
A D | bpf_sk_storage.c | 23 struct bpf_local_storage_map *smap; in bpf_sk_storage_lookup() 29 smap = (struct bpf_local_storage_map *)map; in bpf_sk_storage_lookup() 88 struct bpf_local_storage_map *smap; in bpf_sk_storage_map_free() 90 smap = (struct bpf_local_storage_map *)map; in bpf_sk_storage_map_free() 97 struct bpf_local_storage_map *smap; in bpf_sk_storage_map_alloc() 168 struct bpf_local_storage_map *smap, in bpf_sk_storage_clone_elem() 204 struct bpf_local_storage_map *smap; in bpf_sk_storage_clone() 276 sk, (struct bpf_local_storage_map *)map, value, in BPF_CALL_4() 568 struct bpf_local_storage_map *smap; in diag_get() 609 struct bpf_local_storage_map *smap; in bpf_sk_storage_diag_put_all() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | map_ptr_kern.c | 594 struct bpf_local_storage_map { struct 607 struct bpf_local_storage_map *sk_storage = in check_sk_storage() argument 608 (struct bpf_local_storage_map *)&m_sk_storage; in check_sk_storage()
|
Completed in 19 milliseconds