Searched refs:symtab (Results 1 – 5 of 5) sorted by relevance
/kernel/debug/kdb/ |
D | kdb_support.c | 40 int kdbgetsymval(const char *symname, kdb_symtab_t *symtab) in kdbgetsymval() argument 44 symtab); in kdbgetsymval() 45 memset(symtab, 0, sizeof(*symtab)); in kdbgetsymval() 46 symtab->sym_start = kallsyms_lookup_name(symname); in kdbgetsymval() 47 if (symtab->sym_start) { in kdbgetsymval() 51 symtab->sym_start); in kdbgetsymval() 82 int kdbnearsym(unsigned long addr, kdb_symtab_t *symtab) in kdbnearsym() argument 91 kdb_printf("kdbnearsym: addr=0x%lx, symtab=%px\n", addr, symtab); in kdbnearsym() 92 memset(symtab, 0, sizeof(*symtab)); in kdbnearsym() 102 symtab->sym_name = kallsyms_lookup(addr, &symbolsize , &offset, in kdbnearsym() [all …]
|
D | kdb_main.c | 506 kdb_symtab_t symtab; in kdbgetaddrarg() local 555 found = kdbgetsymval(symname, &symtab); in kdbgetaddrarg() 557 addr = symtab.sym_start; in kdbgetaddrarg() 566 found = kdbnearsym(addr, &symtab); in kdbgetaddrarg() 575 *offset = addr - symtab.sym_start; in kdbgetaddrarg() 1492 kdb_symtab_t symtab; in kdb_md_line() local 1513 kdbnearsym(word, &symtab); in kdb_md_line() 1515 memset(&symtab, 0, sizeof(symtab)); in kdb_md_line() 1516 if (symtab.sym_name) { in kdb_md_line() 1517 kdb_symbol_print(word, &symtab, 0); in kdb_md_line() [all …]
|
/kernel/ |
D | kexec_file.c | 121 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations_add() argument 138 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations() argument 961 const Elf_Shdr *symtab; in kexec_apply_relocations() local 981 symtab = sechdrs + relsec->sh_link; in kexec_apply_relocations() 990 if (symtab->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations() 1000 relsec, symtab); in kexec_apply_relocations() 1003 relsec, symtab); in kexec_apply_relocations()
|
D | module.c | 2138 (unsigned long) mod->core_kallsyms.symtab; in copy_module_elf() 2757 mod->kallsyms->symtab = (void *)symsec->sh_addr; in add_kallsyms() 2767 mod->core_kallsyms.symtab = dst = mod->core_layout.base + info->symoffs; in add_kallsyms() 2770 src = mod->kallsyms->symtab; in add_kallsyms() 4052 return kallsyms->strtab + kallsyms->symtab[symnum].st_name; in kallsyms_symbol_name() 4074 bestval = kallsyms_symbol_value(&kallsyms->symtab[best]); in find_kallsyms_symbol() 4079 const Elf_Sym *sym = &kallsyms->symtab[i]; in find_kallsyms_symbol() 4211 const Elf_Sym *sym = &kallsyms->symtab[symnum]; in module_get_kallsym() 4234 const Elf_Sym *sym = &kallsyms->symtab[i]; in find_kallsyms_symbol_value() 4284 const Elf_Sym *sym = &kallsyms->symtab[i]; in module_kallsyms_on_each_symbol()
|
/kernel/livepatch/ |
D | core.c | 218 sym = pmod->core_kallsyms.symtab + ELF_R_SYM(relas[i].r_info); in klp_resolve_symbols()
|