Searched refs:sym_cnt (Results 1 – 2 of 2) sorted by relevance
23 static int sym_cnt; variable38 sym_cnt = 0; in load_kallsyms_refresh()57 sym_cnt = i; in load_kallsyms_refresh()58 qsort(syms, sym_cnt, sizeof(struct ksym), ksym_cmp); in load_kallsyms_refresh()68 if (sym_cnt) in load_kallsyms()75 int start = 0, end = sym_cnt; in ksym_search()79 if (sym_cnt <= 0) in ksym_search()107 for (i = 0; i < sym_cnt; i++) { in ksym_get_addr()
275 size_t sym_cnt = symtab->sec_sz / sizeof(*sym); in add_new_sym() local277 syms = libbpf_reallocarray(symtab->raw_data, sym_cnt + 1, sizeof(*sym)); in add_new_sym()281 sym = &syms[sym_cnt]; in add_new_sym()290 *sym_idx = sym_cnt; in add_new_sym()