Lines Matching refs:syms
14 static struct ksym syms[MAX_SYMS]; variable
40 syms[i].addr = (long) addr; in load_kallsyms()
41 syms[i].name = strdup(func); in load_kallsyms()
45 qsort(syms, sym_cnt, sizeof(struct ksym), ksym_cmp); in load_kallsyms()
57 result = key - syms[mid].addr; in ksym_search()
63 return &syms[mid]; in ksym_search()
66 if (start >= 1 && syms[start - 1].addr < key && in ksym_search()
67 key < syms[start].addr) in ksym_search()
69 return &syms[start - 1]; in ksym_search()
72 return &syms[0]; in ksym_search()
80 if (strcmp(syms[i].name, name) == 0) in ksym_get_addr()
81 return syms[i].addr; in ksym_get_addr()