| /linux/arch/hexagon/kernel/ |
| H A D | module.c | 28 char *secstrings, in module_frob_arch_sections() argument 37 secstrings + sechdrs[i].sh_name); in module_frob_arch_sections() 38 if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0) in module_frob_arch_sections() 40 if (strcmp(secstrings + sechdrs[i].sh_name, ".got.plt") == 0) in module_frob_arch_sections() 42 if (strcmp(secstrings + sechdrs[i].sh_name, ".rela.plt") == 0) in module_frob_arch_sections()
|
| /linux/kernel/module/ |
| H A D | livepatch.c | 42 mod->klp_info->secstrings = kmemdup(info->secstrings, size, GFP_KERNEL); in copy_module_elf() 43 if (!mod->klp_info->secstrings) { in copy_module_elf() 72 kfree(mod->klp_info->secstrings); in free_module_elf()
|
| H A D | internal.h | 71 char *secstrings, *strtab; member 336 const char *secstrings, 339 const char *secstrings);
|
| H A D | main.c | 244 && strcmp(info->secstrings + shdr->sh_name, name) == 0) in find_sec() 267 if (strcmp(info->secstrings + info->sechdrs[i].sh_name, in find_any_unique_sec() 309 if (strcmp(info->secstrings + shdr->sh_name, name) == 0) in find_any_sec() 1609 info->secstrings, in apply_relocations() 1691 const char *sname = info->secstrings + s->sh_name; in __layout_sections() 1965 char *secstrings; in elf_validity_cache_secstrings() local 1986 secstrings = (void *)info->hdr + strhdr->sh_offset; in elf_validity_cache_secstrings() 1991 if (secstrings[strhdr->sh_size - 1] != '\0') { in elf_validity_cache_secstrings() 2008 info->secstrings = secstrings; in elf_validity_cache_secstrings() 2753 sname = info->secstrings + shdr->sh_name; in move_module() [all …]
|
| H A D | kallsyms.c | 71 if (strstarts(info->secstrings + sechdrs[sym->st_shndx].sh_name, in elf_type() 126 pr_debug("\t%s\n", info->secstrings + symsect->sh_name); in layout_symtab() 153 pr_debug("\t%s\n", info->secstrings + strsect->sh_name); in layout_symtab()
|
| H A D | sysfs.c | 99 kstrdup(info->secstrings + sec->sh_name, GFP_KERNEL); in add_sect_attrs()
|
| /linux/arch/loongarch/kernel/ |
| H A D | module-sections.c | 106 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 115 if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections() 117 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 119 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt.idx")) in module_frob_arch_sections() 121 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".ftrace_trampoline")) in module_frob_arch_sections()
|
| /linux/arch/powerpc/kernel/ |
| H A D | module.c | 23 char *secstrings; in find_section() local 26 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section() 28 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0) in find_section()
|
| H A D | module_64.c | 209 char *secstrings, in get_stubs_size() argument 251 if (!strcmp(secstrings + sechdrs[i].sh_name, "__patchable_function_entries")) { in get_stubs_size() 432 char *secstrings, in module_frob_arch_sections() argument 439 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections() 442 else if (strcmp(secstrings + sechdrs[i].sh_name, ".data..percpu") == 0) in module_frob_arch_sections() 444 else if (strcmp(secstrings + sechdrs[i].sh_name, ".mygot") == 0) { in module_frob_arch_sections() 450 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) { in module_frob_arch_sections() 454 } else if (strcmp(secstrings + sechdrs[i].sh_name, "__versions") == 0) in module_frob_arch_sections() 457 else if (strcmp(secstrings + sechdrs[i].sh_name, "__version_ext_names") == 0) in module_frob_arch_sections() 492 sechdrs[me->arch.stubs_section].sh_size = get_stubs_size(hdr, sechdrs, secstrings, me); in module_frob_arch_sections()
|
| /linux/kernel/ |
| H A D | cfi.c | 68 char *secstrings; in module_cfi_finalize() local 74 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_cfi_finalize() 77 if (strcmp(secstrings + sechdrs[i].sh_name, "__kcfi_traps")) in module_cfi_finalize()
|
| /linux/scripts/ |
| H A D | tracepoint-update.c | 157 const char *secstrings; in process_tracepoints() local 171 secstrings = (const char *)ehdr + shdr_offset(string_sec); in process_tracepoints() 183 if (!strcmp(secstrings + idx, "__tracepoint_check")) { in process_tracepoints() 189 if (!strcmp(secstrings + idx, "__tracepoints_strings")) { in process_tracepoints()
|
| H A D | sorttable.c | 608 const char *secstrings; in do_sort() local 634 secstrings = (const char *)ehdr + shdr_offset(string_sec); in do_sort() 644 if (!strcmp(secstrings + idx, "__ex_table")) in do_sort() 646 if (!strcmp(secstrings + idx, ".symtab")) in do_sort() 648 if (!strcmp(secstrings + idx, ".strtab")) in do_sort() 657 if (!strcmp(secstrings + idx, ".init.data")) in do_sort() 663 if (!strcmp(secstrings + idx, ".orc_unwind_ip")) { in do_sort() 668 if (!strcmp(secstrings + idx, ".orc_unwind")) { in do_sort()
|
| /linux/arch/arm64/kernel/ |
| H A D | module-plts.c | 281 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 294 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 296 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections() 298 else if (!strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections() 301 else if (!strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections() 338 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
|
| /linux/arch/riscv/kernel/ |
| H A D | module-sections.c | 116 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 130 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 132 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections() 134 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got.plt")) in module_frob_arch_sections()
|
| /linux/arch/mips/kernel/ |
| H A D | vpe.c | 184 Elf_Shdr *sechdrs, const char *secstrings) in layout_sections() argument 480 const char *secstrings, in simplify_symbols() argument 490 if (strncmp(secstrings + sechdrs[i].sh_name, ".bss", 4) == 0) { in simplify_symbols() 581 char *secstrings, *strtab = NULL; in vpe_elfload() local 613 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in vpe_elfload() 641 layout_sections(&mod, hdr, sechdrs, secstrings); in vpe_elfload() 666 secstrings + sechdrs[i].sh_name, in vpe_elfload() 671 simplify_symbols(sechdrs, symindex, strtab, secstrings, in vpe_elfload()
|
| H A D | module.c | 419 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local 426 if (strcmp("__dbe_table", secstrings + s->sh_name) != 0) in module_finalize()
|
| /linux/lib/ |
| H A D | bug.c | 87 char *secstrings; in module_bug_finalize() local 94 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_bug_finalize() 96 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()
|
| /linux/arch/parisc/kernel/ |
| H A D | module.c | 269 CONST char *secstrings, in module_frob_arch_sections() argument 286 if (strncmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections() 835 char *secstrings; in module_finalize() local 911 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() 914 char *secname = secstrings + s->sh_name; in module_finalize()
|
| /linux/arch/alpha/kernel/ |
| H A D | module.c | 65 char *secstrings, struct module *me) in module_frob_arch_sections() argument 81 else if (!strcmp(".got", secstrings + s->sh_name)) { in module_frob_arch_sections()
|
| /linux/arch/sh/kernel/ |
| H A D | dwarf.c | 1094 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_dwarf_finalize() local 1101 && !strcmp(secstrings+sechdrs[i].sh_name, ".eh_frame")) { in module_dwarf_finalize()
|
| /linux/kernel/livepatch/ |
| H A D | core.c | 843 info->secstrings, in klp_write_object_relocs()
|