/Linux-v6.1/arch/x86/kernel/ |
D | module.c | 257 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local 260 if (!strcmp(".text", secstrings + s->sh_name)) in module_finalize() 262 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize() 264 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize() 266 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize() 268 if (!strcmp(".orc_unwind", secstrings + s->sh_name)) in module_finalize() 270 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name)) in module_finalize() 272 if (!strcmp(".retpoline_sites", secstrings + s->sh_name)) in module_finalize() 274 if (!strcmp(".return_sites", secstrings + s->sh_name)) in module_finalize() 276 if (!strcmp(".ibt_endbr_seal", secstrings + s->sh_name)) in module_finalize()
|
/Linux-v6.1/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-v6.1/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 | 126 char *secstrings, struct module *mod) in module_enforce_rwx_sections() argument 137 mod->name, secstrings + sechdrs[i].sh_name, i); in module_enforce_rwx_sections()
|
D | internal.h | 64 char *secstrings, *strtab; member 226 char *secstrings, struct module *mod);
|
D | kallsyms.c | 70 if (strstarts(info->secstrings + sechdrs[sym->st_shndx].sh_name, in elf_type() 121 pr_debug("\t%s\n", info->secstrings + symsect->sh_name); in layout_symtab() 149 pr_debug("\t%s\n", info->secstrings + strsect->sh_name); in layout_symtab()
|
D | main.c | 186 && strcmp(info->secstrings + shdr->sh_name, name) == 0) in find_sec() 219 if (strcmp(info->secstrings + shdr->sh_name, name) == 0) in find_any_sec() 1368 info->secstrings, in apply_relocations() 1442 const char *sname = info->secstrings + s->sh_name; in layout_sections() 1477 const char *sname = info->secstrings + s->sh_name; in layout_sections() 1719 info->secstrings = (void *)info->hdr + strhdr->sh_offset; in elf_validity_check() 1724 if (info->secstrings[strhdr->sh_size - 1] != '\0') { in elf_validity_check() 2194 (long)shdr->sh_addr, info->secstrings + shdr->sh_name); in move_module() 2252 char *secstrings, in module_frob_arch_sections() argument 2291 info->secstrings, info->mod); in layout_and_allocate() [all …]
|
/Linux-v6.1/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 | 281 char *secstrings, in module_frob_arch_sections() argument 288 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections() 290 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) { in module_frob_arch_sections() 295 else if (strcmp(secstrings+sechdrs[i].sh_name,"__versions")==0) in module_frob_arch_sections()
|
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/arch/loongarch/kernel/ |
D | module-sections.c | 103 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 111 if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections() 113 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 115 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt.idx")) in module_frob_arch_sections()
|
/Linux-v6.1/lib/ |
D | bug.c | 90 char *secstrings; in module_bug_finalize() local 97 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_bug_finalize() 99 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()
|
/Linux-v6.1/arch/arm64/kernel/ |
D | module-plts.c | 292 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 305 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 307 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections() 309 else if (!strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections() 346 if (!str_has_prefix(secstrings + dstsec->sh_name, ".init")) in module_frob_arch_sections()
|
/Linux-v6.1/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-v6.1/arch/arm/kernel/ |
D | module-plts.c | 215 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 227 if (strcmp(".plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections() 229 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections() 259 if (strncmp(secstrings + dstsec->sh_name, ".init", 5) != 0) in module_frob_arch_sections()
|
/Linux-v6.1/arch/mips/kernel/ |
D | vpe.c | 183 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()
|
/Linux-v6.1/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-v6.1/include/linux/ |
D | moduleloader.h | 19 char *secstrings,
|
/Linux-v6.1/arch/s390/kernel/ |
D | module.c | 122 char *secstrings, struct module *me) in module_frob_arch_sections() argument 508 char *secstrings, *secname; in module_finalize() local 525 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() 528 secname = secstrings + s->sh_name; in module_finalize()
|
/Linux-v6.1/arch/parisc/kernel/ |
D | module.c | 300 CONST char *secstrings, in module_frob_arch_sections() argument 316 if (strncmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections() 864 char *secstrings; in module_finalize() local 940 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() 943 char *secname = secstrings + s->sh_name; in module_finalize()
|
/Linux-v6.1/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()
|