/Linux-v5.4/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.4/arch/powerpc/kernel/ |
D | module_32.c | 89 const char *secstrings, in get_plt_size() argument 100 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL) in get_plt_size() 105 if (strstr(secstrings + sechdrs[i].sh_name, ".debug")) in get_plt_size() 136 char *secstrings, in module_frob_arch_sections() argument 143 if (strcmp(secstrings + sechdrs[i].sh_name, ".init.plt") == 0) in module_frob_arch_sections() 145 else if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0) in module_frob_arch_sections() 155 = get_plt_size(hdr, sechdrs, secstrings, 0); in module_frob_arch_sections() 157 = 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 | 340 char *secstrings, in module_frob_arch_sections() argument 348 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections() 350 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) { in module_frob_arch_sections() 355 else if (strcmp(secstrings+sechdrs[i].sh_name,"__versions")==0) in module_frob_arch_sections() 360 while ((p = strstr(secstrings + sechdrs[i].sh_name, ".init"))) in module_frob_arch_sections()
|
/Linux-v5.4/arch/x86/kernel/ |
D | module.c | 226 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local 229 if (!strcmp(".text", secstrings + s->sh_name)) in module_finalize() 231 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize() 233 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize() 235 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize() 237 if (!strcmp(".orc_unwind", secstrings + s->sh_name)) in module_finalize() 239 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name)) in module_finalize()
|
D | livepatch.c | 31 cnt = sscanf(info->secstrings + s->sh_name, in arch_klp_init_object_loaded()
|
/Linux-v5.4/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.4/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.4/lib/ |
D | bug.c | 90 char *secstrings; in module_bug_finalize() local 99 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_bug_finalize() 101 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()
|
/Linux-v5.4/arch/arm64/kernel/ |
D | module-plts.c | 256 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 269 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 271 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections() 274 !strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections() 305 if (!str_has_prefix(secstrings + dstsec->sh_name, ".init")) in module_frob_arch_sections()
|
/Linux-v5.4/arch/arm/kernel/ |
D | module-plts.c | 189 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 201 if (strcmp(".plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections() 203 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections() 233 if (strncmp(secstrings + dstsec->sh_name, ".init", 5) != 0) in module_frob_arch_sections()
|
/Linux-v5.4/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 | 435 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local 442 if (strcmp("__dbe_table", secstrings + s->sh_name) != 0) in module_finalize()
|
/Linux-v5.4/arch/x86/entry/vdso/ |
D | vdso2c.h | 21 const char *secstrings; in BITSFUNC() local 71 secstrings = raw_addr + GET_LE(&secstrings_hdr->sh_offset); in BITSFUNC() 78 if (!strcmp(secstrings + GET_LE(&sh->sh_name), in BITSFUNC()
|
/Linux-v5.4/kernel/ |
D | module-internal.h | 18 char *secstrings, *strtab; member
|
D | module.c | 351 && strcmp(info->secstrings + shdr->sh_name, name) == 0) in find_sec() 1564 sattr->name = kstrdup(info->secstrings + sec->sh_name, in add_sect_attrs() 2119 mod->klp_info->secstrings = kmemdup(info->secstrings, size, GFP_KERNEL); in copy_module_elf() 2120 if (mod->klp_info->secstrings == NULL) { in copy_module_elf() 2150 kfree(mod->klp_info->secstrings); in free_module_elf() 2434 const char *sname = info->secstrings + s->sh_name; in layout_sections() 2467 const char *sname = info->secstrings + s->sh_name; in layout_sections() 2644 if (strstarts(info->secstrings + sechdrs[sym->st_shndx].sh_name, in elf_type() 2695 pr_debug("\t%s\n", info->secstrings + symsect->sh_name); in layout_symtab() 2722 pr_debug("\t%s\n", info->secstrings + strsect->sh_name); in layout_symtab() [all …]
|
/Linux-v5.4/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.4/arch/s390/kernel/ |
D | module.c | 110 char *secstrings, struct module *me) in module_frob_arch_sections() argument 445 char *secstrings, *secname; in module_finalize() local 465 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() 468 secname = secstrings + s->sh_name; in module_finalize()
|
/Linux-v5.4/include/linux/ |
D | moduleloader.h | 19 char *secstrings,
|
D | module.h | 342 char *secstrings; member
|
/Linux-v5.4/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.4/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.4/arch/nds32/kernel/ |
D | module.c | 24 char *secstrings, struct module *mod) in module_frob_arch_sections() argument
|
/Linux-v5.4/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.4/scripts/mod/ |
D | modpost.c | 486 const char *secstrings; in parse_elf() local 568 secstrings = (void *)hdr + sechdrs[info->secindex_strings].sh_offset; in parse_elf() 580 secname = secstrings + sechdrs[i].sh_name; in parse_elf()
|