Lines Matching refs:cand_id
1994 __u32 cand_id; in btf_dedup_prim_type() local
2015 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_prim_type()
2016 cand = d->btf->types[cand_id]; in btf_dedup_prim_type()
2018 new_id = cand_id; in btf_dedup_prim_type()
2027 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_prim_type()
2028 cand = d->btf->types[cand_id]; in btf_dedup_prim_type()
2030 new_id = cand_id; in btf_dedup_prim_type()
2038 new_id = cand_id; in btf_dedup_prim_type()
2042 d->map[cand_id] = type_id; in btf_dedup_prim_type()
2050 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_prim_type()
2051 cand = d->btf->types[cand_id]; in btf_dedup_prim_type()
2053 new_id = cand_id; in btf_dedup_prim_type()
2221 static int btf_dedup_is_equiv(struct btf_dedup *d, __u32 cand_id, in btf_dedup_is_equiv() argument
2232 if (resolve_type_id(d, cand_id) == resolve_type_id(d, canon_id)) in btf_dedup_is_equiv()
2239 return hypot_type_id == cand_id; in btf_dedup_is_equiv()
2241 if (btf_dedup_hypot_map_add(d, canon_id, cand_id)) in btf_dedup_is_equiv()
2244 cand_type = d->btf->types[cand_id]; in btf_dedup_is_equiv()
2473 __u32 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_struct_type() local
2486 cand_type = d->btf->types[cand_id]; in btf_dedup_struct_type()
2491 eq = btf_dedup_is_equiv(d, type_id, cand_id); in btf_dedup_struct_type()
2496 new_id = cand_id; in btf_dedup_struct_type()
2547 __u32 new_id = type_id, cand_id; in btf_dedup_ref_type() local
2575 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_ref_type()
2576 cand = d->btf->types[cand_id]; in btf_dedup_ref_type()
2578 new_id = cand_id; in btf_dedup_ref_type()
2599 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_ref_type()
2600 cand = d->btf->types[cand_id]; in btf_dedup_ref_type()
2602 new_id = cand_id; in btf_dedup_ref_type()
2631 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_ref_type()
2632 cand = d->btf->types[cand_id]; in btf_dedup_ref_type()
2634 new_id = cand_id; in btf_dedup_ref_type()