Searched refs:symtab (Results 1 – 5 of 5) sorted by relevance
/kernel/debug/kdb/ |
D | kdb_support.c | 39 int kdbgetsymval(const char *symname, kdb_symtab_t *symtab) in kdbgetsymval() argument 41 kdb_dbg_printf(AR, "symname=%s, symtab=%px\n", symname, symtab); in kdbgetsymval() 42 memset(symtab, 0, sizeof(*symtab)); in kdbgetsymval() 43 symtab->sym_start = kallsyms_lookup_name(symname); in kdbgetsymval() 44 if (symtab->sym_start) { in kdbgetsymval() 46 symtab->sym_start); in kdbgetsymval() 81 int kdbnearsym(unsigned long addr, kdb_symtab_t *symtab) in kdbnearsym() argument 88 kdb_dbg_printf(AR, "addr=0x%lx, symtab=%px\n", addr, symtab); in kdbnearsym() 89 memset(symtab, 0, sizeof(*symtab)); in kdbnearsym() 94 symtab->sym_name = kallsyms_lookup(addr, &symbolsize , &offset, in kdbnearsym() [all …]
|
D | kdb_main.c | 555 kdb_symtab_t symtab; in kdbgetaddrarg() local 604 found = kdbgetsymval(symname, &symtab); in kdbgetaddrarg() 606 addr = symtab.sym_start; in kdbgetaddrarg() 615 found = kdbnearsym(addr, &symtab); in kdbgetaddrarg() 624 *offset = addr - symtab.sym_start; in kdbgetaddrarg() 1534 kdb_symtab_t symtab; in kdb_md_line() local 1555 kdbnearsym(word, &symtab); in kdb_md_line() 1557 memset(&symtab, 0, sizeof(symtab)); in kdb_md_line() 1558 if (symtab.sym_name) { in kdb_md_line() 1559 kdb_symbol_print(word, &symtab, 0); in kdb_md_line() [all …]
|
/kernel/module/ |
D | kallsyms.c | 181 rcu_dereference(mod->kallsyms)->symtab = (void *)symsec->sh_addr; in add_kallsyms() 192 mod->core_kallsyms.symtab = dst = mod->data_layout.base + info->symoffs; in add_kallsyms() 196 src = rcu_dereference(mod->kallsyms)->symtab; in add_kallsyms() 255 return kallsyms->strtab + kallsyms->symtab[symnum].st_name; in kallsyms_symbol_name() 277 bestval = kallsyms_symbol_value(&kallsyms->symtab[best]); in find_kallsyms_symbol() 284 const Elf_Sym *sym = &kallsyms->symtab[i]; in find_kallsyms_symbol() 428 const Elf_Sym *sym = &kallsyms->symtab[symnum]; in module_get_kallsym() 451 const Elf_Sym *sym = &kallsyms->symtab[i]; in find_kallsyms_symbol_value() 518 const Elf_Sym *sym = &kallsyms->symtab[i]; in module_kallsyms_on_each_symbol()
|
D | livepatch.c | 58 mod->klp_info->sechdrs[symndx].sh_addr = (unsigned long)mod->core_kallsyms.symtab; in copy_module_elf()
|
/kernel/ |
D | kexec_file.c | 943 const Elf_Shdr *symtab; in kexec_apply_relocations() local 963 symtab = sechdrs + relsec->sh_link; in kexec_apply_relocations() 972 if (symtab->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations() 982 relsec, symtab); in kexec_apply_relocations() 985 relsec, symtab); in kexec_apply_relocations()
|