/Linux-v5.10/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-v5.10/arch/powerpc/kernel/ |
D | module_32.c | 74 const char *secstrings, in get_plt_size() argument 85 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL) in get_plt_size() 90 if (strstr(secstrings + sechdrs[i].sh_name, ".debug")) in get_plt_size() 121 char *secstrings, in module_frob_arch_sections() argument 128 if (strcmp(secstrings + sechdrs[i].sh_name, ".init.plt") == 0) in module_frob_arch_sections() 130 else if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0) in module_frob_arch_sections() 140 = get_plt_size(hdr, sechdrs, secstrings, 0); in module_frob_arch_sections() 142 = get_plt_size(hdr, sechdrs, secstrings, 1); in module_frob_arch_sections()
|
D | module.c | 24 char *secstrings; in find_section() local 27 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section() 29 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0) in find_section()
|
D | module_64.c | 290 char *secstrings, in module_frob_arch_sections() argument 298 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections() 300 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) { in module_frob_arch_sections() 305 else if (strcmp(secstrings+sechdrs[i].sh_name,"__versions")==0) in module_frob_arch_sections() 310 while ((p = strstr(secstrings + sechdrs[i].sh_name, ".init"))) in module_frob_arch_sections()
|
/Linux-v5.10/arch/x86/kernel/ |
D | module.c | 254 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local 257 if (!strcmp(".text", secstrings + s->sh_name)) in module_finalize() 259 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize() 261 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize() 263 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize() 265 if (!strcmp(".orc_unwind", secstrings + s->sh_name)) in module_finalize() 267 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name)) in module_finalize()
|
/Linux-v5.10/scripts/ |
D | sorttable.h | 212 const char *secstrings; in do_sort() local 229 secstrings = (const char *)ehdr + _r(&shdr[shstrndx].sh_offset); in do_sort() 237 if (!strcmp(secstrings + idx, "__ex_table")) { in do_sort() 241 if (!strcmp(secstrings + idx, ".symtab")) in do_sort() 243 if (!strcmp(secstrings + idx, ".strtab")) in do_sort() 258 if (!strcmp(secstrings + idx, ".orc_unwind_ip")) { in do_sort() 263 if (!strcmp(secstrings + idx, ".orc_unwind")) { in do_sort()
|
/Linux-v5.10/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-v5.10/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-v5.10/lib/ |
D | bug.c | 91 char *secstrings; in module_bug_finalize() local 100 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_bug_finalize() 102 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()
|
/Linux-v5.10/arch/arm/kernel/ |
D | module-plts.c | 190 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 202 if (strcmp(".plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections() 204 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections() 234 if (strncmp(secstrings + dstsec->sh_name, ".init", 5) != 0) in module_frob_arch_sections()
|
/Linux-v5.10/arch/arm64/kernel/ |
D | module-plts.c | 291 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 304 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 306 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections() 308 else if (!strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections() 345 if (!str_has_prefix(secstrings + dstsec->sh_name, ".init")) in module_frob_arch_sections()
|
/Linux-v5.10/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()
|
D | module.c | 434 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local 441 if (strcmp("__dbe_table", secstrings + s->sh_name) != 0) in module_finalize()
|
/Linux-v5.10/arch/x86/entry/vdso/ |
D | vdso2c.h | 20 const char *secstrings; in BITSFUNC() local 70 secstrings = raw_addr + GET_LE(&secstrings_hdr->sh_offset); in BITSFUNC() 77 if (!strcmp(secstrings + GET_LE(&sh->sh_name), in BITSFUNC()
|
/Linux-v5.10/kernel/ |
D | module-internal.h | 18 char *secstrings, *strtab; member
|
D | module.c | 357 && strcmp(info->secstrings + shdr->sh_name, name) == 0) in find_sec() 1624 kstrdup(info->secstrings + sec->sh_name, GFP_KERNEL); in add_sect_attrs() 2095 char *secstrings, struct module *mod) in module_enforce_rwx_sections() argument 2103 mod->name, secstrings + sechdrs[i].sh_name, i); in module_enforce_rwx_sections() 2115 char *secstrings, struct module *mod) in module_enforce_rwx_sections() argument 2151 mod->klp_info->secstrings = kmemdup(info->secstrings, size, GFP_KERNEL); in copy_module_elf() 2152 if (mod->klp_info->secstrings == NULL) { in copy_module_elf() 2182 kfree(mod->klp_info->secstrings); in free_module_elf() 2407 info->secstrings, in apply_relocations() 2468 const char *sname = info->secstrings + s->sh_name; in layout_sections() [all …]
|
/Linux-v5.10/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-v5.10/include/linux/ |
D | moduleloader.h | 19 char *secstrings,
|
D | module.h | 356 char *secstrings; member
|
/Linux-v5.10/arch/s390/kernel/ |
D | module.c | 111 char *secstrings, struct module *me) in module_frob_arch_sections() argument 474 char *secstrings, *secname; in module_finalize() local 494 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() 497 secname = secstrings + s->sh_name; in module_finalize()
|
/Linux-v5.10/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()
|
/Linux-v5.10/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-v5.10/arch/nds32/kernel/ |
D | module.c | 24 char *secstrings, struct module *mod) in module_frob_arch_sections() argument
|
/Linux-v5.10/arch/sh/kernel/ |
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-v5.10/scripts/mod/ |
D | modpost.c | 488 const char *secstrings; in parse_elf() local 569 secstrings = (void *)hdr + sechdrs[info->secindex_strings].sh_offset; in parse_elf() 581 secname = secstrings + sechdrs[i].sh_name; in parse_elf()
|