Lines Matching refs:btf_dedup
2875 struct btf_dedup;
2877 static struct btf_dedup *btf_dedup_new(struct btf *btf, const struct btf_dedup_opts *opts);
2878 static void btf_dedup_free(struct btf_dedup *d);
2879 static int btf_dedup_prep(struct btf_dedup *d);
2880 static int btf_dedup_strings(struct btf_dedup *d);
2881 static int btf_dedup_prim_types(struct btf_dedup *d);
2882 static int btf_dedup_struct_types(struct btf_dedup *d);
2883 static int btf_dedup_ref_types(struct btf_dedup *d);
2884 static int btf_dedup_compact_types(struct btf_dedup *d);
2885 static int btf_dedup_remap_types(struct btf_dedup *d);
3026 struct btf_dedup *d; in btf__dedup()
3087 struct btf_dedup { struct
3131 static int btf_dedup_table_add(struct btf_dedup *d, long hash, __u32 type_id) in btf_dedup_table_add() argument
3137 static int btf_dedup_hypot_map_add(struct btf_dedup *d, in btf_dedup_hypot_map_add()
3154 static void btf_dedup_clear_hypot_map(struct btf_dedup *d) in btf_dedup_clear_hypot_map()
3164 static void btf_dedup_free(struct btf_dedup *d) in btf_dedup_free()
3196 static struct btf_dedup *btf_dedup_new(struct btf *btf, const struct btf_dedup_opts *opts) in btf_dedup_new()
3198 struct btf_dedup *d = calloc(1, sizeof(struct btf_dedup)); in btf_dedup_new()
3257 static int btf_for_each_str_off(struct btf_dedup *d, str_off_visit_fn fn, void *ctx) in btf_for_each_str_off()
3281 struct btf_dedup *d = ctx; in strs_dedup_remap_str_off()
3320 static int btf_dedup_strings(struct btf_dedup *d) in btf_dedup_strings()
3660 static int btf_dedup_prep(struct btf_dedup *d) in btf_dedup_prep()
3726 static int btf_dedup_prim_type(struct btf_dedup *d, __u32 type_id) in btf_dedup_prim_type()
3831 static int btf_dedup_prim_types(struct btf_dedup *d) in btf_dedup_prim_types()
3846 static inline bool is_type_mapped(struct btf_dedup *d, uint32_t type_id) in is_type_mapped()
3856 static inline __u32 resolve_type_id(struct btf_dedup *d, __u32 type_id) in resolve_type_id()
3867 static uint32_t resolve_fwd_id(struct btf_dedup *d, uint32_t type_id) in resolve_fwd_id()
3890 static int btf_dedup_identical_arrays(struct btf_dedup *d, __u32 id1, __u32 id2) in btf_dedup_identical_arrays()
3903 static bool btf_dedup_identical_structs(struct btf_dedup *d, __u32 id1, __u32 id2) in btf_dedup_identical_structs()
4020 static int btf_dedup_is_equiv(struct btf_dedup *d, __u32 cand_id, in btf_dedup_is_equiv()
4208 static void btf_dedup_merge_hypot_map(struct btf_dedup *d) in btf_dedup_merge_hypot_map()
4293 static int btf_dedup_struct_type(struct btf_dedup *d, __u32 type_id) in btf_dedup_struct_type()
4351 static int btf_dedup_struct_types(struct btf_dedup *d) in btf_dedup_struct_types()
4387 static int btf_dedup_ref_type(struct btf_dedup *d, __u32 type_id) in btf_dedup_ref_type()
4513 static int btf_dedup_ref_types(struct btf_dedup *d) in btf_dedup_ref_types()
4539 static int btf_dedup_compact_types(struct btf_dedup *d) in btf_dedup_compact_types()
4595 struct btf_dedup *d = ctx; in btf_dedup_remap_type_id()
4617 static int btf_dedup_remap_types(struct btf_dedup *d) in btf_dedup_remap_types()