Home
last modified time | relevance | path

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

/kernel/
Dmodule.c505 unsigned int symnum, void *data) in check_exported_symbol() argument
532 fsa->crc = symversion(syms->crcs, symnum); in check_exported_symbol()
533 fsa->sym = &syms->start[symnum]; in check_exported_symbol()
4237 static const char *kallsyms_symbol_name(struct mod_kallsyms *kallsyms, unsigned int symnum) in kallsyms_symbol_name() argument
4239 return kallsyms->strtab + kallsyms->symtab[symnum].st_name; in kallsyms_symbol_name()
4385 int module_get_kallsym(unsigned int symnum, unsigned long *value, char *type, in module_get_kallsym() argument
4397 if (symnum < kallsyms->num_symtab) { in module_get_kallsym()
4398 const Elf_Sym *sym = &kallsyms->symtab[symnum]; in module_get_kallsym()
4401 *type = kallsyms->typetab[symnum]; in module_get_kallsym()
4402 strlcpy(name, kallsyms_symbol_name(kallsyms, symnum), KSYM_NAME_LEN); in module_get_kallsym()
[all …]
Dkallsyms.c492 int __weak arch_get_kallsym(unsigned int symnum, unsigned long *value, in arch_get_kallsym() argument
/kernel/trace/
Dftrace.c6094 int ftrace_mod_get_kallsym(unsigned int symnum, unsigned long *value, in ftrace_mod_get_kallsym() argument
6104 if (symnum >= mod_map->num_funcs) { in ftrace_mod_get_kallsym()
6105 symnum -= mod_map->num_funcs; in ftrace_mod_get_kallsym()
6110 if (symnum > 1) { in ftrace_mod_get_kallsym()
6111 symnum--; in ftrace_mod_get_kallsym()
/kernel/bpf/
Dcore.c720 int bpf_get_kallsym(unsigned int symnum, unsigned long *value, char *type, in bpf_get_kallsym() argument
732 if (it++ != symnum) in bpf_get_kallsym()