Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/bpf/
Dtrace_helpers.c19 static int sym_cnt; variable
38 if (sym_cnt) in load_kallsyms()
55 sym_cnt = i; in load_kallsyms()
56 qsort(syms, sym_cnt, sizeof(struct ksym), ksym_cmp); in load_kallsyms()
62 int start = 0, end = sym_cnt; in ksym_search()
66 if (sym_cnt <= 0) in ksym_search()
94 for (i = 0; i < sym_cnt; i++) { in ksym_get_addr()
/Linux-v6.1/tools/lib/bpf/
Dlinker.c275 size_t sym_cnt = symtab->sec_sz / sizeof(*sym); in add_new_sym() local
277 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()