/openbmc/linux/kernel/bpf/ |
H A 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() 272 struct bpf_cgroup_storage_key *next = _next_key; in cgroup_storage_get_next_key() 298 if (attr->key_size != sizeof(struct bpf_cgroup_storage_key) && in cgroup_storage_map_alloc() 384 size = sizeof_field(struct bpf_cgroup_storage_key, cgroup_inode_id); in cgroup_storage_check_btf() 392 offset = offsetof(struct bpf_cgroup_storage_key, attach_type); in cgroup_storage_check_btf() 393 size = sizeof_field(struct bpf_cgroup_storage_key, attach_type); in cgroup_storage_check_btf()
|
H A D | cgroup.c | 213 struct bpf_cgroup_storage_key key; in bpf_cgroup_storages_alloc()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | netcnt_prog.c | 15 __type(key, struct bpf_cgroup_storage_key); 21 __type(key, struct bpf_cgroup_storage_key);
|
H A D | verifier_cgroup_storage.c | 12 __type(key, struct bpf_cgroup_storage_key); 26 __type(key, struct bpf_cgroup_storage_key);
|
H A D | cg_storage_multi_egress_only.c | 17 __type(key, struct bpf_cgroup_storage_key);
|
H A D | cg_storage_multi_isolated.c | 17 __type(key, struct bpf_cgroup_storage_key);
|
H A D | map_ptr_kern.c | 519 __type(key, struct bpf_cgroup_storage_key); 530 sizeof(struct bpf_cgroup_storage_key), sizeof(__u32), 0)); in check_cgroup_storage() 559 __type(key, struct bpf_cgroup_storage_key); 570 sizeof(struct bpf_cgroup_storage_key), sizeof(__u32), 0)); in check_percpu_cgroup_storage()
|
H A D | test_spin_lock.c | 28 __type(key, struct bpf_cgroup_storage_key);
|
/openbmc/linux/Documentation/bpf/ |
H A 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
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | netcnt.c | 14 struct bpf_cgroup_storage_key key; in serial_test_netcnt()
|
H A D | cgroup_attach_multi.c | 25 sizeof(struct bpf_cgroup_storage_key), 8, 0, NULL); in prog_load_cnt() 33 sizeof(struct bpf_cgroup_storage_key), 8, 0, NULL); in prog_load_cnt()
|
H A D | cg_storage_multi.c | 92 struct bpf_cgroup_storage_key key; in test_egress_only() 162 struct bpf_cgroup_storage_key key; in test_isolated()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_cgroup_storage.c | 42 struct bpf_cgroup_storage_key key; in main()
|
H A D | test_verifier.c | 671 fd = bpf_map_create(type, NULL, sizeof(struct bpf_cgroup_storage_key), in create_cgroup_storage()
|
/openbmc/linux/samples/bpf/ |
H A D | hbm_kern.h | 62 __type(key, struct bpf_cgroup_storage_key);
|
/openbmc/linux/tools/lib/bpf/ |
H A D | libbpf_probes.c | 299 key_size = sizeof(struct bpf_cgroup_storage_key); in probe_map_create()
|
/openbmc/linux/include/linux/ |
H A D | bpf-cgroup.h | 91 struct bpf_cgroup_storage_key key;
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 103 struct bpf_cgroup_storage_key { struct
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 103 struct bpf_cgroup_storage_key { struct
|