Lines Matching refs:btf_kind
293 switch (btf_kind(t)) { in btf_type_size()
324 pr_debug("Unsupported BTF_KIND:%u\n", btf_kind(t)); in btf_type_size()
347 switch (btf_kind(t)) { in btf_bswap_type_rest()
408 pr_debug("Unsupported BTF_KIND:%u\n", btf_kind(t)); in btf_bswap_type_rest()
614 switch (btf_kind(t)) { in btf__resolve_size()
662 __u16 kind = btf_kind(t); in btf__align_of()
709 pr_warn("unsupported BTF_KIND:%u\n", btf_kind(t)); in btf__align_of()
764 if (btf_kind(t) != kind) in btf_find_by_name_kind()
1548 t->info = btf_type_info(btf_kind(t), btf_vlen(t) + 1, btf_kflag(t)); in btf_type_inc_vlen()
2057 t->info = btf_type_info(btf_kind(t), btf_vlen(t) + 1, is_bitfield || btf_kflag(t)); in btf__add_field()
2167 t->info = btf_type_info(btf_kind(t), btf_vlen(t), true); in btf__add_enum_value()
3475 if (btf_kind(t1) == BTF_KIND_ENUM) in btf_equal_enum()
3691 switch (btf_kind(t)) { in btf_dedup_prep()
3726 pr_debug("unknown kind %d for type [%d]\n", btf_kind(t), type_id); in btf_dedup_prep()
3752 switch (btf_kind(t)) { in btf_dedup_prim_type()
3908 if (!btf_is_composite(t1) || btf_kind(t1) != btf_kind(t2)) in btf_dedup_identical_structs()
4065 cand_kind = btf_kind(cand_type); in btf_dedup_is_equiv()
4066 canon_kind = btf_kind(canon_type); in btf_dedup_is_equiv()
4216 t_kind = btf_kind(btf__type_by_id(d->btf, t_id)); in btf_dedup_merge_hypot_map()
4217 c_kind = btf_kind(btf__type_by_id(d->btf, c_id)); in btf_dedup_merge_hypot_map()
4303 kind = btf_kind(t); in btf_dedup_struct_type()
4400 switch (btf_kind(t)) { in btf_dedup_ref_type()
4543 kind = btf_kind(t); in btf_dedup_fill_unique_names_map()
4567 __u16 cand_kind, kind = btf_kind(t); in btf_dedup_resolve_fwd()
4586 cand_kind = btf_kind(cand_t); in btf_dedup_resolve_fwd()
4821 switch (btf_kind(t)) { in btf_type_visit_type_ids()
4898 switch (btf_kind(t)) { in btf_type_visit_str_offs()