Lines Matching refs:btf_dedup
2847 struct btf_dedup;
2849 static struct btf_dedup *btf_dedup_new(struct btf *btf, struct btf_ext *btf_ext,
2851 static void btf_dedup_free(struct btf_dedup *d);
2852 static int btf_dedup_prep(struct btf_dedup *d);
2853 static int btf_dedup_strings(struct btf_dedup *d);
2854 static int btf_dedup_prim_types(struct btf_dedup *d);
2855 static int btf_dedup_struct_types(struct btf_dedup *d);
2856 static int btf_dedup_ref_types(struct btf_dedup *d);
2857 static int btf_dedup_compact_types(struct btf_dedup *d);
2858 static int btf_dedup_remap_types(struct btf_dedup *d);
3000 struct btf_dedup *d = btf_dedup_new(btf, btf_ext, opts); in btf__dedup()
3057 struct btf_dedup { struct
3101 static int btf_dedup_table_add(struct btf_dedup *d, long hash, __u32 type_id) in btf_dedup_table_add() argument
3107 static int btf_dedup_hypot_map_add(struct btf_dedup *d, in btf_dedup_hypot_map_add()
3124 static void btf_dedup_clear_hypot_map(struct btf_dedup *d) in btf_dedup_clear_hypot_map()
3134 static void btf_dedup_free(struct btf_dedup *d) in btf_dedup_free()
3166 static struct btf_dedup *btf_dedup_new(struct btf *btf, struct btf_ext *btf_ext, in btf_dedup_new()
3169 struct btf_dedup *d = calloc(1, sizeof(struct btf_dedup)); in btf_dedup_new()
3230 static int btf_for_each_str_off(struct btf_dedup *d, str_off_visit_fn fn, void *ctx) in btf_for_each_str_off()
3254 struct btf_dedup *d = ctx; in strs_dedup_remap_str_off()
3293 static int btf_dedup_strings(struct btf_dedup *d) in btf_dedup_strings()
3600 static int btf_dedup_prep(struct btf_dedup *d) in btf_dedup_prep()
3664 static int btf_dedup_prim_type(struct btf_dedup *d, __u32 type_id) in btf_dedup_prim_type()
3749 static int btf_dedup_prim_types(struct btf_dedup *d) in btf_dedup_prim_types()
3764 static inline bool is_type_mapped(struct btf_dedup *d, uint32_t type_id) in is_type_mapped()
3774 static inline __u32 resolve_type_id(struct btf_dedup *d, __u32 type_id) in resolve_type_id()
3785 static uint32_t resolve_fwd_id(struct btf_dedup *d, uint32_t type_id) in resolve_fwd_id()
3808 static int btf_dedup_identical_arrays(struct btf_dedup *d, __u32 id1, __u32 id2) in btf_dedup_identical_arrays()
3913 static int btf_dedup_is_equiv(struct btf_dedup *d, __u32 cand_id, in btf_dedup_is_equiv()
4089 static void btf_dedup_merge_hypot_map(struct btf_dedup *d) in btf_dedup_merge_hypot_map()
4174 static int btf_dedup_struct_type(struct btf_dedup *d, __u32 type_id) in btf_dedup_struct_type()
4232 static int btf_dedup_struct_types(struct btf_dedup *d) in btf_dedup_struct_types()
4268 static int btf_dedup_ref_type(struct btf_dedup *d, __u32 type_id) in btf_dedup_ref_type()
4393 static int btf_dedup_ref_types(struct btf_dedup *d) in btf_dedup_ref_types()
4419 static int btf_dedup_compact_types(struct btf_dedup *d) in btf_dedup_compact_types()
4475 struct btf_dedup *d = ctx; in btf_dedup_remap_type_id()
4497 static int btf_dedup_remap_types(struct btf_dedup *d) in btf_dedup_remap_types()