Home
last modified time | relevance | path

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

/kernel/module/
Dkallsyms.c131 strtab_size += strlen(&info->strtab[src[i].st_name]) + 1; in layout_symtab()
184 rcu_dereference(mod->kallsyms)->strtab = in add_kallsyms()
193 mod->core_kallsyms.strtab = s = mod->data_layout.base + info->stroffs; in add_kallsyms()
207 dst[ndst++].st_name = s - mod->core_kallsyms.strtab; in add_kallsyms()
209 &rcu_dereference(mod->kallsyms)->strtab[src[i].st_name], in add_kallsyms()
255 return kallsyms->strtab + kallsyms->symtab[symnum].st_name; in kallsyms_symbol_name()
Dinternal.h64 char *secstrings, *strtab; member
Dmain.c1326 const char *name = info->strtab + sym[i].st_name; in simplify_symbols()
1413 info->strtab, in apply_relocations()
1417 err = apply_relocate(info->sechdrs, info->strtab, in apply_relocations()
1420 err = apply_relocate_add(info->sechdrs, info->strtab, in apply_relocations()
1957 info->strtab = (char *)info->hdr in setup_load_info()
/kernel/livepatch/
Dcore.c193 static int klp_resolve_symbols(Elf_Shdr *sechdrs, const char *strtab, in klp_resolve_symbols() argument
224 strtab + sym->st_name); in klp_resolve_symbols()
229 cnt = sscanf(strtab + sym->st_name, in klp_resolve_symbols()
234 strtab + sym->st_name); in klp_resolve_symbols()
288 const char *shstrtab, const char *strtab, in klp_apply_section_relocs() argument
312 ret = klp_resolve_symbols(sechdrs, strtab, symndx, sec, sec_objname); in klp_apply_section_relocs()
316 return apply_relocate_add(sechdrs, strtab, symndx, secndx, pmod); in klp_apply_section_relocs()
779 patch->mod->core_kallsyms.strtab, in klp_apply_object_relocs()
/kernel/
Dkexec_file.c1049 const char *strtab; in kexec_purgatory_find_symbol() local
1065 strtab = (void *)ehdr + sechdrs[sechdrs[i].sh_link].sh_offset; in kexec_purgatory_find_symbol()
1073 if (strcmp(strtab + syms[k].st_name, name) != 0) in kexec_purgatory_find_symbol()