Home
last modified time | relevance | path

Searched refs:symnum (Results 1 – 4 of 4) sorted by relevance

/kernel/
Dmodule.c498 unsigned int symnum, void *data) in check_exported_symbol() argument
525 fsa->crc = symversion(syms->crcs, symnum); in check_exported_symbol()
526 fsa->sym = &syms->start[symnum]; in check_exported_symbol()
4050 static const char *kallsyms_symbol_name(struct mod_kallsyms *kallsyms, unsigned int symnum) in kallsyms_symbol_name() argument
4052 return kallsyms->strtab + kallsyms->symtab[symnum].st_name; in kallsyms_symbol_name()
4198 int module_get_kallsym(unsigned int symnum, unsigned long *value, char *type, in module_get_kallsym() argument
4210 if (symnum < kallsyms->num_symtab) { in module_get_kallsym()
4211 const Elf_Sym *sym = &kallsyms->symtab[symnum]; in module_get_kallsym()
4214 *type = kallsyms->typetab[symnum]; in module_get_kallsym()
4215 strlcpy(name, kallsyms_symbol_name(kallsyms, symnum), KSYM_NAME_LEN); in module_get_kallsym()
[all …]
Dkallsyms.c489 int __weak arch_get_kallsym(unsigned int symnum, unsigned long *value, in arch_get_kallsym() argument
/kernel/trace/
Dftrace.c6011 int ftrace_mod_get_kallsym(unsigned int symnum, unsigned long *value, in ftrace_mod_get_kallsym() argument
6021 if (symnum >= mod_map->num_funcs) { in ftrace_mod_get_kallsym()
6022 symnum -= mod_map->num_funcs; in ftrace_mod_get_kallsym()
6027 if (symnum > 1) { in ftrace_mod_get_kallsym()
6028 symnum--; in ftrace_mod_get_kallsym()
/kernel/bpf/
Dcore.c715 int bpf_get_kallsym(unsigned int symnum, unsigned long *value, char *type, in bpf_get_kallsym() argument
727 if (it++ != symnum) in bpf_get_kallsym()