Lines Matching refs:t1

1487 	const struct btf_type *t1, *t2;  in glob_sym_btf_matches()  local
1494 t1 = skip_mods_and_typedefs(btf1, id1, &id1); in glob_sym_btf_matches()
1498 if (!exact && btf_is_fwd(t1) != btf_is_fwd(t2)) { in glob_sym_btf_matches()
1499 n1 = btf__str_by_offset(btf1, t1->name_off); in glob_sym_btf_matches()
1507 if (btf_is_fwd(t1)) { 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()
1531 switch (btf_kind(t1)) { in glob_sym_btf_matches()
1539 n1 = btf__str_by_offset(btf1, t1->name_off); in glob_sym_btf_matches()
1543 sym_name, btf_kind_str(t1), n1, n2); in glob_sym_btf_matches()
1551 switch (btf_kind(t1)) { 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()
1572 id1 = t1->type; in glob_sym_btf_matches()
1577 id1 = btf_array(t1)->type; in glob_sym_btf_matches()
1582 is_static1 = btf_func_linkage(t1) == BTF_FUNC_STATIC; in glob_sym_btf_matches()
1589 id1 = t1->type; in glob_sym_btf_matches()
1594 is_static1 = btf_var(t1)->linkage == BTF_VAR_STATIC; in glob_sym_btf_matches()
1601 id1 = t1->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()
1617 n = btf_vlen(t1); in glob_sym_btf_matches()
1618 m1 = btf_members(t1); 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()
1648 n = btf_vlen(t1); in glob_sym_btf_matches()
1649 m1 = btf_params(t1); in glob_sym_btf_matches()
1658 id1 = t1->type; in glob_sym_btf_matches()
1672 sym_name, btf_kind_str(t1)); in glob_sym_btf_matches()