Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dcg_storage_multi.c115 if (assert_storage(obj->maps.cgroup_storage, in test_egress_only()
119 if (assert_storage_noexist(obj->maps.cgroup_storage, &key)) in test_egress_only()
138 if (assert_storage(obj->maps.cgroup_storage, in test_egress_only()
143 if (assert_storage(obj->maps.cgroup_storage, in test_egress_only()
194 if (assert_storage(obj->maps.cgroup_storage, in test_isolated()
199 if (assert_storage(obj->maps.cgroup_storage, in test_isolated()
204 if (assert_storage_noexist(obj->maps.cgroup_storage, &key)) in test_isolated()
207 if (assert_storage_noexist(obj->maps.cgroup_storage, &key)) in test_isolated()
236 if (assert_storage(obj->maps.cgroup_storage, in test_isolated()
241 if (assert_storage(obj->maps.cgroup_storage, in test_isolated()
[all …]
/Linux-v5.15/tools/testing/selftests/bpf/progs/
Dcg_storage_multi_isolated.c19 } cgroup_storage SEC(".maps");
27 bpf_get_local_storage(&cgroup_storage, 0); in egress1()
39 bpf_get_local_storage(&cgroup_storage, 0); in egress2()
51 bpf_get_local_storage(&cgroup_storage, 0); in ingress()
Dcg_storage_multi_shared.c19 } cgroup_storage SEC(".maps");
27 bpf_get_local_storage(&cgroup_storage, 0); in egress1()
39 bpf_get_local_storage(&cgroup_storage, 0); in egress2()
51 bpf_get_local_storage(&cgroup_storage, 0); in ingress()
Dcg_storage_multi_egress_only.c19 } cgroup_storage SEC(".maps");
27 bpf_get_local_storage(&cgroup_storage, 0); in egress()
Dmap_ptr_kern.c508 struct bpf_cgroup_storage_map *cgroup_storage = in check_cgroup_storage() local
512 VERIFY(check(&cgroup_storage->map, map, in check_cgroup_storage()
/Linux-v5.15/Documentation/bpf/
Dmap_cgroup_storage.rst65 } cgroup_storage SEC(".maps");
69 __u32 *ptr = bpf_get_local_storage(&cgroup_storage, 0);
100 } cgroup_storage SEC(".maps");
104 __u32 *ptr = bpf_get_local_storage(&cgroup_storage, 0);
Ddrgn.rst177 .cgroup_storage = (struct bpf_map *[2]){},
/Linux-v5.15/kernel/bpf/
Dlocal_storage.c468 if (aux->cgroup_storage[stype] && in bpf_cgroup_storage_assign()
469 aux->cgroup_storage[stype] != _map) in bpf_cgroup_storage_assign()
472 aux->cgroup_storage[stype] = _map; in bpf_cgroup_storage_assign()
502 map = prog->aux->cgroup_storage[stype]; in bpf_cgroup_storage_alloc()
Dcgroup.c53 map = prog->aux->cgroup_storage[stype]; in bpf_cgroup_storages_alloc()
261 bpf_cgroup_storages_assign(item->cgroup_storage, in compute_effective_progs()
Dhelpers.c420 storage = ctx->prog_item->cgroup_storage[stype]; in BPF_CALL_2()
/Linux-v5.15/net/bpf/
Dtest_run.c100 item.cgroup_storage[stype] = bpf_cgroup_storage_alloc(prog, stype); in bpf_test_run()
101 if (IS_ERR(item.cgroup_storage[stype])) { in bpf_test_run()
102 item.cgroup_storage[stype] = NULL; in bpf_test_run()
104 bpf_cgroup_storage_free(item.cgroup_storage[stype]); in bpf_test_run()
125 bpf_cgroup_storage_free(item.cgroup_storage[stype]); in bpf_test_run()
/Linux-v5.15/tools/bpf/bpftool/Documentation/
Dbpftool-map.rst53 | | **cgroup_storage** | **reuseport_sockarray** | **percpu_cgroup_storage**
/Linux-v5.15/include/linux/
Dbpf.h887 struct bpf_map *cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE]; member
1122 struct bpf_cgroup_storage *cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE]; member
/Linux-v5.15/tools/bpf/bpftool/bash-completion/
Dbpftool711 xskmap sockhash cgroup_storage reuseport_sockarray \