Searched refs:bpf_local_storage_map (Results 1 – 7 of 7) sorted by relevance
/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() 75 bpf_selem_alloc(struct bpf_local_storage_map *smap, void *owner, in bpf_selem_alloc() 158 struct bpf_local_storage_map *smap, in bpf_local_storage_free() 210 struct bpf_local_storage_map *smap; in bpf_selem_free_rcu() 231 struct bpf_local_storage_map *smap, in bpf_selem_free() 267 struct bpf_local_storage_map *smap; in bpf_selem_free_list() 289 struct bpf_local_storage_map *smap; in bpf_selem_unlink_storage_nolock() [all …]
|
H A D | bpf_inode_storage.c | 40 struct bpf_local_storage_map *smap; in inode_storage_lookup() 52 smap = (struct bpf_local_storage_map *)map; in inode_storage_lookup() 102 (struct bpf_local_storage_map *)map, in bpf_fd_inode_storage_update_elem() 156 inode, (struct bpf_local_storage_map *)map, value, in BPF_CALL_5()
|
H A D | bpf_cgrp_storage.c | 66 struct bpf_local_storage_map *smap; in cgroup_storage_lookup() 73 smap = (struct bpf_local_storage_map *)map; in cgroup_storage_lookup() 108 sdata = bpf_local_storage_update(cgroup, (struct bpf_local_storage_map *)map, in bpf_cgrp_storage_update_elem() 182 sdata = bpf_local_storage_update(cgroup, (struct bpf_local_storage_map *)map, in BPF_CALL_5()
|
H A D | bpf_task_storage.c | 58 struct bpf_local_storage_map *smap; in task_storage_lookup() 65 smap = (struct bpf_local_storage_map *)map; in task_storage_lookup() 150 task, (struct bpf_local_storage_map *)map, value, map_flags, in bpf_pid_task_storage_update_elem() 222 task, (struct bpf_local_storage_map *)map, value, in __bpf_task_storage_get() 321 BTF_ID_LIST_GLOBAL_SINGLE(bpf_local_storage_map_btf_id, struct, bpf_local_storage_map)
|
/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() 109 sock->sk, (struct bpf_local_storage_map *)map, value, in bpf_fd_sk_storage_update_elem() 136 struct bpf_local_storage_map *smap, in bpf_sk_storage_clone_elem() 173 struct bpf_local_storage_map *smap; in bpf_sk_storage_clone() 248 sk, (struct bpf_local_storage_map *)map, value, in BPF_CALL_5() 278 static int bpf_sk_storage_charge(struct bpf_local_storage_map *smap, in bpf_sk_storage_charge() 295 static void bpf_sk_storage_uncharge(struct bpf_local_storage_map *smap, in bpf_sk_storage_uncharge() 535 struct bpf_local_storage_map *smap; in diag_get() 576 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()
|
/linux/include/linux/ |
H A D | bpf.h | 49 struct bpf_local_storage_map; 148 int (*map_local_storage_charge)(struct bpf_local_storage_map *smap, 150 void (*map_local_storage_uncharge)(struct bpf_local_storage_map *smap,
|