Lines Matching refs:BTF_INFO_KIND
338 return btf_kind_str[BTF_INFO_KIND(t->info)]; in btf_type_str()
474 switch (BTF_INFO_KIND(t->info)) { in btf_type_is_modifier()
493 return BTF_INFO_KIND(t->info) == BTF_KIND_FWD; in btf_type_is_fwd()
498 return BTF_INFO_KIND(t->info) == BTF_KIND_DATASEC; in btf_type_is_datasec()
503 return BTF_INFO_KIND(t->info) == BTF_KIND_DECL_TAG; in btf_type_is_decl_tag()
545 if (BTF_INFO_KIND(t->info) != kind) in btf_find_by_name_kind()
681 switch (BTF_INFO_KIND(t->info)) { in btf_type_has_size()
741 return kind_ops[BTF_INFO_KIND(t->info)]; in btf_type_ops()
908 BTF_INFO_KIND(t->info) != BTF_KIND_TYPEDEF) { in btf_type_skip_qualifiers()
995 switch (BTF_INFO_KIND(t->info)) { in btf_show_name()
1034 switch (BTF_INFO_KIND(t->info)) { in btf_show_name()
1037 prefix = BTF_INFO_KIND(t->info) == BTF_KIND_STRUCT ? in btf_show_name()
1110 BTF_INFO_KIND(show->state.type->info) == BTF_KIND_UNION) in btf_show_delim()
1884 switch (BTF_INFO_KIND(type->info)) { in __btf_resolve_size()
2071 btf_show(show, "<unsupported kind:%u>", BTF_INFO_KIND(t->info)); in btf_df_show()
2533 if (BTF_INFO_KIND(t->info) == BTF_KIND_TYPEDEF) { in btf_ref_type_check_meta()
2539 } else if (BTF_INFO_KIND(t->info) == BTF_KIND_TYPE_TAG) { in btf_ref_type_check_meta()
3087 bool is_union = BTF_INFO_KIND(t->info) == BTF_KIND_UNION; in btf_struct_check_meta()
3580 id = bpf_find_btf_id(__btf_name_by_offset(btf, t->name_off), BTF_INFO_KIND(t->info), in btf_parse_kptr()
4965 if (BTF_INFO_KIND(t->info) > BTF_KIND_MAX || in btf_check_meta()
4966 BTF_INFO_KIND(t->info) == BTF_KIND_UNKN) { in btf_check_meta()
4968 env->log_type_id, BTF_INFO_KIND(t->info)); in btf_check_meta()
6147 if (BTF_INFO_KIND(t->info) == BTF_KIND_UNION && vlen != 1 && !(*flag & PTR_UNTRUSTED)) in btf_struct_walk()
8507 safe_id = btf_find_by_name_kind(btf, safe_tname, BTF_INFO_KIND(walk_type->info)); in btf_nested_type_is_trusted()