Lines Matching refs:syms
18 static struct ksym syms[MAX_SYMS]; variable
42 syms[i].addr = (long) addr; in load_kallsyms()
43 syms[i].name = strdup(func); in load_kallsyms()
48 qsort(syms, sym_cnt, sizeof(struct ksym), ksym_cmp); in load_kallsyms()
64 result = key - syms[mid].addr; in ksym_search()
70 return &syms[mid]; in ksym_search()
73 if (start >= 1 && syms[start - 1].addr < key && in ksym_search()
74 key < syms[start].addr) in ksym_search()
76 return &syms[start - 1]; in ksym_search()
79 return &syms[0]; in ksym_search()
87 if (strcmp(syms[i].name, name) == 0) in ksym_get_addr()
88 return syms[i].addr; in ksym_get_addr()