Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Dbpf_local_storage.h47 struct bpf_local_storage_map { struct
71 struct bpf_local_storage_map __rcu *smap; argument
96 struct bpf_local_storage_map __rcu *smap;
139 struct bpf_local_storage_map *smap,
144 struct bpf_local_storage_map *smap, in bpf_local_storage_lookup()
185 void bpf_selem_link_map(struct bpf_local_storage_map *smap,
189 bpf_selem_alloc(struct bpf_local_storage_map *smap, void *owner, void *value,
193 struct bpf_local_storage_map *smap,
198 struct bpf_local_storage_map *smap,
203 bpf_local_storage_update(void *owner, struct bpf_local_storage_map *smap,
H A Dbpf.h50 struct bpf_local_storage_map;
149 int (*map_local_storage_charge)(struct bpf_local_storage_map *smap,
151 void (*map_local_storage_uncharge)(struct bpf_local_storage_map *smap,
/linux-6.15/kernel/bpf/
H A Dbpf_local_storage.c21 select_bucket(struct bpf_local_storage_map *smap, in select_bucket()
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()
344 struct bpf_local_storage_map *selem_smap; in check_storage_bpf_ma()
414 struct bpf_local_storage_map *smap; in bpf_selem_unlink_map()
783 struct bpf_local_storage_map *smap = (struct bpf_local_storage_map *)map; in bpf_local_storage_map_mem_usage()
806 struct bpf_local_storage_map *smap; in bpf_local_storage_map_alloc()
[all …]
H A Dbpf_inode_storage.c40 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 Dbpf_cgrp_storage.c66 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 Dbpf_task_storage.c58 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-6.15/net/core/
H A 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()
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()
535 struct bpf_local_storage_map *smap; in diag_get()
576 struct bpf_local_storage_map *smap; in bpf_sk_storage_diag_put_all()
658 (struct bpf_local_storage_map *)diag->maps[i], in bpf_sk_storage_diag_put()
703 struct bpf_local_storage_map *smap; in bpf_sk_storage_map_seq_find_next()
[all …]
/linux-6.15/tools/testing/selftests/bpf/progs/
H A 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()