Lines Matching refs:btf_dedup
1075 struct btf_dedup;
1077 static struct btf_dedup *btf_dedup_new(struct btf *btf, struct btf_ext *btf_ext,
1079 static void btf_dedup_free(struct btf_dedup *d);
1080 static int btf_dedup_strings(struct btf_dedup *d);
1081 static int btf_dedup_prim_types(struct btf_dedup *d);
1082 static int btf_dedup_struct_types(struct btf_dedup *d);
1083 static int btf_dedup_ref_types(struct btf_dedup *d);
1084 static int btf_dedup_compact_types(struct btf_dedup *d);
1085 static int btf_dedup_remap_types(struct btf_dedup *d);
1227 struct btf_dedup *d = btf_dedup_new(btf, btf_ext, opts); in btf__dedup()
1274 struct btf_dedup { struct
1322 static int btf_dedup_table_add(struct btf_dedup *d, long hash, __u32 type_id) in btf_dedup_table_add()
1328 static int btf_dedup_hypot_map_add(struct btf_dedup *d, in btf_dedup_hypot_map_add()
1345 static void btf_dedup_clear_hypot_map(struct btf_dedup *d) in btf_dedup_clear_hypot_map()
1354 static void btf_dedup_free(struct btf_dedup *d) in btf_dedup_free()
1386 static struct btf_dedup *btf_dedup_new(struct btf *btf, struct btf_ext *btf_ext, in btf_dedup_new()
1389 struct btf_dedup *d = calloc(1, sizeof(struct btf_dedup)); in btf_dedup_new()
1451 static int btf_for_each_str_off(struct btf_dedup *d, str_off_fn_t fn, void *ctx) in btf_for_each_str_off()
1610 static int btf_dedup_strings(struct btf_dedup *d) in btf_dedup_strings()
1992 static int btf_dedup_prim_type(struct btf_dedup *d, __u32 type_id) in btf_dedup_prim_type()
2075 static int btf_dedup_prim_types(struct btf_dedup *d) in btf_dedup_prim_types()
2090 static inline bool is_type_mapped(struct btf_dedup *d, uint32_t type_id) in is_type_mapped()
2100 static inline __u32 resolve_type_id(struct btf_dedup *d, __u32 type_id) in resolve_type_id()
2111 static uint32_t resolve_fwd_id(struct btf_dedup *d, uint32_t type_id) in resolve_fwd_id()
2226 static int btf_dedup_is_equiv(struct btf_dedup *d, __u32 cand_id, in btf_dedup_is_equiv()
2389 static void btf_dedup_merge_hypot_map(struct btf_dedup *d) in btf_dedup_merge_hypot_map()
2457 static int btf_dedup_struct_type(struct btf_dedup *d, __u32 type_id) in btf_dedup_struct_type()
2513 static int btf_dedup_struct_types(struct btf_dedup *d) in btf_dedup_struct_types()
2549 static int btf_dedup_ref_type(struct btf_dedup *d, __u32 type_id) in btf_dedup_ref_type()
2657 static int btf_dedup_ref_types(struct btf_dedup *d) in btf_dedup_ref_types()
2683 static int btf_dedup_compact_types(struct btf_dedup *d) in btf_dedup_compact_types()
2739 static int btf_dedup_remap_type_id(struct btf_dedup *d, __u32 type_id) in btf_dedup_remap_type_id()
2760 static int btf_dedup_remap_type(struct btf_dedup *d, __u32 type_id) in btf_dedup_remap_type()
2853 static int btf_dedup_remap_types(struct btf_dedup *d) in btf_dedup_remap_types()