Lines Matching defs:cand_id
4272 __u32 cand_id;
4295 cand_id = hash_entry->value;
4296 cand = btf_type_by_id(d->btf, cand_id);
4298 new_id = cand_id;
4308 cand_id = hash_entry->value;
4309 cand = btf_type_by_id(d->btf, cand_id);
4311 new_id = cand_id;
4317 new_id = cand_id;
4321 d->map[cand_id] = type_id;
4330 cand_id = hash_entry->value;
4331 cand = btf_type_by_id(d->btf, cand_id);
4333 new_id = cand_id;
4528 * a `cand_id` is recoded in hypothetical mapping (`btf_dedup->hypot_map`).
4535 * - `canon_id` is mapped to exactly the same type as `cand_id`. This will
4594 * mapping to single `cand_id` (there could be two different `canon_id`
4595 * mapped to the same `cand_id`, but it's not contradictory).
4604 static int btf_dedup_is_equiv(struct btf_dedup *d, __u32 cand_id,
4615 if (resolve_type_id(d, cand_id) == resolve_type_id(d, canon_id))
4622 if (hypot_type_id == cand_id)
4635 if (btf_dedup_identical_types(d, hypot_type_id, cand_id, 16))
4640 if (btf_dedup_hypot_map_add(d, canon_id, cand_id))
4643 cand_type = btf_type_by_id(d->btf, cand_id);
4890 __u32 cand_id = hash_entry->value;
4903 cand_type = btf_type_by_id(d->btf, cand_id);
4908 eq = btf_dedup_is_equiv(d, type_id, cand_id);
4916 new_id = cand_id;
4966 __u32 new_id = type_id, cand_id;
4995 cand_id = hash_entry->value;
4996 cand = btf_type_by_id(d->btf, cand_id);
4998 new_id = cand_id;
5012 cand_id = hash_entry->value;
5013 cand = btf_type_by_id(d->btf, cand_id);
5015 new_id = cand_id;
5036 cand_id = hash_entry->value;
5037 cand = btf_type_by_id(d->btf, cand_id);
5039 new_id = cand_id;
5068 cand_id = hash_entry->value;
5069 cand = btf_type_by_id(d->btf, cand_id);
5071 new_id = cand_id;
5149 uintptr_t cand_id;
5158 if (!hashmap__find(names_map, t->name_off, &cand_id))
5162 if (!cand_id)
5165 cand_t = btf_type_by_id(d->btf, cand_id);
5171 d->map[type_id] = cand_id;