Lines Matching refs:sym_mapping
38 tmp = libbpf_reallocarray(dd->sym_mapping, dd->sym_count + 1, in kernel_syms_load()
39 sizeof(*dd->sym_mapping)); in kernel_syms_load()
42 free(dd->sym_mapping); in kernel_syms_load()
43 dd->sym_mapping = NULL; in kernel_syms_load()
47 dd->sym_mapping = tmp; in kernel_syms_load()
48 sym = &dd->sym_mapping[dd->sym_count]; in kernel_syms_load()
68 qsort(dd->sym_mapping, dd->sym_count, in kernel_syms_load()
69 sizeof(*dd->sym_mapping), kernel_syms_cmp); in kernel_syms_load()
74 free(dd->sym_mapping); in kernel_syms_destroy()
84 return dd->sym_mapping ? in kernel_syms_search()
85 bsearch(&sym, dd->sym_mapping, dd->sym_count, in kernel_syms_search()
86 sizeof(*dd->sym_mapping), kernel_syms_cmp) : NULL; in kernel_syms_search()