Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dcg_storage_multi.c116 if (assert_storage(obj->maps.cgroup_storage, in test_egress_only()
120 if (assert_storage_noexist(obj->maps.cgroup_storage, &key)) in test_egress_only()
140 if (assert_storage(obj->maps.cgroup_storage, in test_egress_only()
145 if (assert_storage(obj->maps.cgroup_storage, in test_egress_only()
201 if (assert_storage(obj->maps.cgroup_storage, in test_isolated()
206 if (assert_storage(obj->maps.cgroup_storage, in test_isolated()
211 if (assert_storage_noexist(obj->maps.cgroup_storage, &key)) in test_isolated()
214 if (assert_storage_noexist(obj->maps.cgroup_storage, &key)) in test_isolated()
246 if (assert_storage(obj->maps.cgroup_storage, in test_isolated()
251 if (assert_storage(obj->maps.cgroup_storage, in test_isolated()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A 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()
H A 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()
H A Dcg_storage_multi_egress_only.c19 } cgroup_storage SEC(".maps");
27 bpf_get_local_storage(&cgroup_storage, 0); in egress()
H A Dmap_ptr_kern.c514 struct bpf_cgroup_storage_map *cgroup_storage = in check_cgroup_storage() local
518 VERIFY(check(&cgroup_storage->map, map, in check_cgroup_storage()
/OK3568_Linux_fs/kernel/Documentation/bpf/
H A 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);
H A Ddrgn.rst177 .cgroup_storage = (struct bpf_map *[2]){},
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dlocal_storage.c472 if (aux->cgroup_storage[stype] && in bpf_cgroup_storage_assign()
473 aux->cgroup_storage[stype] != _map) in bpf_cgroup_storage_assign()
476 aux->cgroup_storage[stype] = _map; in bpf_cgroup_storage_assign()
506 map = prog->aux->cgroup_storage[stype]; in bpf_cgroup_storage_alloc()
H A 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dbpf.h834 struct bpf_map *cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE]; member
1072 struct bpf_cgroup_storage *cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE]; member
1116 if (unlikely(bpf_cgroup_storage_set(_item->cgroup_storage))) \
1164 if (unlikely(bpf_cgroup_storage_set(_item->cgroup_storage))) \
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/Documentation/
H A Dbpftool-map.rst52 | | **cgroup_storage** | **reuseport_sockarray** | **percpu_cgroup_storage**
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/bash-completion/
H A Dbpftool706 xskmap sockhash cgroup_storage reuseport_sockarray \