Home
last modified time | relevance | path

Searched refs:symtab (Results 1 – 4 of 4) sorted by relevance

/kernel/debug/kdb/
Dkdb_support.c40 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 …]
Dkdb_main.c564 kdb_symtab_t symtab; in kdbgetaddrarg() local
613 found = kdbgetsymval(symname, &symtab); in kdbgetaddrarg()
615 addr = symtab.sym_start; in kdbgetaddrarg()
624 found = kdbnearsym(addr, &symtab); in kdbgetaddrarg()
633 *offset = addr - symtab.sym_start; in kdbgetaddrarg()
1549 kdb_symtab_t symtab; in kdb_md_line() local
1570 kdbnearsym(word, &symtab); in kdb_md_line()
1572 memset(&symtab, 0, sizeof(symtab)); in kdb_md_line()
1573 if (symtab.sym_name) { in kdb_md_line()
1574 kdb_symbol_print(word, &symtab, 0); in kdb_md_line()
[all …]
/kernel/
Dkexec_file.c955 const Elf_Shdr *symtab; in kexec_apply_relocations() local
975 symtab = sechdrs + relsec->sh_link; in kexec_apply_relocations()
984 if (symtab->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
994 relsec, symtab); in kexec_apply_relocations()
997 relsec, symtab); in kexec_apply_relocations()
Dmodule.c2174 (unsigned long) mod->core_kallsyms.symtab; in copy_module_elf()
2840 mod->kallsyms->symtab = (void *)symsec->sh_addr; in add_kallsyms()
2850 mod->core_kallsyms.symtab = dst = mod->core_layout.base + info->symoffs; in add_kallsyms()
2853 src = mod->kallsyms->symtab; in add_kallsyms()
4282 return kallsyms->strtab + kallsyms->symtab[symnum].st_name; in kallsyms_symbol_name()
4304 bestval = kallsyms_symbol_value(&kallsyms->symtab[best]); in find_kallsyms_symbol()
4309 const Elf_Sym *sym = &kallsyms->symtab[i]; in find_kallsyms_symbol()
4442 const Elf_Sym *sym = &kallsyms->symtab[symnum]; in module_get_kallsym()
4465 const Elf_Sym *sym = &kallsyms->symtab[i]; in find_kallsyms_symbol_value()
4515 const Elf_Sym *sym = &kallsyms->symtab[i]; in module_kallsyms_on_each_symbol()