Lines Matching refs:str_off_map
2164 struct hashmap *str_off_map; /* map string offsets from src to dst */ member
2175 if (p->str_off_map && in btf_rewrite_str()
2176 hashmap__find(p->str_off_map, *str_off, &mapped_off)) { in btf_rewrite_str()
2188 if (p->str_off_map) { in btf_rewrite_str()
2189 err = hashmap__append(p->str_off_map, *str_off, off); in btf_rewrite_str()
2284 p.str_off_map = hashmap__new(btf_dedup_identity_hash_fn, btf_dedup_equal_fn, NULL); in btf__add_btf()
2285 if (IS_ERR(p.str_off_map)) in btf__add_btf()
2350 hashmap__free(p.str_off_map); in btf__add_btf()
2367 hashmap__free(p.str_off_map); in btf__add_btf()
6152 dist.pipe.str_off_map = hashmap__new(btf_dedup_identity_hash_fn, btf_dedup_equal_fn, NULL); in btf__distill_base()
6153 if (IS_ERR(dist.pipe.str_off_map)) { in btf__distill_base()
6213 hashmap__free(dist.pipe.str_off_map); in btf__distill_base()