Home
last modified time | relevance | path

Searched refs:bpf_cgroup_storage_key (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/kernel/bpf/
Dlocal_storage.c36 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()
Dcgroup.c213 struct bpf_cgroup_storage_key key; in bpf_cgroup_storages_alloc()
/linux-6.1.9/Documentation/bpf/
Dmap_cgroup_storage.rst26 ``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-6.1.9/tools/testing/selftests/bpf/progs/
Dnetcnt_prog.c15 __type(key, struct bpf_cgroup_storage_key);
21 __type(key, struct bpf_cgroup_storage_key);
Dcg_storage_multi_egress_only.c17 __type(key, struct bpf_cgroup_storage_key);
Dcg_storage_multi_isolated.c17 __type(key, struct bpf_cgroup_storage_key);
Dmap_ptr_kern.c514 __type(key, struct bpf_cgroup_storage_key);
525 sizeof(struct bpf_cgroup_storage_key), sizeof(__u32), 0)); in check_cgroup_storage()
554 __type(key, struct bpf_cgroup_storage_key);
565 sizeof(struct bpf_cgroup_storage_key), sizeof(__u32), 0)); in check_percpu_cgroup_storage()
Dtest_spin_lock.c27 __type(key, struct bpf_cgroup_storage_key);
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dnetcnt.c14 struct bpf_cgroup_storage_key key; in serial_test_netcnt()
Dcgroup_attach_multi.c25 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()
Dcg_storage_multi.c88 struct bpf_cgroup_storage_key key; in test_egress_only()
158 struct bpf_cgroup_storage_key key; in test_isolated()
/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_cgroup_storage.c42 struct bpf_cgroup_storage_key key; in main()
Dtest_verifier.c675 fd = bpf_map_create(type, NULL, sizeof(struct bpf_cgroup_storage_key), in create_cgroup_storage()
/linux-6.1.9/samples/bpf/
Dhbm_kern.h62 __type(key, struct bpf_cgroup_storage_key);
/linux-6.1.9/tools/lib/bpf/
Dlibbpf_probes.c213 key_size = sizeof(struct bpf_cgroup_storage_key); in probe_map_create()
/linux-6.1.9/include/linux/
Dbpf-cgroup.h91 struct bpf_cgroup_storage_key key;
/linux-6.1.9/tools/include/uapi/linux/
Dbpf.h85 struct bpf_cgroup_storage_key { struct
/linux-6.1.9/include/uapi/linux/
Dbpf.h85 struct bpf_cgroup_storage_key { struct