Searched refs:cgroup_storage (Results 1 – 15 of 15) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | cg_storage_multi.c | 119 if (assert_storage(obj->maps.cgroup_storage, in test_egress_only() 123 if (assert_storage_noexist(obj->maps.cgroup_storage, &key)) in test_egress_only() 142 if (assert_storage(obj->maps.cgroup_storage, in test_egress_only() 147 if (assert_storage(obj->maps.cgroup_storage, in test_egress_only() 198 if (assert_storage(obj->maps.cgroup_storage, in test_isolated() 203 if (assert_storage(obj->maps.cgroup_storage, in test_isolated() 208 if (assert_storage_noexist(obj->maps.cgroup_storage, &key)) in test_isolated() 211 if (assert_storage_noexist(obj->maps.cgroup_storage, &key)) in test_isolated() 240 if (assert_storage(obj->maps.cgroup_storage, in test_isolated() 245 if (assert_storage(obj->maps.cgroup_storage, in test_isolated() [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | verifier_cgroup_storage.c | 14 } cgroup_storage SEC(".maps"); 45 __imm_addr(cgroup_storage) in valid_cgroup_storage_access() 104 __imm_addr(cgroup_storage) in invalid_cgroup_storage_access_3() 125 __imm_addr(cgroup_storage) in __flag() 145 __imm_addr(cgroup_storage) in invalid_cgroup_storage_access_5() 165 __imm_addr(cgroup_storage) in invalid_cgroup_storage_access_6() 264 __imm_addr(cgroup_storage) in __flag()
|
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 | 30 } cgroup_storage SEC(".maps"); 43 val = bpf_get_local_storage(&cgroup_storage, 0); in test_local_storage()
|
D | map_ptr_kern.c | 525 struct bpf_cgroup_storage_map *cgroup_storage = in check_cgroup_storage() local 529 VERIFY(check(&cgroup_storage->map, map, in check_cgroup_storage()
|
/linux-6.6.21/kernel/bpf/ |
D | bpf_cgrp_storage.c | 66 struct bpf_local_storage *cgroup_storage; in cgroup_storage_lookup() local 69 cgroup_storage = rcu_dereference_check(cgroup->bpf_cgrp_storage, in cgroup_storage_lookup() 71 if (!cgroup_storage) in cgroup_storage_lookup() 75 return bpf_local_storage_lookup(cgroup_storage, smap, cacheit_lockit); in cgroup_storage_lookup()
|
D | local_storage.c | 474 if (aux->cgroup_storage[stype] && in bpf_cgroup_storage_assign() 475 aux->cgroup_storage[stype] != _map) in bpf_cgroup_storage_assign() 478 aux->cgroup_storage[stype] = _map; in bpf_cgroup_storage_assign() 508 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() 1567 storage = ctx->prog_item->cgroup_storage[stype]; in BPF_CALL_2()
|
/linux-6.6.21/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-6.6.21/net/bpf/ |
D | test_run.c | 403 item.cgroup_storage[stype] = bpf_cgroup_storage_alloc(prog, stype); in bpf_test_run() 404 if (IS_ERR(item.cgroup_storage[stype])) { in bpf_test_run() 405 item.cgroup_storage[stype] = NULL; in bpf_test_run() 407 bpf_cgroup_storage_free(item.cgroup_storage[stype]); in bpf_test_run() 430 bpf_cgroup_storage_free(item.cgroup_storage[stype]); in bpf_test_run()
|
/linux-6.6.21/tools/bpf/bpftool/Documentation/ |
D | bpftool-map.rst | 56 | | **cgroup_storage** | **reuseport_sockarray** | **percpu_cgroup_storage**
|
/linux-6.6.21/include/linux/ |
D | bpf.h | 1439 struct bpf_map *cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE]; member 1831 struct bpf_cgroup_storage *cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE]; member
|