Home
last modified time | relevance | path

Searched refs:bpf_local_storage_map (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/include/linux/
Dbpf_local_storage.h47 struct bpf_local_storage_map { struct
71 struct bpf_local_storage_map __rcu *smap; argument
90 struct bpf_local_storage_map __rcu *smap;
134 struct bpf_local_storage_map *smap,
153 void bpf_selem_link_map(struct bpf_local_storage_map *smap,
157 bpf_selem_alloc(struct bpf_local_storage_map *smap, void *owner, void *value,
161 struct bpf_local_storage_map *smap,
166 struct bpf_local_storage_map *smap,
171 bpf_local_storage_update(void *owner, struct bpf_local_storage_map *smap,
Dbpf.h47 struct bpf_local_storage_map;
139 int (*map_local_storage_charge)(struct bpf_local_storage_map *smap,
141 void (*map_local_storage_uncharge)(struct bpf_local_storage_map *smap,
/linux-6.6.21/kernel/bpf/
Dbpf_local_storage.c21 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()
157 struct bpf_local_storage_map *smap, in bpf_local_storage_free()
226 struct bpf_local_storage_map *smap, in bpf_selem_free()
257 struct bpf_local_storage_map *smap; in bpf_selem_unlink_storage_nolock()
308 struct bpf_local_storage_map *storage_smap, in check_storage_bpf_ma()
312 struct bpf_local_storage_map *selem_smap; in check_storage_bpf_ma()
[all …]
Dbpf_inode_storage.c41 struct bpf_local_storage_map *smap; in inode_storage_lookup()
53 smap = (struct bpf_local_storage_map *)map; in inode_storage_lookup()
105 (struct bpf_local_storage_map *)map, in bpf_fd_inode_storage_update_elem()
164 inode, (struct bpf_local_storage_map *)map, value, in BPF_CALL_5()
Dbpf_cgrp_storage.c67 struct bpf_local_storage_map *smap; in cgroup_storage_lookup()
74 smap = (struct bpf_local_storage_map *)map; in cgroup_storage_lookup()
109 sdata = bpf_local_storage_update(cgroup, (struct bpf_local_storage_map *)map, in bpf_cgrp_storage_update_elem()
183 sdata = bpf_local_storage_update(cgroup, (struct bpf_local_storage_map *)map, in BPF_CALL_5()
Dbpf_task_storage.c61 struct bpf_local_storage_map *smap; in task_storage_lookup()
68 smap = (struct bpf_local_storage_map *)map; in task_storage_lookup()
149 task, (struct bpf_local_storage_map *)map, value, map_flags, in bpf_pid_task_storage_update_elem()
221 task, (struct bpf_local_storage_map *)map, value, in __bpf_task_storage_get()
320 BTF_ID_LIST_GLOBAL_SINGLE(bpf_local_storage_map_btf_id, struct, bpf_local_storage_map)
/linux-6.6.21/net/core/
Dbpf_sk_storage.c24 struct bpf_local_storage_map *smap; in bpf_sk_storage_lookup()
31 smap = (struct bpf_local_storage_map *)map; in bpf_sk_storage_lookup()
108 sock->sk, (struct bpf_local_storage_map *)map, value, in bpf_fd_sk_storage_update_elem()
135 struct bpf_local_storage_map *smap, in bpf_sk_storage_clone_elem()
171 struct bpf_local_storage_map *smap; in bpf_sk_storage_clone()
245 sk, (struct bpf_local_storage_map *)map, value, in BPF_CALL_5()
275 static int bpf_sk_storage_charge(struct bpf_local_storage_map *smap, in bpf_sk_storage_charge()
291 static void bpf_sk_storage_uncharge(struct bpf_local_storage_map *smap, in bpf_sk_storage_uncharge()
547 struct bpf_local_storage_map *smap; in diag_get()
588 struct bpf_local_storage_map *smap; in bpf_sk_storage_diag_put_all()
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dmap_ptr_kern.c611 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()