Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dbtf_dump.c302 case BTF_KIND_UNION: { in btf_dump_mark_referenced()
468 case BTF_KIND_UNION: { in btf_dump_order_type()
653 case BTF_KIND_UNION: in btf_dump_emit_type()
733 case BTF_KIND_UNION: in btf_dump_emit_type()
1134 case BTF_KIND_UNION: in btf_dump_emit_type_decl()
1255 case BTF_KIND_UNION: in btf_dump_emit_type_chain()
H A Dbtf.h220 return btf_kind(t) == BTF_KIND_UNION; in btf_is_union()
227 return kind == BTF_KIND_STRUCT || kind == BTF_KIND_UNION; in btf_is_composite()
H A Dbtf.c274 case BTF_KIND_UNION: in btf_type_size()
330 case BTF_KIND_UNION: in btf_bswap_type_rest()
550 case BTF_KIND_UNION: in btf__resolve_size()
607 case BTF_KIND_UNION: { in btf__align_of()
1790 return btf_add_composite(btf, BTF_KIND_UNION, name, byte_sz); in btf__add_union()
3027 case BTF_KIND_UNION: { in btf_for_each_str_off()
3574 case BTF_KIND_UNION: in btf_dedup_prim_type()
3694 return btf_kflag(t) ? BTF_KIND_UNION : BTF_KIND_STRUCT; in btf_fwd_kind()
3879 case BTF_KIND_UNION: { in btf_dedup_is_equiv()
3984 if ((t_kind == BTF_KIND_STRUCT || t_kind == BTF_KIND_UNION) && in btf_dedup_merge_hypot_map()
[all …]
H A Dlibbpf.c1909 case BTF_KIND_UNION: return "union"; in btf_kind_str()
4940 case BTF_KIND_UNION: in bpf_core_types_are_compat()
/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.h60 #define BTF_KIND_UNION 5 /* Union */ 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.h60 #define BTF_KIND_UNION 5 /* Union */ macro
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dbtf.h64 #define BTF_KIND_UNION 5 /* Union */ macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbtf.h64 #define BTF_KIND_UNION 5 /* Union */ macro
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_btf.h32 BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_UNION, 0, nr_elems), sz)
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dresolve_btfids.c27 { "U", BTF_KIND_UNION, -1 },
H A Dcore_reloc.c394 exp->local_union = find_btf_type(local_btf, "a_union", BTF_KIND_UNION); in setup_type_id_case_local()
418 exp->targ_union = find_btf_type(targ_btf, "a_union", BTF_KIND_UNION); in setup_type_id_case_success()
H A Dbtf_write.c130 ASSERT_EQ(btf_kind(t), BTF_KIND_UNION, "union_kind"); in test_btf_write()
H A Dbtf.c3097 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_UNION, 1, 2), 4), /* [2] */
3139 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_UNION, 1, 2), 4), /* [3] */
3183 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_UNION, 1, 2), 4), /* [3] */
3269 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_UNION, 1, 2), 2), /* [2] */
4310 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_UNION, 0, 2), 8),
4375 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_UNION, 0, 2), 8),
4442 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_UNION, 0, 2), 8),
6620 case BTF_KIND_UNION: in btf_type_size()
/OK3568_Linux_fs/kernel/include/linux/
H A Dbtf.h165 return kind == BTF_KIND_STRUCT || kind == BTF_KIND_UNION; in btf_type_is_struct()
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H A Dbtf.c28 [BTF_KIND_UNION] = "UNION",
162 case BTF_KIND_UNION: { in dump_btf_type()
H A Dbtf_dumper.c529 case BTF_KIND_UNION: in btf_dumper_do_type()
605 case BTF_KIND_UNION: in __btf_dumper_type_only()
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dbtf.c264 [BTF_KIND_UNION] = "UNION",
553 case BTF_KIND_UNION: in btf_type_has_size()
878 case BTF_KIND_UNION: in btf_show_name()
951 BTF_INFO_KIND(show->state.type->info) == BTF_KIND_UNION) in btf_show_delim()
1653 case BTF_KIND_UNION: in __btf_resolve_size()
2825 bool is_union = BTF_INFO_KIND(t->info) == BTF_KIND_UNION; in btf_struct_check_meta()
3737 [BTF_KIND_UNION] = &struct_ops,
/OK3568_Linux_fs/kernel/Documentation/bpf/
H A Dbtf.rst76 #define BTF_KIND_UNION 5 /* Union */
230 2.2.5 BTF_KIND_UNION
236 * ``info.kind``: BTF_KIND_STRUCT or BTF_KIND_UNION