Home
last modified time | relevance | path

Searched refs:bpf_local_storage (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.15/include/linux/
Dbpf_local_storage.h71 struct bpf_local_storage __rcu *local_storage;
80 struct bpf_local_storage { struct
125 bpf_local_storage_lookup(struct bpf_local_storage *local_storage,
137 void bpf_selem_link_storage_nolock(struct bpf_local_storage *local_storage,
140 bool bpf_selem_unlink_storage_nolock(struct bpf_local_storage *local_storage,
Dbpf_lsm.h22 struct bpf_local_storage __rcu *storage;
Dsched.h44 struct bpf_local_storage;
1456 struct bpf_local_storage __rcu *bpf_storage;
Dbpf.h40 struct bpf_local_storage;
124 struct bpf_local_storage __rcu ** (*map_owner_storage_ptr)(void *owner);
/Linux-v5.15/kernel/bpf/
Dbpf_local_storage.c43 static struct bpf_local_storage __rcu **
88 bool bpf_selem_unlink_storage_nolock(struct bpf_local_storage *local_storage, in bpf_selem_unlink_storage_nolock()
109 mem_uncharge(smap, owner, sizeof(struct bpf_local_storage)); in bpf_selem_unlink_storage_nolock()
141 struct bpf_local_storage *local_storage; in __bpf_selem_unlink_storage()
160 void bpf_selem_link_storage_nolock(struct bpf_local_storage *local_storage, in bpf_selem_link_storage_nolock()
208 bpf_local_storage_lookup(struct bpf_local_storage *local_storage, in bpf_local_storage_lookup()
265 struct bpf_local_storage *prev_storage, *storage; in bpf_local_storage_alloc()
266 struct bpf_local_storage **owner_storage_ptr; in bpf_local_storage_alloc()
288 (struct bpf_local_storage **)owner_storage(smap, owner); in bpf_local_storage_alloc()
334 struct bpf_local_storage *local_storage; in bpf_local_storage_update()
Dbpf_inode_storage.c23 static struct bpf_local_storage __rcu **
39 struct bpf_local_storage *inode_storage; in inode_storage_lookup()
58 struct bpf_local_storage *local_storage; in bpf_inode_storage_free()
Dbpf_task_storage.c48 static struct bpf_local_storage __rcu **task_storage_ptr(void *owner) in task_storage_ptr()
59 struct bpf_local_storage *task_storage; in task_storage_lookup()
73 struct bpf_local_storage *local_storage; in bpf_task_storage_free()
DMakefile12 obj-$(CONFIG_BPF_SYSCALL) += bpf_local_storage.o bpf_task_storage.o
/Linux-v5.15/net/core/
Dbpf_sk_storage.c22 struct bpf_local_storage *sk_storage; in bpf_sk_storage_lookup()
50 struct bpf_local_storage *sk_storage; in bpf_sk_storage_free()
189 struct bpf_local_storage *new_sk_storage = NULL; in bpf_sk_storage_clone()
190 struct bpf_local_storage *sk_storage; in bpf_sk_storage_clone()
328 static struct bpf_local_storage __rcu **
607 struct bpf_local_storage *sk_storage; in bpf_sk_storage_diag_put_all()
662 struct bpf_local_storage *sk_storage; in bpf_sk_storage_diag_put()
733 struct bpf_local_storage *sk_storage; in bpf_sk_storage_map_seq_find_next()
828 struct bpf_local_storage *sk_storage; in DEFINE_BPF_ITER_FUNC()
/Linux-v5.15/include/net/
Dsock.h250 struct bpf_local_storage;
533 struct bpf_local_storage __rcu *sk_bpf_storage;