Lines Matching refs:cand_id
3749 __u32 cand_id; in btf_dedup_prim_type() local
3772 cand_id = hash_entry->value; in btf_dedup_prim_type()
3773 cand = btf_type_by_id(d->btf, cand_id); in btf_dedup_prim_type()
3775 new_id = cand_id; in btf_dedup_prim_type()
3785 cand_id = hash_entry->value; in btf_dedup_prim_type()
3786 cand = btf_type_by_id(d->btf, cand_id); in btf_dedup_prim_type()
3788 new_id = cand_id; in btf_dedup_prim_type()
3794 new_id = cand_id; in btf_dedup_prim_type()
3798 d->map[cand_id] = type_id; in btf_dedup_prim_type()
3807 cand_id = hash_entry->value; in btf_dedup_prim_type()
3808 cand = btf_type_by_id(d->btf, cand_id); in btf_dedup_prim_type()
3810 new_id = cand_id; in btf_dedup_prim_type()
4018 static int btf_dedup_is_equiv(struct btf_dedup *d, __u32 cand_id, in btf_dedup_is_equiv() argument
4029 if (resolve_type_id(d, cand_id) == resolve_type_id(d, canon_id)) in btf_dedup_is_equiv()
4036 if (hypot_type_id == cand_id) in btf_dedup_is_equiv()
4046 if (btf_dedup_identical_arrays(d, hypot_type_id, cand_id)) in btf_dedup_is_equiv()
4055 if (btf_dedup_identical_structs(d, hypot_type_id, cand_id)) in btf_dedup_is_equiv()
4060 if (btf_dedup_hypot_map_add(d, canon_id, cand_id)) in btf_dedup_is_equiv()
4063 cand_type = btf_type_by_id(d->btf, cand_id); in btf_dedup_is_equiv()
4310 __u32 cand_id = hash_entry->value; in btf_dedup_struct_type() local
4323 cand_type = btf_type_by_id(d->btf, cand_id); in btf_dedup_struct_type()
4328 eq = btf_dedup_is_equiv(d, type_id, cand_id); in btf_dedup_struct_type()
4336 new_id = cand_id; in btf_dedup_struct_type()
4386 __u32 new_id = type_id, cand_id; in btf_dedup_ref_type() local
4415 cand_id = hash_entry->value; in btf_dedup_ref_type()
4416 cand = btf_type_by_id(d->btf, cand_id); in btf_dedup_ref_type()
4418 new_id = cand_id; in btf_dedup_ref_type()
4432 cand_id = hash_entry->value; in btf_dedup_ref_type()
4433 cand = btf_type_by_id(d->btf, cand_id); in btf_dedup_ref_type()
4435 new_id = cand_id; in btf_dedup_ref_type()
4456 cand_id = hash_entry->value; in btf_dedup_ref_type()
4457 cand = btf_type_by_id(d->btf, cand_id); in btf_dedup_ref_type()
4459 new_id = cand_id; in btf_dedup_ref_type()
4488 cand_id = hash_entry->value; in btf_dedup_ref_type()
4489 cand = btf_type_by_id(d->btf, cand_id); in btf_dedup_ref_type()
4491 new_id = cand_id; in btf_dedup_ref_type()
4569 uintptr_t cand_id; in btf_dedup_resolve_fwd() local
4578 if (!hashmap__find(names_map, t->name_off, &cand_id)) in btf_dedup_resolve_fwd()
4582 if (!cand_id) in btf_dedup_resolve_fwd()
4585 cand_t = btf_type_by_id(d->btf, cand_id); in btf_dedup_resolve_fwd()
4591 d->map[type_id] = cand_id; in btf_dedup_resolve_fwd()