Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dlocal_storage.c37 return map->key_size == sizeof(struct bpf_cgroup_storage_key); in attach_type_isolated()
44 const struct bpf_cgroup_storage_key *key1 = _key1; in bpf_cgroup_storage_key_cmp()
45 const struct bpf_cgroup_storage_key *key2 = _key2; in bpf_cgroup_storage_key_cmp()
274 struct bpf_cgroup_storage_key *next = _next_key; in cgroup_storage_get_next_key()
294 if (attr->key_size != sizeof(struct bpf_cgroup_storage_key) && in cgroup_storage_map_alloc()
389 size = sizeof_field(struct bpf_cgroup_storage_key, cgroup_inode_id); in cgroup_storage_check_btf()
397 offset = offsetof(struct bpf_cgroup_storage_key, attach_type); in cgroup_storage_check_btf()
398 size = sizeof_field(struct bpf_cgroup_storage_key, attach_type); in cgroup_storage_check_btf()
H A Dcgroup.c46 struct bpf_cgroup_storage_key key; in bpf_cgroup_storages_alloc()
/OK3568_Linux_fs/kernel/Documentation/bpf/
H A 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
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dnetcnt_prog.c15 __type(key, struct bpf_cgroup_storage_key);
21 __type(key, struct bpf_cgroup_storage_key);
H A Dcg_storage_multi_egress_only.c17 __type(key, struct bpf_cgroup_storage_key);
H A Dmap_ptr_kern.c508 __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()
H A Dcg_storage_multi_isolated.c17 __type(key, struct bpf_cgroup_storage_key);
H A Dtest_spin_lock.c27 __type(key, struct bpf_cgroup_storage_key);
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_attach_multi.c25 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()
H A Dcg_storage_multi.c88 struct bpf_cgroup_storage_key key; in test_egress_only()
162 struct bpf_cgroup_storage_key key; in test_isolated()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_netcnt.c37 struct bpf_cgroup_storage_key key; in main()
H A Dtest_cgroup_storage.c41 struct bpf_cgroup_storage_key key; in main()
H A Dtest_verifier.c507 fd = bpf_create_map(type, sizeof(struct bpf_cgroup_storage_key), in create_cgroup_storage()
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dhbm_kern.h64 __type(key, struct bpf_cgroup_storage_key);
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dlibbpf_probes.c225 key_size = sizeof(struct bpf_cgroup_storage_key); in bpf_probe_map_type()
/OK3568_Linux_fs/kernel/include/linux/
H A Dbpf-cgroup.h59 struct bpf_cgroup_storage_key key;
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dbpf.h78 struct bpf_cgroup_storage_key { struct
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dbpf.h78 struct bpf_cgroup_storage_key { struct
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dbpf.h79 struct bpf_cgroup_storage_key { struct
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbpf.h79 struct bpf_cgroup_storage_key { struct