Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Dbpf_local_storage.h79 struct bpf_local_storage __rcu *local_storage;
94 struct bpf_local_storage { struct
138 void __bpf_local_storage_insert_cache(struct bpf_local_storage *local_storage,
143 bpf_local_storage_lookup(struct bpf_local_storage *local_storage, in bpf_local_storage_lookup()
169 void bpf_local_storage_destroy(struct bpf_local_storage *local_storage);
180 void bpf_selem_link_storage_nolock(struct bpf_local_storage *local_storage,
H A Dbpf_lsm.h23 struct bpf_local_storage __rcu *storage;
H A Dcgroup-defs.h565 struct bpf_local_storage __rcu *bpf_cgrp_storage;
H A Dsched.h56 struct bpf_local_storage;
1595 struct bpf_local_storage __rcu *bpf_storage;
H A Dbpf.h49 struct bpf_local_storage;
153 struct bpf_local_storage __rcu ** (*map_owner_storage_ptr)(void *owner);
/linux-6.15/kernel/bpf/
H A Dbpf_local_storage.c46 static struct bpf_local_storage __rcu **
118 struct bpf_local_storage *local_storage; in __bpf_local_storage_free_trace_rcu()
123 local_storage = container_of(rcu, struct bpf_local_storage, rcu); in __bpf_local_storage_free_trace_rcu()
132 struct bpf_local_storage *local_storage; in bpf_local_storage_free_rcu()
134 local_storage = container_of(rcu, struct bpf_local_storage, rcu); in bpf_local_storage_free_rcu()
306 mem_uncharge(smap, owner, sizeof(struct bpf_local_storage)); in bpf_selem_unlink_storage_nolock()
378 struct bpf_local_storage *local_storage; in bpf_selem_unlink_storage()
488 struct bpf_local_storage *prev_storage, *storage; in bpf_local_storage_alloc()
489 struct bpf_local_storage **owner_storage_ptr; in bpf_local_storage_alloc()
515 (struct bpf_local_storage **)owner_storage(smap, owner); in bpf_local_storage_alloc()
[all …]
H A 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()
H A Dbpf_cgrp_storage.c37 static struct bpf_local_storage __rcu **cgroup_storage_ptr(void *owner) in cgroup_storage_ptr()
46 struct bpf_local_storage *local_storage; in bpf_cgrp_storage_free()
65 struct bpf_local_storage *cgroup_storage; in cgroup_storage_lookup()
H A Dbpf_task_storage.c46 static struct bpf_local_storage __rcu **task_storage_ptr(void *owner) in task_storage_ptr()
57 struct bpf_local_storage *task_storage; in task_storage_lookup()
71 struct bpf_local_storage *local_storage; in bpf_task_storage_free()
H A DMakefile13 obj-$(CONFIG_BPF_SYSCALL) += bpf_local_storage.o bpf_task_storage.o
/linux-6.15/net/core/
H A Dbpf_sk_storage.c23 struct bpf_local_storage *sk_storage; in bpf_sk_storage_lookup()
51 struct bpf_local_storage *sk_storage; in bpf_sk_storage_free()
157 struct bpf_local_storage *new_sk_storage = NULL; in bpf_sk_storage_clone()
158 struct bpf_local_storage *sk_storage; in bpf_sk_storage_clone()
303 static struct bpf_local_storage __rcu **
574 struct bpf_local_storage *sk_storage; in bpf_sk_storage_diag_put_all()
629 struct bpf_local_storage *sk_storage; in bpf_sk_storage_diag_put()
700 struct bpf_local_storage *sk_storage; in bpf_sk_storage_map_seq_find_next()
795 struct bpf_local_storage *sk_storage; in DEFINE_BPF_ITER_FUNC()
/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dsk_storage_omem_uncharge.c23 int BPF_PROG(bpf_local_storage_destroy, struct bpf_local_storage *local_storage) in BPF_PROG()
H A Dlocal_storage.c65 struct bpf_local_storage *local_storage; in BPF_PROG()
/linux-6.15/include/net/
H A Dsock.h234 struct bpf_local_storage;
547 struct bpf_local_storage __rcu *sk_bpf_storage;