Home
last modified time | relevance | path

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

/linux-6.1.9/tools/lib/bpf/
Dbtf.c1556 struct hashmap *str_off_map; /* map string offsets from src to dst */ member
1568 if (p->str_off_map && in btf_rewrite_str()
1569 hashmap__find(p->str_off_map, (void *)(long)*str_off, &mapped_off)) { in btf_rewrite_str()
1581 if (p->str_off_map) { in btf_rewrite_str()
1582 err = hashmap__append(p->str_off_map, (void *)(long)*str_off, (void *)(long)off); in btf_rewrite_str()
1670 p.str_off_map = hashmap__new(btf_dedup_identity_hash_fn, btf_dedup_equal_fn, NULL); in btf__add_btf()
1671 if (IS_ERR(p.str_off_map)) in btf__add_btf()
1715 hashmap__free(p.str_off_map); in btf__add_btf()
1730 hashmap__free(p.str_off_map); in btf__add_btf()