Searched refs:symnum (Results 1 – 5 of 5) sorted by relevance
/kernel/module/ |
D | kallsyms.c | 253 static const char *kallsyms_symbol_name(struct mod_kallsyms *kallsyms, unsigned int symnum) in kallsyms_symbol_name() argument 255 return kallsyms->strtab + kallsyms->symtab[symnum].st_name; in kallsyms_symbol_name() 415 int module_get_kallsym(unsigned int symnum, unsigned long *value, char *type, in module_get_kallsym() argument 427 if (symnum < kallsyms->num_symtab) { in module_get_kallsym() 428 const Elf_Sym *sym = &kallsyms->symtab[symnum]; in module_get_kallsym() 431 *type = kallsyms->typetab[symnum]; in module_get_kallsym() 432 strscpy(name, kallsyms_symbol_name(kallsyms, symnum), KSYM_NAME_LEN); in module_get_kallsym() 438 symnum -= kallsyms->num_symtab; in module_get_kallsym()
|
/kernel/ |
D | kprobes.c | 314 int kprobe_cache_get_kallsym(struct kprobe_insn_cache *c, unsigned int *symnum, in kprobe_cache_get_kallsym() argument 322 if ((*symnum)--) in kprobe_cache_get_kallsym() 2517 int __weak arch_kprobe_get_kallsym(unsigned int *symnum, unsigned long *value, in arch_kprobe_get_kallsym() argument 2523 int kprobe_get_kallsym(unsigned int symnum, unsigned long *value, char *type, in kprobe_get_kallsym() argument 2527 if (!kprobe_cache_get_kallsym(&kprobe_insn_slots, &symnum, value, type, sym)) in kprobe_get_kallsym() 2530 if (!kprobe_cache_get_kallsym(&kprobe_optinsn_slots, &symnum, value, type, sym)) in kprobe_get_kallsym() 2534 if (!arch_kprobe_get_kallsym(&symnum, value, type, sym)) in kprobe_get_kallsym()
|
D | kallsyms.c | 659 int __weak arch_get_kallsym(unsigned int symnum, unsigned long *value, in arch_get_kallsym() argument
|
/kernel/trace/ |
D | ftrace.c | 6809 static int ftrace_get_trampoline_kallsym(unsigned int symnum, in ftrace_get_trampoline_kallsym() argument 6817 if (!op->trampoline || symnum--) in ftrace_get_trampoline_kallsym() 7215 int ftrace_mod_get_kallsym(unsigned int symnum, unsigned long *value, in ftrace_mod_get_kallsym() argument 7226 if (symnum >= mod_map->num_funcs) { in ftrace_mod_get_kallsym() 7227 symnum -= mod_map->num_funcs; in ftrace_mod_get_kallsym() 7232 if (symnum > 1) { in ftrace_mod_get_kallsym() 7233 symnum--; in ftrace_mod_get_kallsym() 7248 ret = ftrace_get_trampoline_kallsym(symnum, value, type, name, in ftrace_mod_get_kallsym() 7263 int ftrace_mod_get_kallsym(unsigned int symnum, unsigned long *value, in ftrace_mod_get_kallsym() argument 7270 ret = ftrace_get_trampoline_kallsym(symnum, value, type, name, in ftrace_mod_get_kallsym()
|
/kernel/bpf/ |
D | core.c | 752 int bpf_get_kallsym(unsigned int symnum, unsigned long *value, char *type, in bpf_get_kallsym() argument 764 if (it++ != symnum) in bpf_get_kallsym()
|