Lines Matching refs:btf_dedup
3133 struct btf_dedup;
3135 static struct btf_dedup *btf_dedup_new(struct btf *btf, const struct btf_dedup_opts *opts);
3136 static void btf_dedup_free(struct btf_dedup *d);
3137 static int btf_dedup_prep(struct btf_dedup *d);
3138 static int btf_dedup_strings(struct btf_dedup *d);
3139 static int btf_dedup_prim_types(struct btf_dedup *d);
3140 static int btf_dedup_struct_types(struct btf_dedup *d);
3141 static int btf_dedup_ref_types(struct btf_dedup *d);
3142 static int btf_dedup_resolve_fwds(struct btf_dedup *d);
3143 static int btf_dedup_compact_types(struct btf_dedup *d);
3144 static int btf_dedup_remap_types(struct btf_dedup *d);
3286 struct btf_dedup *d; in btf__dedup()
3352 struct btf_dedup { struct
3396 static int btf_dedup_table_add(struct btf_dedup *d, long hash, __u32 type_id) in btf_dedup_table_add() argument
3401 static int btf_dedup_hypot_map_add(struct btf_dedup *d, in btf_dedup_hypot_map_add()
3418 static void btf_dedup_clear_hypot_map(struct btf_dedup *d) in btf_dedup_clear_hypot_map()
3428 static void btf_dedup_free(struct btf_dedup *d) in btf_dedup_free()
3460 static struct btf_dedup *btf_dedup_new(struct btf *btf, const struct btf_dedup_opts *opts) in btf_dedup_new()
3462 struct btf_dedup *d = calloc(1, sizeof(struct btf_dedup)); in btf_dedup_new()
3521 static int btf_for_each_str_off(struct btf_dedup *d, str_off_visit_fn fn, void *ctx) in btf_for_each_str_off()
3553 struct btf_dedup *d = ctx; in strs_dedup_remap_str_off()
3592 static int btf_dedup_strings(struct btf_dedup *d) in btf_dedup_strings()
3929 static int btf_dedup_prep(struct btf_dedup *d) in btf_dedup_prep()
3995 static int btf_dedup_prim_type(struct btf_dedup *d, __u32 type_id) in btf_dedup_prim_type()
4080 static int btf_dedup_prim_types(struct btf_dedup *d) in btf_dedup_prim_types()
4095 static inline bool is_type_mapped(struct btf_dedup *d, uint32_t type_id) in is_type_mapped()
4105 static inline __u32 resolve_type_id(struct btf_dedup *d, __u32 type_id) in resolve_type_id()
4116 static uint32_t resolve_fwd_id(struct btf_dedup *d, uint32_t type_id) in resolve_fwd_id()
4139 static bool btf_dedup_identical_arrays(struct btf_dedup *d, __u32 id1, __u32 id2) in btf_dedup_identical_arrays()
4152 static bool btf_dedup_identical_structs(struct btf_dedup *d, __u32 id1, __u32 id2) in btf_dedup_identical_structs()
4271 static int btf_dedup_is_equiv(struct btf_dedup *d, __u32 cand_id, in btf_dedup_is_equiv()
4457 static void btf_dedup_merge_hypot_map(struct btf_dedup *d) in btf_dedup_merge_hypot_map()
4542 static int btf_dedup_struct_type(struct btf_dedup *d, __u32 type_id) in btf_dedup_struct_type()
4600 static int btf_dedup_struct_types(struct btf_dedup *d) in btf_dedup_struct_types()
4636 static int btf_dedup_ref_type(struct btf_dedup *d, __u32 type_id) in btf_dedup_ref_type()
4762 static int btf_dedup_ref_types(struct btf_dedup *d) in btf_dedup_ref_types()
4782 static int btf_dedup_fill_unique_names_map(struct btf_dedup *d, struct hashmap *names_map) in btf_dedup_fill_unique_names_map()
4816 static int btf_dedup_resolve_fwd(struct btf_dedup *d, struct hashmap *names_map, __u32 type_id) in btf_dedup_resolve_fwd()
4881 static int btf_dedup_resolve_fwds(struct btf_dedup *d) in btf_dedup_resolve_fwds()
4916 static int btf_dedup_compact_types(struct btf_dedup *d) in btf_dedup_compact_types()
4972 struct btf_dedup *d = ctx; in btf_dedup_remap_type_id()
4994 static int btf_dedup_remap_types(struct btf_dedup *d) in btf_dedup_remap_types()