Searched refs:cgroup_storage (Results 1 – 13 of 13) sorted by relevance
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | cg_storage_multi.c | 115 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-v6.1/tools/testing/selftests/bpf/progs/ |
D | cg_storage_multi_isolated.c | 19 } 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()
|
D | cg_storage_multi_shared.c | 19 } 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()
|
D | cg_storage_multi_egress_only.c | 19 } cgroup_storage SEC(".maps"); 27 bpf_get_local_storage(&cgroup_storage, 0); in egress()
|
D | lsm_cgroup.c | 26 } cgroup_storage SEC(".maps"); 39 val = bpf_get_local_storage(&cgroup_storage, 0); in test_local_storage()
|
D | map_ptr_kern.c | 520 struct bpf_cgroup_storage_map *cgroup_storage = in check_cgroup_storage() local 524 VERIFY(check(&cgroup_storage->map, map, in check_cgroup_storage()
|
/Linux-v6.1/Documentation/bpf/ |
D | map_cgroup_storage.rst | 65 } 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);
|
D | drgn.rst | 177 .cgroup_storage = (struct bpf_map *[2]){},
|
/Linux-v6.1/kernel/bpf/ |
D | local_storage.c | 467 if (aux->cgroup_storage[stype] && in bpf_cgroup_storage_assign() 468 aux->cgroup_storage[stype] != _map) in bpf_cgroup_storage_assign() 471 aux->cgroup_storage[stype] = _map; in bpf_cgroup_storage_assign() 501 map = prog->aux->cgroup_storage[stype]; in bpf_cgroup_storage_alloc()
|
D | cgroup.c | 220 map = prog->aux->cgroup_storage[stype]; in bpf_cgroup_storages_alloc() 435 bpf_cgroup_storages_assign(item->cgroup_storage, in compute_effective_progs() 1553 storage = ctx->prog_item->cgroup_storage[stype]; in BPF_CALL_2()
|
/Linux-v6.1/net/bpf/ |
D | test_run.c | 383 item.cgroup_storage[stype] = bpf_cgroup_storage_alloc(prog, stype); in bpf_test_run() 384 if (IS_ERR(item.cgroup_storage[stype])) { in bpf_test_run() 385 item.cgroup_storage[stype] = NULL; in bpf_test_run() 387 bpf_cgroup_storage_free(item.cgroup_storage[stype]); in bpf_test_run() 408 bpf_cgroup_storage_free(item.cgroup_storage[stype]); in bpf_test_run()
|
/Linux-v6.1/tools/bpf/bpftool/Documentation/ |
D | bpftool-map.rst | 56 | | **cgroup_storage** | **reuseport_sockarray** | **percpu_cgroup_storage**
|
/Linux-v6.1/include/linux/ |
D | bpf.h | 1176 struct bpf_map *cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE]; member 1504 struct bpf_cgroup_storage *cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE]; member
|