Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A 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,
H A 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,
/openbmc/linux/kernel/bpf/
H A Dbpf_local_storage.c21 select_bucket(struct bpf_local_storage_map *smap, in select_bucket()
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()
312 struct bpf_local_storage_map *selem_smap; in check_storage_bpf_ma()
379 struct bpf_local_storage_map *smap; in bpf_selem_unlink_map()
420 struct bpf_local_storage_map *smap, in bpf_local_storage_lookup()
475 struct bpf_local_storage_map *smap, in bpf_local_storage_alloc()
773 struct bpf_local_storage_map *smap = (struct bpf_local_storage_map *)map; in bpf_local_storage_map_mem_usage()
796 struct bpf_local_storage_map *smap; in bpf_local_storage_map_alloc()
[all …]
H A 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()
H A 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()
H A 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)
/openbmc/linux/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()
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()
547 struct bpf_local_storage_map *smap; in diag_get()
588 struct bpf_local_storage_map *smap; in bpf_sk_storage_diag_put_all()
670 (struct bpf_local_storage_map *)diag->maps[i], in bpf_sk_storage_diag_put()
715 struct bpf_local_storage_map *smap; in bpf_sk_storage_map_seq_find_next()
[all …]
/openbmc/linux/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()