Searched refs:bpf_local_storage (Results 1 – 11 of 11) sorted by relevance
/linux/include/linux/ |
H A D | bpf_local_storage.h | 42 * the respective bpf_local_storage owned by the object. 66 * from the object's bpf_local_storage. 75 /* Linked to bpf_local_storage and bpf_local_storage_map */ 78 struct hlist_node snode; /* Linked to bpf_local_storage */ 79 struct bpf_local_storage __rcu *local_storage; 94 struct bpf_local_storage { struct 130 /* Helper functions for bpf_local_storage */ 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_storag 95 cachebpf_local_storage global() argument 96 smapbpf_local_storage global() argument 97 listbpf_local_storage global() argument 99 ownerbpf_local_storage global() argument 111 lockbpf_local_storage global() argument [all...] |
H A D | bpf_lsm.h | 23 struct bpf_local_storage __rcu *storage;
|
H A D | cgroup-defs.h | 591 struct bpf_local_storage __rcu *bpf_cgrp_storage;
|
H A D | bpf.h | 49 struct bpf_local_storage; 148 /* Functions called by bpf_local_storage maps */ 153 struct bpf_local_storage __rcu ** (*map_owner_storage_ptr)(void *owner);
|
/linux/kernel/bpf/ |
H A D | bpf_local_storage.c | 10 #include <linux/bpf_local_storage.h> 46 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() 147 static void __bpf_local_storage_free(struct bpf_local_storage *local_storage, in __bpf_local_storage_free() 157 static void bpf_local_storage_free(struct bpf_local_storage *local_storage, in bpf_local_storage_free() 285 static bool bpf_selem_unlink_storage_nolock(struct bpf_local_storage *local_storage, in bpf_selem_unlink_storage_nolock() 306 mem_uncharge(smap, owner, sizeof(struct bpf_local_storage)); in bpf_selem_unlink_storage_nolock() [all...] |
H A D | bpf_inode_storage.c | 13 #include <linux/bpf_local_storage.h> 23 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 D | bpf_cgrp_storage.c | 8 #include <linux/bpf_local_storage.h> 37 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 D | bpf_task_storage.c | 15 #include <linux/bpf_local_storage.h> 46 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()
|
/linux/net/core/ |
H A D | bpf_sk_storage.c | 11 #include <linux/bpf_local_storage.h> 23 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_storag in DEFINE_BPF_ITER_FUNC() [all...] |
/linux/tools/testing/selftests/bpf/progs/ |
H A D | sk_storage_omem_uncharge.c | 23 int BPF_PROG(bpf_local_storage_destroy, struct bpf_local_storage *local_storage) in BPF_PROG()
|
/linux/include/net/ |
H A D | sock.h | 234 struct bpf_local_storage; 563 struct bpf_local_storage __rcu *sk_bpf_storage;
|