BTF_KIND_STRUCT 265 kernel/bpf/btf.c [BTF_KIND_STRUCT] = "STRUCT", BTF_KIND_STRUCT 367 kernel/bpf/btf.c return kind == BTF_KIND_STRUCT || kind == BTF_KIND_UNION; BTF_KIND_STRUCT 372 kernel/bpf/btf.c return BTF_INFO_KIND(t->info) == BTF_KIND_STRUCT; BTF_KIND_STRUCT 440 kernel/bpf/btf.c case BTF_KIND_STRUCT: BTF_KIND_STRUCT 2910 kernel/bpf/btf.c [BTF_KIND_STRUCT] = &struct_ops, BTF_KIND_STRUCT 352 kernel/bpf/local_storage.c if (BTF_INFO_KIND(key_type->info) != BTF_KIND_STRUCT || BTF_KIND_STRUCT 734 kernel/bpf/lpm_trie.c return BTF_INFO_KIND(key_type->info) != BTF_KIND_STRUCT ? BTF_KIND_STRUCT 25 tools/bpf/bpftool/btf.c [BTF_KIND_STRUCT] = "STRUCT", BTF_KIND_STRUCT 145 tools/bpf/bpftool/btf.c case BTF_KIND_STRUCT: BTF_KIND_STRUCT 363 tools/bpf/bpftool/btf_dumper.c case BTF_KIND_STRUCT: BTF_KIND_STRUCT 441 tools/bpf/bpftool/btf_dumper.c case BTF_KIND_STRUCT: BTF_KIND_STRUCT 165 tools/lib/bpf/btf.c case BTF_KIND_STRUCT: BTF_KIND_STRUCT 242 tools/lib/bpf/btf.c case BTF_KIND_STRUCT: BTF_KIND_STRUCT 1463 tools/lib/bpf/btf.c case BTF_KIND_STRUCT: BTF_KIND_STRUCT 2008 tools/lib/bpf/btf.c case BTF_KIND_STRUCT: BTF_KIND_STRUCT 2129 tools/lib/bpf/btf.c return btf_kflag(t) ? BTF_KIND_UNION : BTF_KIND_STRUCT; BTF_KIND_STRUCT 2313 tools/lib/bpf/btf.c case BTF_KIND_STRUCT: BTF_KIND_STRUCT 2419 tools/lib/bpf/btf.c if ((t_kind == BTF_KIND_STRUCT || t_kind == BTF_KIND_UNION) && BTF_KIND_STRUCT 2472 tools/lib/bpf/btf.c if (kind != BTF_KIND_STRUCT && kind != BTF_KIND_UNION) BTF_KIND_STRUCT 2797 tools/lib/bpf/btf.c case BTF_KIND_STRUCT: BTF_KIND_STRUCT 163 tools/lib/bpf/btf.h return btf_kind(t) == BTF_KIND_STRUCT; BTF_KIND_STRUCT 175 tools/lib/bpf/btf.h return kind == BTF_KIND_STRUCT || kind == BTF_KIND_UNION; BTF_KIND_STRUCT 282 tools/lib/bpf/btf_dump.c case BTF_KIND_STRUCT: BTF_KIND_STRUCT 448 tools/lib/bpf/btf_dump.c case BTF_KIND_STRUCT: BTF_KIND_STRUCT 630 tools/lib/bpf/btf_dump.c case BTF_KIND_STRUCT: BTF_KIND_STRUCT 707 tools/lib/bpf/btf_dump.c case BTF_KIND_STRUCT: BTF_KIND_STRUCT 773 tools/lib/bpf/btf_dump.c case BTF_KIND_STRUCT: BTF_KIND_STRUCT 1083 tools/lib/bpf/btf_dump.c case BTF_KIND_STRUCT: BTF_KIND_STRUCT 1190 tools/lib/bpf/btf_dump.c case BTF_KIND_STRUCT: BTF_KIND_STRUCT 1401 tools/lib/bpf/libbpf.c t->info = BTF_INFO_ENC(BTF_KIND_STRUCT, 0, vlen); BTF_KIND_STRUCT 181 tools/lib/bpf/libbpf_probes.c BTF_TYPE_ENC(1, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 1), 4), BTF_KIND_STRUCT 184 tools/lib/bpf/libbpf_probes.c BTF_TYPE_ENC(15, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 2), 8), BTF_KIND_STRUCT 120 tools/testing/selftests/bpf/map_tests/sk_storage_map.c BTF_TYPE_ENC(1, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 1), 4), BTF_KIND_STRUCT 123 tools/testing/selftests/bpf/map_tests/sk_storage_map.c BTF_TYPE_ENC(15, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 2), 8), BTF_KIND_STRUCT 157 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 6), 180), BTF_KIND_STRUCT 206 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 3), 68), BTF_KIND_STRUCT 213 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 2), 8), BTF_KIND_STRUCT 247 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 2), 16), BTF_KIND_STRUCT 286 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 4), 48), BTF_KIND_STRUCT 326 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 4), 48), BTF_KIND_STRUCT 479 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 4), 48), BTF_KIND_STRUCT 516 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 4), 48), BTF_KIND_STRUCT 553 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 4), 48), BTF_KIND_STRUCT 590 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 4), 48), BTF_KIND_STRUCT 628 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 4), 48), BTF_KIND_STRUCT 668 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 4), 48), BTF_KIND_STRUCT 708 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 4), 48), BTF_KIND_STRUCT 883 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 2), sizeof(int) * 2), BTF_KIND_STRUCT 936 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 2), sizeof(int) * 2 - 1), BTF_KIND_STRUCT 970 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 2), sizeof(int) * 3 - 1), BTF_KIND_STRUCT 1004 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 2), sizeof(int) + sizeof(void *) - 1), BTF_KIND_STRUCT 1046 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 2), sizeof(int) * 2 - 1), BTF_KIND_STRUCT 1082 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 1), sizeof(void *)), BTF_KIND_STRUCT 1111 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 1), 8), BTF_KIND_STRUCT 1338 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 2), 8), BTF_KIND_STRUCT 1344 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 2), 8), BTF_KIND_STRUCT 1374 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 2), 8), BTF_KIND_STRUCT 1398 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 1), sizeof(void *)), BTF_KIND_STRUCT 1426 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 1), sizeof(void *)), BTF_KIND_STRUCT 1430 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 1), sizeof(void *)), BTF_KIND_STRUCT 2133 tools/testing/selftests/bpf/test_btf.c BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 1), 4), /* [2] */ BTF_KIND_STRUCT 2153 tools/testing/selftests/bpf/test_btf.c BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 1), 4), /* [2] */ BTF_KIND_STRUCT 2175 tools/testing/selftests/bpf/test_btf.c BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 1), 4), /* [2] */ BTF_KIND_STRUCT 2195 tools/testing/selftests/bpf/test_btf.c BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 1), 4), /* [2] */ BTF_KIND_STRUCT 3055 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_STRUCT, 1, 2), 8), /* [2] */ BTF_KIND_STRUCT 3074 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_STRUCT, 1, 2), 4), /* [2] */ BTF_KIND_STRUCT 3114 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_STRUCT, 1, 2), 4),/* [3] */ BTF_KIND_STRUCT 3156 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_STRUCT, 1, 2), 4),/* [3] */ BTF_KIND_STRUCT 3200 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_STRUCT, 1, 2), 4), /* [2] */ BTF_KIND_STRUCT 3222 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_STRUCT, 1, 2), 4), /* [3] */ BTF_KIND_STRUCT 3244 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_STRUCT, 1, 2), 4), /* [3] */ BTF_KIND_STRUCT 3287 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_STRUCT, 1, 2), 12), /* [3] */ BTF_KIND_STRUCT 3311 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_STRUCT, 1, 2), 12), /* [3] */ BTF_KIND_STRUCT 3350 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 1), 16), /* [3] */ BTF_KIND_STRUCT 3369 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 1), 16), /* [3] */ BTF_KIND_STRUCT 3388 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_STRUCT, 1, 1), 16), /* [3] */ BTF_KIND_STRUCT 3407 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_STRUCT, 1, 1), 16), /* [3] */ BTF_KIND_STRUCT 4372 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 11), 40), BTF_KIND_STRUCT 4437 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 1, 11), 40), BTF_KIND_STRUCT 4504 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 1, 11), 40), BTF_KIND_STRUCT 4543 tools/testing/selftests/bpf/test_btf.c BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_STRUCT, 1, 5), 64), BTF_KIND_STRUCT 6692 tools/testing/selftests/bpf/test_btf.c case BTF_KIND_STRUCT: BTF_KIND_STRUCT 29 tools/testing/selftests/bpf/test_btf.h BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, nr_elems), sz) BTF_KIND_STRUCT 529 tools/testing/selftests/bpf/test_verifier.c BTF_TYPE_ENC(1, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 1), 4), BTF_KIND_STRUCT 532 tools/testing/selftests/bpf/test_verifier.c BTF_TYPE_ENC(15, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, 2), 8),