Lines Matching defs:cand_id
3576 __u32 cand_id;
3597 cand_id = (__u32)(long)hash_entry->value;
3598 cand = btf_type_by_id(d->btf, cand_id);
3600 new_id = cand_id;
3609 cand_id = (__u32)(long)hash_entry->value;
3610 cand = btf_type_by_id(d->btf, cand_id);
3612 new_id = cand_id;
3620 new_id = cand_id;
3624 d->map[cand_id] = type_id;
3632 cand_id = (__u32)(long)hash_entry->value;
3633 cand = btf_type_by_id(d->btf, cand_id);
3635 new_id = cand_id;
3727 * a `cand_id` is recored in hypothetical mapping (`btf_dedup->hypot_map`).
3734 * - `canon_id` is mapped to exactly the same type as `cand_id`. This will
3793 * mapping to single `cand_id` (there could be two different `canon_id`
3794 * mapped to the same `cand_id`, but it's not contradictory).
3803 static int btf_dedup_is_equiv(struct btf_dedup *d, __u32 cand_id,
3814 if (resolve_type_id(d, cand_id) == resolve_type_id(d, canon_id))
3821 return hypot_type_id == cand_id;
3823 if (btf_dedup_hypot_map_add(d, canon_id, cand_id))
3826 cand_type = btf_type_by_id(d->btf, cand_id);
4055 __u32 cand_id = (__u32)(long)hash_entry->value;
4068 cand_type = btf_type_by_id(d->btf, cand_id);
4073 eq = btf_dedup_is_equiv(d, type_id, cand_id);
4078 new_id = cand_id;
4129 __u32 new_id = type_id, cand_id;
4157 cand_id = (__u32)(long)hash_entry->value;
4158 cand = btf_type_by_id(d->btf, cand_id);
4160 new_id = cand_id;
4181 cand_id = (__u32)(long)hash_entry->value;
4182 cand = btf_type_by_id(d->btf, cand_id);
4184 new_id = cand_id;
4213 cand_id = (__u32)(long)hash_entry->value;
4214 cand = btf_type_by_id(d->btf, cand_id);
4216 new_id = cand_id;