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

/linux-master/include/linux/
H A Dbpf_local_storage.h32 * The map (bpf_local_storage_map) is for two purposes
47 struct bpf_local_storage_map { struct
71 struct bpf_local_storage_map __rcu *smap;
75 /* Linked to bpf_local_storage and bpf_local_storage_map */
77 struct hlist_node map_node; /* Linked to bpf_local_storage_map */
90 struct bpf_local_storage_map __rcu *smap;
133 struct bpf_local_storage_map *smap,
138 struct bpf_local_storage_map *smap,
179 void bpf_selem_link_map(struct bpf_local_storage_map *smap,
183 bpf_selem_alloc(struct bpf_local_storage_map *sma
[all...]
H A Dbpf.h49 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,
/linux-master/kernel/bpf/
H A Dbpf_local_storage.c21 select_bucket(struct bpf_local_storage_map *smap,
27 static int mem_charge(struct bpf_local_storage_map *smap, void *owner, u32 size)
37 static void mem_uncharge(struct bpf_local_storage_map *smap, void *owner,
47 owner_storage(struct bpf_local_storage_map *smap, void *owner)
75 bpf_selem_alloc(struct bpf_local_storage_map *smap, void *owner,
157 struct bpf_local_storage_map *smap,
226 struct bpf_local_storage_map *smap,
257 struct bpf_local_storage_map *smap;
308 struct bpf_local_storage_map *storage_smap,
312 struct bpf_local_storage_map *selem_sma
[all...]
H A Dbpf_inode_storage.c41 struct bpf_local_storage_map *smap;
53 smap = (struct bpf_local_storage_map *)map;
105 (struct bpf_local_storage_map *)map,
164 inode, (struct bpf_local_storage_map *)map, value,
H A Dbpf_cgrp_storage.c67 struct bpf_local_storage_map *smap;
74 smap = (struct bpf_local_storage_map *)map;
109 sdata = bpf_local_storage_update(cgroup, (struct bpf_local_storage_map *)map,
183 sdata = bpf_local_storage_update(cgroup, (struct bpf_local_storage_map *)map,
H A Dbpf_task_storage.c61 struct bpf_local_storage_map *smap;
68 smap = (struct bpf_local_storage_map *)map;
149 task, (struct bpf_local_storage_map *)map, value, map_flags,
221 task, (struct bpf_local_storage_map *)map, value,
320 BTF_ID_LIST_GLOBAL_SINGLE(bpf_local_storage_map_btf_id, struct, bpf_local_storage_map)
/linux-master/net/core/
H A Dbpf_sk_storage.c24 struct bpf_local_storage_map *smap;
31 smap = (struct bpf_local_storage_map *)map;
108 sock->sk, (struct bpf_local_storage_map *)map, value,
135 struct bpf_local_storage_map *smap,
171 struct bpf_local_storage_map *smap;
245 sk, (struct bpf_local_storage_map *)map, value,
275 static int bpf_sk_storage_charge(struct bpf_local_storage_map *smap,
292 static void bpf_sk_storage_uncharge(struct bpf_local_storage_map *smap,
493 /* bpf_local_storage_map is currently limited to CAP_SYS_ADMIN as
548 struct bpf_local_storage_map *sma
[all...]
/linux-master/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 =
625 (struct bpf_local_storage_map *)&m_sk_storage;

Completed in 297 milliseconds