Lines Matching refs:cand_id
3563 __u32 cand_id; in btf_dedup_prim_type() local
3584 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_prim_type()
3585 cand = btf_type_by_id(d->btf, cand_id); in btf_dedup_prim_type()
3587 new_id = cand_id; in btf_dedup_prim_type()
3596 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_prim_type()
3597 cand = btf_type_by_id(d->btf, cand_id); in btf_dedup_prim_type()
3599 new_id = cand_id; in btf_dedup_prim_type()
3607 new_id = cand_id; in btf_dedup_prim_type()
3611 d->map[cand_id] = type_id; in btf_dedup_prim_type()
3619 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_prim_type()
3620 cand = btf_type_by_id(d->btf, cand_id); in btf_dedup_prim_type()
3622 new_id = cand_id; in btf_dedup_prim_type()
3790 static int btf_dedup_is_equiv(struct btf_dedup *d, __u32 cand_id, in btf_dedup_is_equiv() argument
3801 if (resolve_type_id(d, cand_id) == resolve_type_id(d, canon_id)) in btf_dedup_is_equiv()
3808 return hypot_type_id == cand_id; in btf_dedup_is_equiv()
3810 if (btf_dedup_hypot_map_add(d, canon_id, cand_id)) in btf_dedup_is_equiv()
3813 cand_type = btf_type_by_id(d->btf, cand_id); in btf_dedup_is_equiv()
4042 __u32 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_struct_type() local
4055 cand_type = btf_type_by_id(d->btf, cand_id); in btf_dedup_struct_type()
4060 eq = btf_dedup_is_equiv(d, type_id, cand_id); in btf_dedup_struct_type()
4065 new_id = cand_id; in btf_dedup_struct_type()
4116 __u32 new_id = type_id, cand_id; in btf_dedup_ref_type() local
4144 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_ref_type()
4145 cand = btf_type_by_id(d->btf, cand_id); in btf_dedup_ref_type()
4147 new_id = cand_id; in btf_dedup_ref_type()
4168 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_ref_type()
4169 cand = btf_type_by_id(d->btf, cand_id); in btf_dedup_ref_type()
4171 new_id = cand_id; in btf_dedup_ref_type()
4200 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_ref_type()
4201 cand = btf_type_by_id(d->btf, cand_id); in btf_dedup_ref_type()
4203 new_id = cand_id; in btf_dedup_ref_type()