/kernel/ |
D | module.c | 334 unsigned int sym, str, mod, vers, info, pcpu; member 520 const struct kernel_symbol *sym; member 553 fsa->sym = &syms->start[symnum]; in check_symbol() 570 struct kernel_symbol *sym; in find_symbol_in_section() local 572 sym = bsearch(fsa->name, syms->start, syms->stop - syms->start, in find_symbol_in_section() 575 if (sym != NULL && check_symbol(syms, owner, sym - syms->start, data)) in find_symbol_in_section() 600 return fsa.sym; in find_symbol() 1396 const struct kernel_symbol *sym; in resolve_symbol() local 1407 sym = find_symbol(name, &owner, &crc, in resolve_symbol() 1409 if (!sym) in resolve_symbol() [all …]
|
D | kexec_file.c | 997 Elf_Sym *sym; in kexec_purgatory_get_symbol_addr() local 1000 sym = kexec_purgatory_find_symbol(pi, name); in kexec_purgatory_get_symbol_addr() 1001 if (!sym) in kexec_purgatory_get_symbol_addr() 1004 sechdr = &pi->sechdrs[sym->st_shndx]; in kexec_purgatory_get_symbol_addr() 1010 return (void *)(sechdr->sh_addr + sym->st_value); in kexec_purgatory_get_symbol_addr() 1020 Elf_Sym *sym; in kexec_purgatory_get_set_symbol() local 1025 sym = kexec_purgatory_find_symbol(pi, name); in kexec_purgatory_get_set_symbol() 1026 if (!sym) in kexec_purgatory_get_set_symbol() 1029 if (sym->st_size != size) { in kexec_purgatory_get_set_symbol() 1031 name, (unsigned long)sym->st_size, size); in kexec_purgatory_get_set_symbol() [all …]
|
D | kprobes.c | 2254 const char *sym, int offset, char *modname, struct kprobe *pp) in report_probe() argument 2265 if (sym) in report_probe() 2267 p->addr, kprobe_type, sym, offset, in report_probe() 2304 const char *sym = NULL; in show_kprobe_addr() local 2312 sym = kallsyms_lookup((unsigned long)p->addr, NULL, in show_kprobe_addr() 2316 report_probe(pi, kp, sym, offset, modname, p); in show_kprobe_addr() 2318 report_probe(pi, p, sym, offset, modname, NULL); in show_kprobe_addr()
|
/kernel/time/ |
D | timer_list.c | 52 static void print_name_offset(struct seq_file *m, void *sym) in print_name_offset() argument 56 if (lookup_symbol_name((unsigned long)sym, symname) < 0) in print_name_offset() 57 SEQ_printf(m, "<%pK>", sym); in print_name_offset()
|
/kernel/livepatch/ |
D | core.c | 267 const struct kernel_symbol *sym; in klp_find_external_symbol() local 271 sym = find_symbol(name, NULL, NULL, true, true); in klp_find_external_symbol() 272 if (sym) { in klp_find_external_symbol() 273 *addr = sym->value; in klp_find_external_symbol()
|
/kernel/trace/ |
D | trace_probe.h | 236 struct symbol_cache *alloc_symbol_cache(const char *sym, long offset); 258 alloc_symbol_cache(const char *sym, long offset) in alloc_symbol_cache() argument
|
D | trace_kprobe.c | 109 struct symbol_cache *alloc_symbol_cache(const char *sym, long offset) in alloc_symbol_cache() argument 113 if (!sym || strlen(sym) == 0) in alloc_symbol_cache() 120 sc->symbol = kstrdup(sym, GFP_KERNEL); in alloc_symbol_cache()
|
D | trace_syscalls.c | 35 static inline bool arch_syscall_match_sym_name(const char *sym, const char *name) in arch_syscall_match_sym_name() argument 43 return !strcmp(sym + 3, name + 3); in arch_syscall_match_sym_name()
|
D | trace_output.c | 448 #define MARK(v, s) {.val = v, .sym = s} 452 char sym; member 473 return (i == size) ? ' ' : mark[i].sym; in trace_find_mark()
|