/linux/drivers/xen/xenfs/ |
H A D | xensyms.c | 27 uint64_t symnum; in xensyms_next_sym() local 32 symnum = symdata->symnum; in xensyms_next_sym() 51 symdata->symnum--; /* Rewind */ in xensyms_next_sym() 58 if (symdata->symnum == symnum) in xensyms_next_sym() 69 xs->op.u.symdata.symnum = *pos; in xensyms_start() 81 xs->op.u.symdata.symnum = ++(*pos); in xensyms_next()
|
/linux/kernel/module/ |
H A D | kallsyms.c | 247 static const char *kallsyms_symbol_name(struct mod_kallsyms *kallsyms, unsigned int symnum) in kallsyms_symbol_name() argument 249 return kallsyms->strtab + kallsyms->symtab[symnum].st_name; in kallsyms_symbol_name() 383 int module_get_kallsym(unsigned int symnum, unsigned long *value, char *type, 395 if (symnum < kallsyms->num_symtab) { in module_get_kallsym() 396 const Elf_Sym *sym = &kallsyms->symtab[symnum]; in module_get_kallsym() 399 *type = kallsyms->typetab[symnum]; in module_get_kallsym() 400 strscpy(name, kallsyms_symbol_name(kallsyms, symnum), KSYM_NAME_LEN); in module_get_kallsym() 406 symnum -= kallsyms->num_symtab; in module_get_kallsym() 384 module_get_kallsym(unsigned int symnum,unsigned long * value,char * type,char * name,char * module_name,int * exported) module_get_kallsym() argument
|
/linux/include/linux/ |
H A D | kprobes.h | 322 int kprobe_cache_get_kallsym(struct kprobe_insn_cache *c, unsigned int *symnum, 433 int kprobe_get_kallsym(unsigned int symnum, unsigned long *value, char *type, 436 int arch_kprobe_get_kallsym(unsigned int *symnum, unsigned long *value, 509 static inline int kprobe_get_kallsym(unsigned int symnum, unsigned long *value, in kprobe_get_kallsym() argument
|
H A D | module.h | 973 int module_get_kallsym(unsigned int symnum, unsigned long *value, char *type, 1006 static inline int module_get_kallsym(unsigned int symnum, unsigned long *value, in module_get_kallsym() argument
|
H A D | filter.h | 1329 int bpf_get_kallsym(unsigned int symnum, unsigned long *value, char *type, 1393 static inline int bpf_get_kallsym(unsigned int symnum, unsigned long *value, in bpf_get_kallsym() argument
|
/linux/kernel/ |
H A D | kprobes.c | 310 int kprobe_cache_get_kallsym(struct kprobe_insn_cache *c, unsigned int *symnum, in kprobe_cache_get_kallsym() argument 318 if ((*symnum)--) in kprobe_cache_get_kallsym() 2494 int __weak arch_kprobe_get_kallsym(unsigned int *symnum, unsigned long *value, in arch_kprobe_get_kallsym() argument 2500 int kprobe_get_kallsym(unsigned int symnum, unsigned long *value, char *type, in kprobe_get_kallsym() argument 2504 if (!kprobe_cache_get_kallsym(&kprobe_insn_slots, &symnum, value, type, sym)) in kprobe_get_kallsym() 2507 if (!kprobe_cache_get_kallsym(&kprobe_optinsn_slots, &symnum, value, type, sym)) in kprobe_get_kallsym() 2511 if (!arch_kprobe_get_kallsym(&symnum, value, type, sym)) in kprobe_get_kallsym()
|
/linux/include/xen/interface/ |
H A D | platform.h | 475 uint32_t symnum; /* IN: Symbol to read */ member
|
/linux/kernel/trace/ |
H A D | ftrace.c | 7140 static int ftrace_get_trampoline_kallsym(unsigned int symnum, in ftrace_get_trampoline_kallsym() argument 7148 if (!op->trampoline || symnum--) in ftrace_get_trampoline_kallsym() 7544 int ftrace_mod_get_kallsym(unsigned int symnum, unsigned long *value, in ftrace_mod_get_kallsym() argument 7555 if (symnum >= mod_map->num_funcs) { in ftrace_mod_get_kallsym() 7556 symnum -= mod_map->num_funcs; in ftrace_mod_get_kallsym() 7561 if (symnum > 1) { in ftrace_mod_get_kallsym() 7562 symnum--; in ftrace_mod_get_kallsym() 7577 ret = ftrace_get_trampoline_kallsym(symnum, value, type, name, in ftrace_mod_get_kallsym() 7592 int ftrace_mod_get_kallsym(unsigned int symnum, unsigned long *value, in ftrace_mod_get_kallsym() argument 7599 ret = ftrace_get_trampoline_kallsym(symnum, value, type, name, in ftrace_mod_get_kallsym()
|
/linux/kernel/bpf/ |
H A D | core.c | 806 int bpf_get_kallsym(unsigned int symnum, unsigned long *value, char *type, in bpf_get_kallsym() argument 818 if (it++ != symnum) in bpf_get_kallsym()
|