/linux-6.6.21/arch/x86/kernel/ |
D | module.c | 282 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local 285 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize() 287 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize() 289 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize() 291 if (!strcmp(".orc_unwind", secstrings + s->sh_name)) in module_finalize() 293 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name)) in module_finalize() 295 if (!strcmp(".retpoline_sites", secstrings + s->sh_name)) in module_finalize() 297 if (!strcmp(".return_sites", secstrings + s->sh_name)) in module_finalize() 299 if (!strcmp(".call_sites", secstrings + s->sh_name)) in module_finalize() 301 if (!strcmp(".cfi_sites", secstrings + s->sh_name)) in module_finalize() [all …]
|
/linux-6.6.21/arch/hexagon/kernel/ |
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-6.6.21/kernel/module/ |
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()
|
D | strict_rwx.c | 63 char *secstrings, struct module *mod) in module_enforce_rwx_sections() argument 74 mod->name, secstrings + sechdrs[i].sh_name, i); in module_enforce_rwx_sections()
|
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()
|
D | main.c | 190 && strcmp(info->secstrings + shdr->sh_name, name) == 0) in find_sec() 223 if (strcmp(info->secstrings + shdr->sh_name, name) == 0) in find_any_sec() 1457 info->secstrings, in apply_relocations() 1540 const char *sname = info->secstrings + s->sh_name; in __layout_sections() 1744 info->secstrings = (void *)info->hdr + strhdr->sh_offset; in elf_validity_cache_copy() 1749 if (info->secstrings[strhdr->sh_size - 1] != '\0') { in elf_validity_cache_copy() 1790 if (strcmp(info->secstrings + shdr->sh_name, in elf_validity_cache_copy() 1794 } else if (strcmp(info->secstrings + shdr->sh_name, in elf_validity_cache_copy() 2290 (long)shdr->sh_size, info->secstrings + shdr->sh_name); in move_module() 2336 char *secstrings, in module_frob_arch_sections() argument [all …]
|
D | internal.h | 68 char *secstrings, *strtab; member 329 char *secstrings, struct module *mod);
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | module_32.c | 75 const char *secstrings, in get_plt_size() argument 86 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL) in get_plt_size() 91 if (strstr(secstrings + sechdrs[i].sh_name, ".debug")) in get_plt_size() 122 char *secstrings, in module_frob_arch_sections() argument 129 if (strcmp(secstrings + sechdrs[i].sh_name, ".init.plt") == 0) in module_frob_arch_sections() 131 else if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0) in module_frob_arch_sections() 141 = get_plt_size(hdr, sechdrs, secstrings, 0); in module_frob_arch_sections() 143 = get_plt_size(hdr, sechdrs, secstrings, 1); in module_frob_arch_sections()
|
D | module.c | 26 char *secstrings; in find_section() local 29 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section() 31 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0) in find_section()
|
D | module_64.c | 405 char *secstrings, in module_frob_arch_sections() argument 412 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections() 415 else if (strcmp(secstrings + sechdrs[i].sh_name, ".data..percpu") == 0) in module_frob_arch_sections() 417 else if (strcmp(secstrings + sechdrs[i].sh_name, ".mygot") == 0) { in module_frob_arch_sections() 423 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) { in module_frob_arch_sections() 428 else if (strcmp(secstrings+sechdrs[i].sh_name,"__versions")==0) in module_frob_arch_sections()
|
/linux-6.6.21/kernel/ |
D | cfi.c | 51 char *secstrings; in module_cfi_finalize() local 57 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_cfi_finalize() 60 if (strcmp(secstrings + sechdrs[i].sh_name, "__kcfi_traps")) in module_cfi_finalize()
|
/linux-6.6.21/scripts/ |
D | sorttable.h | 278 const char *secstrings; in do_sort() local 300 secstrings = (const char *)ehdr + _r(&shdr[shstrndx].sh_offset); in do_sort() 308 if (!strcmp(secstrings + idx, "__ex_table")) { in do_sort() 312 if (!strcmp(secstrings + idx, ".symtab")) in do_sort() 314 if (!strcmp(secstrings + idx, ".strtab")) in do_sort() 329 if (!strcmp(secstrings + idx, ".init.data")) { in do_sort() 340 if (!strcmp(secstrings + idx, ".orc_unwind_ip")) { in do_sort() 345 if (!strcmp(secstrings + idx, ".orc_unwind")) { in do_sort()
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | module-sections.c | 105 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 114 if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections() 116 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 118 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt.idx")) in module_frob_arch_sections() 120 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".ftrace_trampoline")) in module_frob_arch_sections()
|
/linux-6.6.21/arch/sparc/kernel/ |
D | module.c | 57 char *secstrings, in module_frob_arch_sections() argument 188 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in do_patch_sections() local 191 if (!strcmp(".sun4v_1insn_patch", secstrings + s->sh_name)) in do_patch_sections() 193 if (!strcmp(".sun4v_2insn_patch", secstrings + s->sh_name)) in do_patch_sections()
|
/linux-6.6.21/arch/riscv/kernel/ |
D | module-sections.c | 91 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 101 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 103 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections() 105 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got.plt")) in module_frob_arch_sections()
|
/linux-6.6.21/lib/ |
D | bug.c | 91 char *secstrings; in module_bug_finalize() local 98 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_bug_finalize() 100 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()
|
/linux-6.6.21/arch/arm64/kernel/ |
D | module-plts.c | 282 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 295 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 297 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections() 299 else if (!strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections() 336 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
|
/linux-6.6.21/arch/x86/entry/vdso/ |
D | vdso2c.h | 55 const char *secstrings; in BITSFUNC() local 105 secstrings = raw_addr + GET_LE(&secstrings_hdr->sh_offset); in BITSFUNC() 112 if (!strcmp(secstrings + GET_LE(&sh->sh_name), in BITSFUNC() 115 if (!strcmp(secstrings + GET_LE(&sh->sh_name), "__ex_table")) in BITSFUNC()
|
/linux-6.6.21/arch/mips/kernel/ |
D | vpe.c | 183 Elf_Shdr *sechdrs, const char *secstrings) in layout_sections() argument 479 const char *secstrings, in simplify_symbols() argument 489 if (strncmp(secstrings + sechdrs[i].sh_name, ".bss", 4) == 0) { in simplify_symbols() 580 char *secstrings, *strtab = NULL; in vpe_elfload() local 612 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in vpe_elfload() 640 layout_sections(&mod, hdr, sechdrs, secstrings); in vpe_elfload() 665 secstrings + sechdrs[i].sh_name, in vpe_elfload() 670 simplify_symbols(sechdrs, symindex, strtab, secstrings, in vpe_elfload()
|
/linux-6.6.21/arch/arm/kernel/ |
D | module-plts.c | 210 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 222 if (strcmp(".plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections() 224 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections() 254 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
|
/linux-6.6.21/arch/ia64/kernel/ |
D | module.c | 423 module_frob_arch_sections (Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, char *secstrings, in module_frob_arch_sections() argument 434 if (strcmp(".core.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections() 436 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections() 438 else if (strcmp(".got", secstrings + s->sh_name) == 0) in module_frob_arch_sections() 440 else if (strcmp(".opd", secstrings + s->sh_name) == 0) in module_frob_arch_sections() 442 else if (strcmp(".IA_64.unwind", secstrings + s->sh_name) == 0) in module_frob_arch_sections() 460 if (strstr(secstrings + s->sh_name, ".init")) in module_frob_arch_sections()
|
/linux-6.6.21/arch/s390/kernel/ |
D | module.c | 143 char *secstrings, struct module *me) in module_frob_arch_sections() argument 532 char *secstrings, *secname; in module_finalize() local 549 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() 552 secname = secstrings + s->sh_name; in module_finalize()
|
/linux-6.6.21/include/linux/ |
D | moduleloader.h | 22 char *secstrings,
|
/linux-6.6.21/arch/parisc/kernel/ |
D | module.c | 281 CONST char *secstrings, in module_frob_arch_sections() argument 298 if (strncmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections() 847 char *secstrings; in module_finalize() local 923 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() 926 char *secname = secstrings + s->sh_name; in module_finalize()
|
/linux-6.6.21/arch/alpha/kernel/ |
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()
|