Searched refs:bpf_cgroup_storage (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.4/kernel/bpf/ |
| D | local_storage.c | 12 DEFINE_PER_CPU(struct bpf_cgroup_storage*, bpf_cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE]); 48 static struct bpf_cgroup_storage *cgroup_storage_lookup( in cgroup_storage_lookup() 60 struct bpf_cgroup_storage *storage; in cgroup_storage_lookup() 62 storage = container_of(node, struct bpf_cgroup_storage, node); in cgroup_storage_lookup() 85 struct bpf_cgroup_storage *storage) in cgroup_storage_insert() 91 struct bpf_cgroup_storage *this; in cgroup_storage_insert() 93 this = container_of(*new, struct bpf_cgroup_storage, node); in cgroup_storage_insert() 118 struct bpf_cgroup_storage *storage; in cgroup_storage_lookup_elem() 131 struct bpf_cgroup_storage *storage; in cgroup_storage_update_elem() 175 struct bpf_cgroup_storage *storage; in bpf_percpu_cgroup_storage_copy() [all …]
|
| D | helpers.c | 330 DECLARE_PER_CPU(struct bpf_cgroup_storage*, 331 bpf_cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE]); 340 struct bpf_cgroup_storage *storage; in BPF_CALL_2() 343 storage = this_cpu_read(bpf_cgroup_storage[stype]); in BPF_CALL_2()
|
| D | cgroup.c | 296 struct bpf_cgroup_storage *storage[MAX_BPF_CGROUP_STORAGE_TYPE], in __cgroup_bpf_attach()
|
| /Linux-v5.4/include/linux/ |
| D | bpf-cgroup.h | 20 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 57 struct bpf_cgroup_storage *storage[MAX_BPF_CGROUP_STORAGE_TYPE]; argument 144 static inline void bpf_cgroup_storage_set(struct bpf_cgroup_storage in bpf_cgroup_storage_set() 150 this_cpu_write(bpf_cgroup_storage[stype], storage[stype]); in bpf_cgroup_storage_set() 153 struct bpf_cgroup_storage *bpf_cgroup_storage_alloc(struct bpf_prog *prog, 155 void bpf_cgroup_storage_free(struct bpf_cgroup_storage *storage); 156 void bpf_cgroup_storage_link(struct bpf_cgroup_storage *storage, [all …]
|
| D | bpf.h | 513 struct bpf_cgroup_storage *cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE];
|
| /Linux-v5.4/net/bpf/ |
| D | test_run.c | 20 struct bpf_cgroup_storage *storage[MAX_BPF_CGROUP_STORAGE_TYPE] = { NULL }; in bpf_test_run()
|