Searched refs:bpf_cgroup_storage_key (Results 1 – 18 of 18) sorted by relevance
| /Linux-v5.10/kernel/bpf/ |
| D | local_storage.c | 36 return map->key_size == sizeof(struct bpf_cgroup_storage_key); in attach_type_isolated() 43 const struct bpf_cgroup_storage_key *key1 = _key1; in bpf_cgroup_storage_key_cmp() 44 const struct bpf_cgroup_storage_key *key2 = _key2; in bpf_cgroup_storage_key_cmp() 273 struct bpf_cgroup_storage_key *next = _next_key; in cgroup_storage_get_next_key() 293 if (attr->key_size != sizeof(struct bpf_cgroup_storage_key) && in cgroup_storage_map_alloc() 388 size = sizeof_field(struct bpf_cgroup_storage_key, cgroup_inode_id); in cgroup_storage_check_btf() 396 offset = offsetof(struct bpf_cgroup_storage_key, attach_type); in cgroup_storage_check_btf() 397 size = sizeof_field(struct bpf_cgroup_storage_key, attach_type); in cgroup_storage_check_btf()
|
| D | cgroup.c | 46 struct bpf_cgroup_storage_key key; in bpf_cgroup_storages_alloc()
|
| /Linux-v5.10/Documentation/bpf/ |
| D | map_cgroup_storage.rst | 26 ``struct bpf_cgroup_storage_key``, declared in ``linux/bpf.h``:: 28 struct bpf_cgroup_storage_key { 39 ``struct bpf_cgroup_storage_key``, then programs of different attach types 57 Usage with key type as ``struct bpf_cgroup_storage_key``:: 63 __type(key, struct bpf_cgroup_storage_key); 82 struct bpf_cgroup_storage_key = { 159 attach type pair in ``struct bpf_cgroup_storage_key`` as the key to the BPF map
|
| /Linux-v5.10/tools/testing/selftests/bpf/progs/ |
| D | netcnt_prog.c | 15 __type(key, struct bpf_cgroup_storage_key); 21 __type(key, struct bpf_cgroup_storage_key);
|
| D | cg_storage_multi_egress_only.c | 17 __type(key, struct bpf_cgroup_storage_key);
|
| D | cg_storage_multi_isolated.c | 17 __type(key, struct bpf_cgroup_storage_key);
|
| D | map_ptr_kern.c | 508 __type(key, struct bpf_cgroup_storage_key); 519 sizeof(struct bpf_cgroup_storage_key), sizeof(__u32), 0)); in check_cgroup_storage() 548 __type(key, struct bpf_cgroup_storage_key); 559 sizeof(struct bpf_cgroup_storage_key), sizeof(__u32), 0)); in check_percpu_cgroup_storage()
|
| D | test_spin_lock.c | 27 __type(key, struct bpf_cgroup_storage_key);
|
| /Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
| D | cgroup_attach_multi.c | 25 sizeof(struct bpf_cgroup_storage_key), 8, 0, 0); in prog_load_cnt() 33 sizeof(struct bpf_cgroup_storage_key), 8, 0, 0); in prog_load_cnt()
|
| D | cg_storage_multi.c | 88 struct bpf_cgroup_storage_key key; in test_egress_only() 162 struct bpf_cgroup_storage_key key; in test_isolated()
|
| /Linux-v5.10/tools/testing/selftests/bpf/ |
| D | test_netcnt.c | 37 struct bpf_cgroup_storage_key key; in main()
|
| D | test_cgroup_storage.c | 41 struct bpf_cgroup_storage_key key; in main()
|
| D | test_verifier.c | 507 fd = bpf_create_map(type, sizeof(struct bpf_cgroup_storage_key), in create_cgroup_storage()
|
| /Linux-v5.10/samples/bpf/ |
| D | hbm_kern.h | 64 __type(key, struct bpf_cgroup_storage_key);
|
| /Linux-v5.10/tools/lib/bpf/ |
| D | libbpf_probes.c | 223 key_size = sizeof(struct bpf_cgroup_storage_key); in bpf_probe_map_type()
|
| /Linux-v5.10/include/linux/ |
| D | bpf-cgroup.h | 48 struct bpf_cgroup_storage_key key;
|
| /Linux-v5.10/tools/include/uapi/linux/ |
| D | bpf.h | 79 struct bpf_cgroup_storage_key { struct
|
| /Linux-v5.10/include/uapi/linux/ |
| D | bpf.h | 79 struct bpf_cgroup_storage_key { struct
|