Home
last modified time | relevance | path

Searched refs:str_off_map (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/lib/bpf/
H A Dbtf.c1568 struct hashmap *str_off_map; /* map string offsets from src to dst */ member
1580 if (p->str_off_map && in btf_rewrite_str()
1581 hashmap__find(p->str_off_map, *str_off, &mapped_off)) { in btf_rewrite_str()
1593 if (p->str_off_map) { in btf_rewrite_str()
1594 err = hashmap__append(p->str_off_map, *str_off, off); in btf_rewrite_str()
1682 p.str_off_map = hashmap__new(btf_dedup_identity_hash_fn, btf_dedup_equal_fn, NULL); in btf__add_btf()
1683 if (IS_ERR(p.str_off_map)) in btf__add_btf()
1727 hashmap__free(p.str_off_map); in btf__add_btf()
1743 hashmap__free(p.str_off_map); in btf__add_btf()