Lines Matching refs:str_off_map
1792 struct hashmap *str_off_map; /* map string offsets from src to dst */ member
1803 if (p->str_off_map && in btf_rewrite_str()
1804 hashmap__find(p->str_off_map, *str_off, &mapped_off)) { in btf_rewrite_str()
1816 if (p->str_off_map) { in btf_rewrite_str()
1817 err = hashmap__append(p->str_off_map, *str_off, off); in btf_rewrite_str()
1904 p.str_off_map = hashmap__new(btf_dedup_identity_hash_fn, btf_dedup_equal_fn, NULL); in btf__add_btf()
1905 if (IS_ERR(p.str_off_map)) in btf__add_btf()
1968 hashmap__free(p.str_off_map); in btf__add_btf()
1984 hashmap__free(p.str_off_map); in btf__add_btf()
5408 dist.pipe.str_off_map = hashmap__new(btf_dedup_identity_hash_fn, btf_dedup_equal_fn, NULL); in btf__distill_base()
5409 if (IS_ERR(dist.pipe.str_off_map)) { in btf__distill_base()
5469 hashmap__free(dist.pipe.str_off_map); in btf__distill_base()