Home
last modified time | relevance | path

Searched refs:bpf_cgroup_storage (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/kernel/bpf/
Dlocal_storage.c10 DEFINE_PER_CPU(void*, bpf_cgroup_storage);
46 static struct bpf_cgroup_storage *cgroup_storage_lookup( in cgroup_storage_lookup()
58 struct bpf_cgroup_storage *storage; in cgroup_storage_lookup()
60 storage = container_of(node, struct bpf_cgroup_storage, node); in cgroup_storage_lookup()
83 struct bpf_cgroup_storage *storage) in cgroup_storage_insert()
89 struct bpf_cgroup_storage *this; in cgroup_storage_insert()
91 this = container_of(*new, struct bpf_cgroup_storage, node); in cgroup_storage_insert()
116 struct bpf_cgroup_storage *storage; in cgroup_storage_lookup_elem()
129 struct bpf_cgroup_storage *storage; in cgroup_storage_update_elem()
160 struct bpf_cgroup_storage *storage; in cgroup_storage_get_next_key()
[all …]
Dhelpers.c197 DECLARE_PER_CPU(void*, bpf_cgroup_storage);
206 return (unsigned long) this_cpu_read(bpf_cgroup_storage); in BPF_CALL_2()
Dcgroup.c235 struct bpf_cgroup_storage *storage, *old_storage = NULL; in __cgroup_bpf_attach()
/Linux-v4.19/include/linux/
Dbpf-cgroup.h18 struct bpf_cgroup_storage;
25 DECLARE_PER_CPU(void*, bpf_cgroup_storage);
34 struct bpf_cgroup_storage { struct
46 struct bpf_cgroup_storage *storage; argument
104 static inline void bpf_cgroup_storage_set(struct bpf_cgroup_storage *storage) in bpf_cgroup_storage_set()
112 this_cpu_write(bpf_cgroup_storage, &buf->data[0]); in bpf_cgroup_storage_set()
115 struct bpf_cgroup_storage *bpf_cgroup_storage_alloc(struct bpf_prog *prog);
116 void bpf_cgroup_storage_free(struct bpf_cgroup_storage *storage);
117 void bpf_cgroup_storage_link(struct bpf_cgroup_storage *storage,
120 void bpf_cgroup_storage_unlink(struct bpf_cgroup_storage *storage);
[all …]
Dbpf.h360 struct bpf_cgroup_storage *cgroup_storage;
/Linux-v4.19/net/bpf/
Dtest_run.c15 struct bpf_cgroup_storage *storage) in bpf_test_run_one()
31 struct bpf_cgroup_storage *storage = NULL; in bpf_test_run()