Home
last modified time | relevance | path

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

/kernel/livepatch/
Dcore.c194 static int klp_resolve_symbols(Elf_Shdr *sechdrs, const char *strtab, in klp_resolve_symbols() argument
225 strtab + sym->st_name); in klp_resolve_symbols()
230 cnt = sscanf(strtab + sym->st_name, in klp_resolve_symbols()
235 strtab + sym->st_name); in klp_resolve_symbols()
289 const char *shstrtab, const char *strtab, in klp_apply_section_relocs() argument
313 ret = klp_resolve_symbols(sechdrs, strtab, symndx, sec, sec_objname); in klp_apply_section_relocs()
317 return apply_relocate_add(sechdrs, strtab, symndx, secndx, pmod); in klp_apply_section_relocs()
762 patch->mod->core_kallsyms.strtab, in klp_apply_object_relocs()
/kernel/
Dmodule-internal.h18 char *secstrings, *strtab; member
Dmodule.c2385 const char *name = info->strtab + sym[i].st_name; in simplify_symbols()
2464 info->strtab, in apply_relocations()
2468 err = apply_relocate(info->sechdrs, info->strtab, in apply_relocations()
2471 err = apply_relocate_add(info->sechdrs, info->strtab, in apply_relocations()
2795 strtab_size += strlen(&info->strtab[src[i].st_name])+1; in layout_symtab()
2843 mod->kallsyms->strtab = (void *)info->sechdrs[info->index.str].sh_addr; in add_kallsyms()
2851 mod->core_kallsyms.strtab = s = mod->core_layout.base + info->stroffs; in add_kallsyms()
2862 dst[ndst++].st_name = s - mod->core_kallsyms.strtab; in add_kallsyms()
2863 s += strlcpy(s, &mod->kallsyms->strtab[src[i].st_name], in add_kallsyms()
3242 info->strtab = (char *)info->hdr in setup_load_info()
[all …]
Dkexec_file.c1061 const char *strtab; in kexec_purgatory_find_symbol() local
1077 strtab = (void *)ehdr + sechdrs[sechdrs[i].sh_link].sh_offset; in kexec_purgatory_find_symbol()
1085 if (strcmp(strtab + syms[k].st_name, name) != 0) in kexec_purgatory_find_symbol()