Lines Matching refs:t2
1487 const struct btf_type *t1, *t2; in glob_sym_btf_matches() local
1495 t2 = skip_mods_and_typedefs(btf2, id2, &id2); in glob_sym_btf_matches()
1498 if (!exact && btf_is_fwd(t1) != btf_is_fwd(t2)) { in glob_sym_btf_matches()
1500 n2 = btf__str_by_offset(btf2, t2->name_off); in glob_sym_btf_matches()
1508 if (btf_kflag(t1) && btf_is_union(t2)) in glob_sym_btf_matches()
1510 if (!btf_kflag(t1) && btf_is_struct(t2)) in glob_sym_btf_matches()
1513 sym_name, btf_kflag(t1) ? "union" : "struct", btf_kind_str(t2)); in glob_sym_btf_matches()
1515 if (btf_kflag(t2) && btf_is_union(t1)) in glob_sym_btf_matches()
1517 if (!btf_kflag(t2) && btf_is_struct(t1)) in glob_sym_btf_matches()
1520 sym_name, btf_kflag(t2) ? "union" : "struct", btf_kind_str(t1)); in glob_sym_btf_matches()
1525 if (btf_kind(t1) != btf_kind(t2)) { in glob_sym_btf_matches()
1527 sym_name, btf_kind_str(t1), btf_kind_str(t2)); in glob_sym_btf_matches()
1540 n2 = btf__str_by_offset(btf2, t2->name_off); in glob_sym_btf_matches()
1560 if (t1->size != t2->size) { in glob_sym_btf_matches()
1562 sym_name, btf_kind_str(t1), n1, t1->size, t2->size); in glob_sym_btf_matches()
1573 id2 = t2->type; in glob_sym_btf_matches()
1578 id2 = btf_array(t2)->type; in glob_sym_btf_matches()
1583 is_static2 = btf_func_linkage(t2) == BTF_FUNC_STATIC; in glob_sym_btf_matches()
1590 id2 = t2->type; in glob_sym_btf_matches()
1595 is_static2 = btf_var(t2)->linkage == BTF_VAR_STATIC; in glob_sym_btf_matches()
1602 id2 = t2->type; in glob_sym_btf_matches()
1611 if (btf_vlen(t1) != btf_vlen(t2)) { in glob_sym_btf_matches()
1613 sym_name, btf_kind_str(t1), btf_vlen(t1), btf_vlen(t2)); in glob_sym_btf_matches()
1619 m2 = btf_members(t2); in glob_sym_btf_matches()
1642 if (btf_vlen(t1) != btf_vlen(t2)) { in glob_sym_btf_matches()
1644 sym_name, btf_kind_str(t1), btf_vlen(t1), btf_vlen(t2)); in glob_sym_btf_matches()
1650 m2 = btf_params(t2); in glob_sym_btf_matches()
1659 id2 = t2->type; in glob_sym_btf_matches()