Searched refs:btf_kind (Results 1 – 6 of 6) sorted by relevance
320 static inline __u16 btf_kind(const struct btf_type *t) in btf_kind() function337 return btf_kind(t) == BTF_KIND_UNKN; in btf_is_void()342 return btf_kind(t) == BTF_KIND_INT; in btf_is_int()347 return btf_kind(t) == BTF_KIND_PTR; in btf_is_ptr()352 return btf_kind(t) == BTF_KIND_ARRAY; in btf_is_array()357 return btf_kind(t) == BTF_KIND_STRUCT; in btf_is_struct()362 return btf_kind(t) == BTF_KIND_UNION; in btf_is_union()367 __u16 kind = btf_kind(t); in btf_is_composite()374 return btf_kind(t) == BTF_KIND_ENUM; in btf_is_enum()379 return btf_kind(t) == BTF_KIND_ENUM64; in btf_is_enum64()[all …]
297 switch (btf_kind(t)) { in btf_type_size()328 pr_debug("Unsupported BTF_KIND:%u\n", btf_kind(t)); in btf_type_size()351 switch (btf_kind(t)) { in btf_bswap_type_rest()412 pr_debug("Unsupported BTF_KIND:%u\n", btf_kind(t)); in btf_bswap_type_rest()483 __u32 kind = btf_kind(t); in btf_validate_type()559 if (btf_kind(ft) != BTF_KIND_FUNC_PROTO) { in btf_validate_type()777 switch (btf_kind(t)) { in btf__resolve_size()825 __u16 kind = btf_kind(t); in btf__align_of()872 pr_warn("unsupported BTF_KIND:%u\n", btf_kind(t)); in btf__align_of()927 if (btf_kind(t) != kind) in btf_find_by_name_kind()[all …]
321 switch (btf_kind(t)) { in btf_dump_mark_referenced()501 switch (btf_kind(t)) { in btf_dump_order_type()696 kind = btf_kind(t); in btf_dump_emit_type()1316 switch (btf_kind(t)) { in btf_dump_emit_type_decl()1339 btf_kind(t), id); in btf_dump_emit_type_decl()1377 switch (btf_kind(t)) { in btf_dump_emit_mods()1446 kind = btf_kind(t); in btf_dump_emit_type_chain()1742 btf_dump_printf(d, "<unsupported kind:%u>", btf_kind(t)); in btf_dump_unsupported_data()1834 if (btf_kind(t) == BTF_KIND_PTR) in btf_dump_base_type_check_zero()2293 switch (btf_kind(t)) { in btf_dump_type_data_check_overflow()[all …]
171 switch (btf_kind(local_type)) { in __bpf_core_types_are_compat()430 switch (btf_kind(local_type)) { in bpf_core_fields_are_compat()1571 local_k = btf_kind(local_t); in __bpf_core_types_match()1572 targ_k = btf_kind(targ_t); in __bpf_core_types_match()
1340 if (btf_kind(t1) != btf_kind(t2)) { in glob_sym_btf_matches()1346 switch (btf_kind(t1)) { in glob_sym_btf_matches()1366 switch (btf_kind(t1)) { in glob_sym_btf_matches()2145 if (btf_kind(t) != BTF_KIND_DATASEC) in linker_fixup_btf()2256 if (btf_kind(t) == BTF_KIND_DATASEC) in linker_append_btf()
2221 return __btf_kind_str(btf_kind(t));2892 t->info = btf_type_info(btf_kind(t), btf_vlen(t), false);4036 switch (btf_kind(t)) {13596 __btf_kind_str(btf_kind(map_type)));