Lines Matching refs:id_map
5923 int *id_map; member
5948 if (dist->id_map[*id] > 0) in btf_add_distilled_type_ids()
5971 dist->id_map[*id] = *id; in btf_add_distilled_type_ids()
6009 if (!dist->id_map[i]) in btf_add_distilled_types()
6079 dist->id_map[i] = id++; in btf_add_distilled_types()
6100 if (dist->id_map[*id]) in btf_update_distilled_type_ids()
6101 *id = dist->id_map[*id]; in btf_update_distilled_type_ids()
6145 dist.id_map = calloc(n, sizeof(*dist.id_map)); in btf__distill_base()
6146 if (!dist.id_map) { in btf__distill_base()
6212 free(dist.id_map); in btf__distill_base()
6248 __u32 *id_map; member
6265 *type_id = p->id_map[new_id - p->btf->start_id + p->start_offs]; in btf_permute_remap_type_id()
6269 int btf__permute(struct btf *btf, __u32 *id_map, __u32 id_map_cnt, in btf__permute() argument
6285 if (id_map[0] != 0) in btf__permute()
6295 order_map = calloc(id_map_cnt, sizeof(*id_map)); in btf__permute()
6312 id = id_map[i]; in btf__permute()
6327 p.id_map = id_map; in btf__permute()