Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/bpf/
Dlocal_storage.c12 DEFINE_PER_CPU(struct bpf_cgroup_storage*, bpf_cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE]);
66 struct bpf_cgroup_storage *
78 struct bpf_cgroup_storage *storage; in cgroup_storage_lookup()
80 storage = container_of(node, struct bpf_cgroup_storage, node); in cgroup_storage_lookup()
103 struct bpf_cgroup_storage *storage) in cgroup_storage_insert()
109 struct bpf_cgroup_storage *this; in cgroup_storage_insert()
111 this = container_of(*new, struct bpf_cgroup_storage, node); in cgroup_storage_insert()
135 struct bpf_cgroup_storage *storage; in cgroup_storage_lookup_elem()
147 struct bpf_cgroup_storage *storage; in cgroup_storage_update_elem()
187 struct bpf_cgroup_storage *storage; in bpf_percpu_cgroup_storage_copy()
[all …]
Dhelpers.c374 DECLARE_PER_CPU(struct bpf_cgroup_storage*,
375 bpf_cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE]);
384 struct bpf_cgroup_storage *storage; in BPF_CALL_2()
387 storage = this_cpu_read(bpf_cgroup_storage[stype]); in BPF_CALL_2()
Dcgroup.c31 static void bpf_cgroup_storages_free(struct bpf_cgroup_storage *storages[]) in bpf_cgroup_storages_free()
39 static int bpf_cgroup_storages_alloc(struct bpf_cgroup_storage *storages[], in bpf_cgroup_storages_alloc()
40 struct bpf_cgroup_storage *new_storages[], in bpf_cgroup_storages_alloc()
73 static void bpf_cgroup_storages_assign(struct bpf_cgroup_storage *dst[], in bpf_cgroup_storages_assign()
74 struct bpf_cgroup_storage *src[]) in bpf_cgroup_storages_assign()
82 static void bpf_cgroup_storages_link(struct bpf_cgroup_storage *storages[], in bpf_cgroup_storages_link()
114 struct bpf_cgroup_storage *storage, *stmp; in cgroup_bpf_release()
441 struct bpf_cgroup_storage *storage[MAX_BPF_CGROUP_STORAGE_TYPE] = {}; in __cgroup_bpf_attach()
442 struct bpf_cgroup_storage *new_storage[MAX_BPF_CGROUP_STORAGE_TYPE] = {}; in __cgroup_bpf_attach()
/Linux-v5.10/include/linux/
Dbpf-cgroup.h20 struct bpf_cgroup_storage;
29 DECLARE_PER_CPU(struct bpf_cgroup_storage*,
30 bpf_cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE]);
42 struct bpf_cgroup_storage { struct
65 struct bpf_cgroup_storage *storage[MAX_BPF_CGROUP_STORAGE_TYPE]; argument
159 static inline void bpf_cgroup_storage_set(struct bpf_cgroup_storage in bpf_cgroup_storage_set()
165 this_cpu_write(bpf_cgroup_storage[stype], storage[stype]); in bpf_cgroup_storage_set()
168 struct bpf_cgroup_storage *
171 struct bpf_cgroup_storage *bpf_cgroup_storage_alloc(struct bpf_prog *prog,
173 void bpf_cgroup_storage_free(struct bpf_cgroup_storage *storage);
[all …]
Dbpf.h1034 struct bpf_cgroup_storage *cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE];
/Linux-v5.10/net/bpf/
Dtest_run.c22 struct bpf_cgroup_storage *storage[MAX_BPF_CGROUP_STORAGE_TYPE] = { NULL }; in bpf_test_run()