Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/ !
H A Dbtf_relocate.c48 __u32 *str_map; member
360 r->str_map[dist_t->name_off] = base_t->name_off; in btf_relocate_map_distilled_base()
429 off = r->str_map[*str_off]; in btf_relocate_rewrite_strs()
464 r.str_map = calloc(btf_header(r.dist_base_btf)->str_len, sizeof(*r.str_map)); in btf_relocate()
469 if (!r.id_map || !r.str_map) { in btf_relocate()
486 * to update split BTF id references. Also build a str_map mapping from in btf_relocate()
502 /* String offsets now need to be updated using the str_map. */ in btf_relocate()
517 free(r.str_map); in btf_relocate()