Lines Matching refs:sym_mapping
36 tmp = libbpf_reallocarray(dd->sym_mapping, dd->sym_count + 1, in kernel_syms_load()
37 sizeof(*dd->sym_mapping)); in kernel_syms_load()
40 free(dd->sym_mapping); in kernel_syms_load()
41 dd->sym_mapping = NULL; in kernel_syms_load()
45 dd->sym_mapping = tmp; in kernel_syms_load()
46 sym = &dd->sym_mapping[dd->sym_count]; in kernel_syms_load()
62 qsort(dd->sym_mapping, dd->sym_count, in kernel_syms_load()
63 sizeof(*dd->sym_mapping), kernel_syms_cmp); in kernel_syms_load()
68 free(dd->sym_mapping); in kernel_syms_destroy()
78 return dd->sym_mapping ? in kernel_syms_search()
79 bsearch(&sym, dd->sym_mapping, dd->sym_count, in kernel_syms_search()
80 sizeof(*dd->sym_mapping), kernel_syms_cmp) : NULL; in kernel_syms_search()