Lines Matching refs:btf_dedup
3001 struct btf_dedup;
3003 static struct btf_dedup *btf_dedup_new(struct btf *btf, const struct btf_dedup_opts *opts);
3004 static void btf_dedup_free(struct btf_dedup *d);
3005 static int btf_dedup_prep(struct btf_dedup *d);
3006 static int btf_dedup_strings(struct btf_dedup *d);
3007 static int btf_dedup_prim_types(struct btf_dedup *d);
3008 static int btf_dedup_struct_types(struct btf_dedup *d);
3009 static int btf_dedup_ref_types(struct btf_dedup *d);
3010 static int btf_dedup_resolve_fwds(struct btf_dedup *d);
3011 static int btf_dedup_compact_types(struct btf_dedup *d);
3012 static int btf_dedup_remap_types(struct btf_dedup *d);
3154 struct btf_dedup *d;
3220 struct btf_dedup { struct
3264 static int btf_dedup_table_add(struct btf_dedup *d, long hash, __u32 type_id) argument
3269 static int btf_dedup_hypot_map_add(struct btf_dedup *d,
3286 static void btf_dedup_clear_hypot_map(struct btf_dedup *d)
3296 static void btf_dedup_free(struct btf_dedup *d)
3328 static struct btf_dedup *btf_dedup_new(struct btf *btf, const struct btf_dedup_opts *opts)
3330 struct btf_dedup *d = calloc(1, sizeof(struct btf_dedup));
3389 static int btf_for_each_str_off(struct btf_dedup *d, str_off_visit_fn fn, void *ctx)
3413 struct btf_dedup *d = ctx;
3452 static int btf_dedup_strings(struct btf_dedup *d)
3789 static int btf_dedup_prep(struct btf_dedup *d)
3855 static int btf_dedup_prim_type(struct btf_dedup *d, __u32 type_id)
3940 static int btf_dedup_prim_types(struct btf_dedup *d)
3955 static inline bool is_type_mapped(struct btf_dedup *d, uint32_t type_id)
3965 static inline __u32 resolve_type_id(struct btf_dedup *d, __u32 type_id)
3976 static uint32_t resolve_fwd_id(struct btf_dedup *d, uint32_t type_id)
3999 static bool btf_dedup_identical_arrays(struct btf_dedup *d, __u32 id1, __u32 id2)
4012 static bool btf_dedup_identical_structs(struct btf_dedup *d, __u32 id1, __u32 id2)
4131 static int btf_dedup_is_equiv(struct btf_dedup *d, __u32 cand_id,
4317 static void btf_dedup_merge_hypot_map(struct btf_dedup *d)
4402 static int btf_dedup_struct_type(struct btf_dedup *d, __u32 type_id)
4460 static int btf_dedup_struct_types(struct btf_dedup *d)
4496 static int btf_dedup_ref_type(struct btf_dedup *d, __u32 type_id)
4622 static int btf_dedup_ref_types(struct btf_dedup *d)
4642 static int btf_dedup_fill_unique_names_map(struct btf_dedup *d, struct hashmap *names_map)
4676 static int btf_dedup_resolve_fwd(struct btf_dedup *d, struct hashmap *names_map, __u32 type_id)
4741 static int btf_dedup_resolve_fwds(struct btf_dedup *d)
4776 static int btf_dedup_compact_types(struct btf_dedup *d)
4832 struct btf_dedup *d = ctx;
4854 static int btf_dedup_remap_types(struct btf_dedup *d)