Lines Matching refs:btf_dedup
3297 struct btf_dedup;
3299 static struct btf_dedup *btf_dedup_new(struct btf *btf, const struct btf_dedup_opts *opts);
3300 static void btf_dedup_free(struct btf_dedup *d);
3301 static int btf_dedup_prep(struct btf_dedup *d);
3302 static int btf_dedup_strings(struct btf_dedup *d);
3303 static int btf_dedup_prim_types(struct btf_dedup *d);
3304 static int btf_dedup_struct_types(struct btf_dedup *d);
3305 static int btf_dedup_ref_types(struct btf_dedup *d);
3306 static int btf_dedup_resolve_fwds(struct btf_dedup *d);
3307 static int btf_dedup_compact_types(struct btf_dedup *d);
3308 static int btf_dedup_remap_types(struct btf_dedup *d);
3450 struct btf_dedup *d; in btf__dedup()
3516 struct btf_dedup { struct
3560 static int btf_dedup_table_add(struct btf_dedup *d, long hash, __u32 type_id) in btf_dedup_table_add() argument
3565 static int btf_dedup_hypot_map_add(struct btf_dedup *d, in btf_dedup_hypot_map_add()
3582 static void btf_dedup_clear_hypot_map(struct btf_dedup *d) in btf_dedup_clear_hypot_map()
3592 static void btf_dedup_free(struct btf_dedup *d) in btf_dedup_free()
3624 static struct btf_dedup *btf_dedup_new(struct btf *btf, const struct btf_dedup_opts *opts) in btf_dedup_new()
3626 struct btf_dedup *d = calloc(1, sizeof(struct btf_dedup)); in btf_dedup_new()
3685 static int btf_for_each_str_off(struct btf_dedup *d, str_off_visit_fn fn, void *ctx) in btf_for_each_str_off()
3717 struct btf_dedup *d = ctx; in strs_dedup_remap_str_off()
3756 static int btf_dedup_strings(struct btf_dedup *d) in btf_dedup_strings()
4093 static int btf_dedup_prep(struct btf_dedup *d) in btf_dedup_prep()
4159 static int btf_dedup_prim_type(struct btf_dedup *d, __u32 type_id) in btf_dedup_prim_type()
4244 static int btf_dedup_prim_types(struct btf_dedup *d) in btf_dedup_prim_types()
4259 static inline bool is_type_mapped(struct btf_dedup *d, uint32_t type_id) in is_type_mapped()
4269 static inline __u32 resolve_type_id(struct btf_dedup *d, __u32 type_id) in resolve_type_id()
4280 static uint32_t resolve_fwd_id(struct btf_dedup *d, uint32_t type_id) in resolve_fwd_id()
4303 static bool btf_dedup_identical_arrays(struct btf_dedup *d, __u32 id1, __u32 id2) in btf_dedup_identical_arrays()
4316 static bool btf_dedup_identical_structs(struct btf_dedup *d, __u32 id1, __u32 id2) in btf_dedup_identical_structs()
4435 static int btf_dedup_is_equiv(struct btf_dedup *d, __u32 cand_id, in btf_dedup_is_equiv()
4621 static void btf_dedup_merge_hypot_map(struct btf_dedup *d) in btf_dedup_merge_hypot_map()
4706 static int btf_dedup_struct_type(struct btf_dedup *d, __u32 type_id) in btf_dedup_struct_type()
4764 static int btf_dedup_struct_types(struct btf_dedup *d) in btf_dedup_struct_types()
4800 static int btf_dedup_ref_type(struct btf_dedup *d, __u32 type_id) in btf_dedup_ref_type()
4926 static int btf_dedup_ref_types(struct btf_dedup *d) in btf_dedup_ref_types()
4946 static int btf_dedup_fill_unique_names_map(struct btf_dedup *d, struct hashmap *names_map) in btf_dedup_fill_unique_names_map()
4980 static int btf_dedup_resolve_fwd(struct btf_dedup *d, struct hashmap *names_map, __u32 type_id) in btf_dedup_resolve_fwd()
5045 static int btf_dedup_resolve_fwds(struct btf_dedup *d) in btf_dedup_resolve_fwds()
5080 static int btf_dedup_compact_types(struct btf_dedup *d) in btf_dedup_compact_types()
5136 struct btf_dedup *d = ctx; in btf_dedup_remap_type_id()
5158 static int btf_dedup_remap_types(struct btf_dedup *d) in btf_dedup_remap_types()