Home
last modified time | relevance | path

Searched refs:BTF_KIND_ENUM (Results 1 – 16 of 16) sorted by relevance

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c130 BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_ENUM, 0, 2), sizeof(int)),
1003 BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_ENUM, 0, 2), sizeof(int)),
1047 BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_ENUM, 0, 2), 1),
2221 BTF_INFO_ENC(BTF_KIND_ENUM, 0, 1),
2242 BTF_INFO_ENC(BTF_KIND_ENUM, 0, 1),
2265 BTF_INFO_ENC(BTF_KIND_ENUM, 0, 1),
2288 BTF_INFO_ENC(BTF_KIND_ENUM, 0, 1),
2905 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_ENUM, 1, 1), 4), /* [2] */
3116 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_ENUM, 0, 1), 4), /* [2] */
3137 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_ENUM, 0, 1), 4), /* [2] */
[all …]
H A Dbtf_write.c150 ASSERT_EQ(btf_kind(t), BTF_KIND_ENUM, "enum_kind"); in test_btf_write()
179 ASSERT_EQ(btf_kind(t), BTF_KIND_ENUM, "enum_fwd_kind"); in test_btf_write()
H A Dcore_reloc.c395 exp->local_enum = find_btf_type(local_btf, "an_enum", BTF_KIND_ENUM); in setup_type_id_case_local()
419 exp->targ_enum = find_btf_type(targ_btf, "an_enum", BTF_KIND_ENUM); in setup_type_id_case_success()
/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 Dbtf.h61 #define BTF_KIND_ENUM 6 /* Enumeration */ macro
/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 Dbtf.h61 #define BTF_KIND_ENUM 6 /* Enumeration */ macro
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dbtf.h65 #define BTF_KIND_ENUM 6 /* Enumeration */ macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbtf.h65 #define BTF_KIND_ENUM 6 /* Enumeration */ macro
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dbtf_dump.c280 case BTF_KIND_ENUM: in btf_dump_mark_referenced()
496 case BTF_KIND_ENUM: in btf_dump_order_type()
695 case BTF_KIND_ENUM: in btf_dump_emit_type()
1131 case BTF_KIND_ENUM: in btf_dump_emit_type_decl()
1263 case BTF_KIND_ENUM: in btf_dump_emit_type_chain()
H A Dbtf.c269 case BTF_KIND_ENUM: in btf_type_size()
317 case BTF_KIND_ENUM: in btf_bswap_type_rest()
551 case BTF_KIND_ENUM: in btf__resolve_size()
595 case BTF_KIND_ENUM: in btf__align_of()
1896 t->info = btf_type_info(BTF_KIND_ENUM, 0, 0); in btf__add_enum()
3039 case BTF_KIND_ENUM: { in btf_for_each_str_off()
3593 case BTF_KIND_ENUM: in btf_dedup_prim_type()
3845 case BTF_KIND_ENUM: in btf_dedup_is_equiv()
4324 case BTF_KIND_ENUM: in btf_dedup_remap_type()
H A Dbtf.h232 return btf_kind(t) == BTF_KIND_ENUM; in btf_is_enum()
H A Dlibbpf.c1910 case BTF_KIND_ENUM: return "enum"; in btf_kind_str()
2422 t->info = BTF_INFO_ENC(BTF_KIND_ENUM, 0, vlen); in bpf_object__sanitize_btf()
3032 case BTF_KIND_ENUM: in find_kcfg_type()
4774 case BTF_KIND_ENUM: { in bpf_core_fields_are_compat()
4941 case BTF_KIND_ENUM: in bpf_core_types_are_compat()
/OK3568_Linux_fs/kernel/include/linux/
H A Dbtf.h135 return BTF_INFO_KIND(t->info) == BTF_KIND_ENUM; in btf_type_is_enum()
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H A Dbtf.c29 [BTF_KIND_ENUM] = "ENUM",
208 case BTF_KIND_ENUM: { in dump_btf_type()
H A Dbtf_dumper.c533 case BTF_KIND_ENUM: in btf_dumper_do_type()
609 case BTF_KIND_ENUM: in __btf_dumper_type_only()
/OK3568_Linux_fs/kernel/Documentation/bpf/
H A Dbtf.rst77 #define BTF_KIND_ENUM 6 /* Enumeration */
276 2.2.6 BTF_KIND_ENUM
282 * ``info.kind``: BTF_KIND_ENUM
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dbtf.c265 [BTF_KIND_ENUM] = "ENUM",
554 case BTF_KIND_ENUM: in btf_type_has_size()
885 case BTF_KIND_ENUM: in btf_show_name()
1654 case BTF_KIND_ENUM: in __btf_resolve_size()
3738 [BTF_KIND_ENUM] = &enum_ops,