/linux-6.6.21/drivers/xen/xenfs/ |
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-6.6.21/kernel/module/ |
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() 384 int module_get_kallsym(unsigned int symnum, unsigned long *value, char *type, in module_get_kallsym() argument 396 if (symnum < kallsyms->num_symtab) { in module_get_kallsym() 397 const Elf_Sym *sym = &kallsyms->symtab[symnum]; in module_get_kallsym() 400 *type = kallsyms->typetab[symnum]; in module_get_kallsym() 401 strscpy(name, kallsyms_symbol_name(kallsyms, symnum), KSYM_NAME_LEN); in module_get_kallsym() 407 symnum -= kallsyms->num_symtab; in module_get_kallsym()
|
/linux-6.6.21/include/linux/ |
D | kprobes.h | 336 int kprobe_cache_get_kallsym(struct kprobe_insn_cache *c, unsigned int *symnum, 443 int kprobe_get_kallsym(unsigned int symnum, unsigned long *value, char *type, 446 int arch_kprobe_get_kallsym(unsigned int *symnum, unsigned long *value, 512 static inline int kprobe_get_kallsym(unsigned int symnum, unsigned long *value, in kprobe_get_kallsym() argument
|
D | module.h | 938 int module_get_kallsym(unsigned int symnum, unsigned long *value, char *type, 971 static inline int module_get_kallsym(unsigned int symnum, unsigned long *value, in module_get_kallsym() argument
|
D | ftrace.h | 103 int ftrace_mod_get_kallsym(unsigned int symnum, unsigned long *value, 107 static inline int ftrace_mod_get_kallsym(unsigned int symnum, unsigned long *value, in ftrace_mod_get_kallsym() argument
|
D | filter.h | 1128 int bpf_get_kallsym(unsigned int symnum, unsigned long *value, char *type, 1191 static inline int bpf_get_kallsym(unsigned int symnum, unsigned long *value, in bpf_get_kallsym() argument
|
/linux-6.6.21/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() 2516 int __weak arch_kprobe_get_kallsym(unsigned int *symnum, unsigned long *value, in arch_kprobe_get_kallsym() argument 2522 int kprobe_get_kallsym(unsigned int symnum, unsigned long *value, char *type, in kprobe_get_kallsym() argument 2526 if (!kprobe_cache_get_kallsym(&kprobe_insn_slots, &symnum, value, type, sym)) in kprobe_get_kallsym() 2529 if (!kprobe_cache_get_kallsym(&kprobe_optinsn_slots, &symnum, value, type, sym)) in kprobe_get_kallsym() 2533 if (!arch_kprobe_get_kallsym(&symnum, value, type, sym)) in kprobe_get_kallsym()
|
/linux-6.6.21/include/xen/interface/ |
D | platform.h | 475 uint32_t symnum; /* IN: Symbol to read */ member
|
/linux-6.6.21/kernel/trace/ |
D | ftrace.c | 6618 static int ftrace_get_trampoline_kallsym(unsigned int symnum, in ftrace_get_trampoline_kallsym() argument 6626 if (!op->trampoline || symnum--) in ftrace_get_trampoline_kallsym() 7022 int ftrace_mod_get_kallsym(unsigned int symnum, unsigned long *value, in ftrace_mod_get_kallsym() argument 7033 if (symnum >= mod_map->num_funcs) { in ftrace_mod_get_kallsym() 7034 symnum -= mod_map->num_funcs; in ftrace_mod_get_kallsym() 7039 if (symnum > 1) { in ftrace_mod_get_kallsym() 7040 symnum--; in ftrace_mod_get_kallsym() 7055 ret = ftrace_get_trampoline_kallsym(symnum, value, type, name, in ftrace_mod_get_kallsym() 7070 int ftrace_mod_get_kallsym(unsigned int symnum, unsigned long *value, in ftrace_mod_get_kallsym() argument 7077 ret = ftrace_get_trampoline_kallsym(symnum, value, type, name, in ftrace_mod_get_kallsym()
|
/linux-6.6.21/kernel/bpf/ |
D | core.c | 771 int bpf_get_kallsym(unsigned int symnum, unsigned long *value, char *type, in bpf_get_kallsym() argument 783 if (it++ != symnum) in bpf_get_kallsym()
|