Lines Matching defs:d
3287 struct btf_dedup *d; in btf__dedup() local
3394 #define for_each_dedup_cand(d, node, hash) \ argument
3397 static int btf_dedup_table_add(struct btf_dedup *d, long hash, __u32 type_id) in btf_dedup_table_add()
3402 static int btf_dedup_hypot_map_add(struct btf_dedup *d, in btf_dedup_hypot_map_add()
3419 static void btf_dedup_clear_hypot_map(struct btf_dedup *d) in btf_dedup_clear_hypot_map()
3429 static void btf_dedup_free(struct btf_dedup *d) in btf_dedup_free()
3463 struct btf_dedup *d = calloc(1, sizeof(struct btf_dedup)); in btf_dedup_new() local
3522 static int btf_for_each_str_off(struct btf_dedup *d, str_off_visit_fn fn, void *ctx) in btf_for_each_str_off()
3554 struct btf_dedup *d = ctx; in strs_dedup_remap_str_off() local
3593 static int btf_dedup_strings(struct btf_dedup *d) in btf_dedup_strings()
3930 static int btf_dedup_prep(struct btf_dedup *d) in btf_dedup_prep()
3996 static int btf_dedup_prim_type(struct btf_dedup *d, __u32 type_id) in btf_dedup_prim_type()
4081 static int btf_dedup_prim_types(struct btf_dedup *d) in btf_dedup_prim_types()
4096 static inline bool is_type_mapped(struct btf_dedup *d, uint32_t type_id) in is_type_mapped()
4106 static inline __u32 resolve_type_id(struct btf_dedup *d, __u32 type_id) in resolve_type_id()
4117 static uint32_t resolve_fwd_id(struct btf_dedup *d, uint32_t type_id) in resolve_fwd_id()
4140 static bool btf_dedup_identical_arrays(struct btf_dedup *d, __u32 id1, __u32 id2) in btf_dedup_identical_arrays()
4153 static bool btf_dedup_identical_structs(struct btf_dedup *d, __u32 id1, __u32 id2) in btf_dedup_identical_structs()
4179 static bool btf_dedup_identical_ptrs(struct btf_dedup *d, __u32 id1, __u32 id2) in btf_dedup_identical_ptrs()
4285 static int btf_dedup_is_equiv(struct btf_dedup *d, __u32 cand_id, in btf_dedup_is_equiv()
4474 static void btf_dedup_merge_hypot_map(struct btf_dedup *d) in btf_dedup_merge_hypot_map()
4559 static int btf_dedup_struct_type(struct btf_dedup *d, __u32 type_id) in btf_dedup_struct_type()
4617 static int btf_dedup_struct_types(struct btf_dedup *d) in btf_dedup_struct_types()
4653 static int btf_dedup_ref_type(struct btf_dedup *d, __u32 type_id) in btf_dedup_ref_type()
4779 static int btf_dedup_ref_types(struct btf_dedup *d) in btf_dedup_ref_types()
4799 static int btf_dedup_fill_unique_names_map(struct btf_dedup *d, struct hashmap *names_map) in btf_dedup_fill_unique_names_map()
4833 static int btf_dedup_resolve_fwd(struct btf_dedup *d, struct hashmap *names_map, __u32 type_id) in btf_dedup_resolve_fwd()
4898 static int btf_dedup_resolve_fwds(struct btf_dedup *d) in btf_dedup_resolve_fwds()
4933 static int btf_dedup_compact_types(struct btf_dedup *d) in btf_dedup_compact_types()
4989 struct btf_dedup *d = ctx; in btf_dedup_remap_type_id() local
5011 static int btf_dedup_remap_types(struct btf_dedup *d) in btf_dedup_remap_types()