/Linux-v4.19/arch/hexagon/kernel/ |
D | module.c | 41 char *secstrings, in module_frob_arch_sections() argument 50 secstrings + sechdrs[i].sh_name); in module_frob_arch_sections() 51 if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0) in module_frob_arch_sections() 53 if (strcmp(secstrings + sechdrs[i].sh_name, ".got.plt") == 0) in module_frob_arch_sections() 55 if (strcmp(secstrings + sechdrs[i].sh_name, ".rela.plt") == 0) in module_frob_arch_sections()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | module_32.c | 101 const char *secstrings, in get_plt_size() argument 112 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL) in get_plt_size() 117 if (strstr(secstrings + sechdrs[i].sh_name, ".debug")) in get_plt_size() 148 char *secstrings, in module_frob_arch_sections() argument 155 if (strcmp(secstrings + sechdrs[i].sh_name, ".init.plt") == 0) in module_frob_arch_sections() 157 else if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0) in module_frob_arch_sections() 167 = get_plt_size(hdr, sechdrs, secstrings, 0); in module_frob_arch_sections() 169 = get_plt_size(hdr, sechdrs, secstrings, 1); in module_frob_arch_sections()
|
D | module.c | 36 char *secstrings; in find_section() local 39 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section() 41 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0) in find_section()
|
D | module_64.c | 345 char *secstrings, in module_frob_arch_sections() argument 353 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections() 355 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) { in module_frob_arch_sections() 360 else if (strcmp(secstrings+sechdrs[i].sh_name,"__versions")==0) in module_frob_arch_sections() 363 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".opd")) { in module_frob_arch_sections() 370 while ((p = strstr(secstrings + sechdrs[i].sh_name, ".init"))) in module_frob_arch_sections()
|
/Linux-v4.19/arch/x86/kernel/ |
D | module.c | 232 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local 235 if (!strcmp(".text", secstrings + s->sh_name)) in module_finalize() 237 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize() 239 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize() 241 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize() 243 if (!strcmp(".orc_unwind", secstrings + s->sh_name)) in module_finalize() 245 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name)) in module_finalize()
|
D | livepatch.c | 43 cnt = sscanf(info->secstrings + s->sh_name, in arch_klp_init_object_loaded()
|
/Linux-v4.19/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-v4.19/arch/arm64/kernel/ |
D | module-plts.c | 200 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 213 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 215 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections() 218 !strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections() 249 if (strncmp(secstrings + dstsec->sh_name, ".init", 5) != 0) in module_frob_arch_sections()
|
/Linux-v4.19/arch/riscv/kernel/ |
D | module-sections.c | 88 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 98 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 100 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections() 102 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got.plt")) in module_frob_arch_sections()
|
/Linux-v4.19/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-v4.19/arch/arm/kernel/ |
D | module-plts.c | 192 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 204 if (strcmp(".plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections() 206 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections() 236 if (strncmp(secstrings + dstsec->sh_name, ".init", 5) != 0) in module_frob_arch_sections()
|
/Linux-v4.19/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 | 447 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local 454 if (strcmp("__dbe_table", secstrings + s->sh_name) != 0) in module_finalize()
|
/Linux-v4.19/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-v4.19/kernel/ |
D | module-internal.h | 22 char *secstrings, *strtab; member
|
D | module.c | 353 && strcmp(info->secstrings + shdr->sh_name, name) == 0) in find_sec() 1515 sattr->name = kstrdup(info->secstrings + sec->sh_name, in add_sect_attrs() 2068 mod->klp_info->secstrings = kmemdup(info->secstrings, size, GFP_KERNEL); in copy_module_elf() 2069 if (mod->klp_info->secstrings == NULL) { in copy_module_elf() 2099 kfree(mod->klp_info->secstrings); in free_module_elf() 2380 const char *sname = info->secstrings + s->sh_name; in layout_sections() 2413 const char *sname = info->secstrings + s->sh_name; in layout_sections() 2576 if (strstarts(info->secstrings + sechdrs[sym->st_shndx].sh_name, in elf_type() 2627 pr_debug("\t%s\n", info->secstrings + symsect->sh_name); in layout_symtab() 2652 pr_debug("\t%s\n", info->secstrings + strsect->sh_name); in layout_symtab() [all …]
|
/Linux-v4.19/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-v4.19/arch/s390/kernel/ |
D | module.c | 103 char *secstrings, struct module *me) in module_frob_arch_sections() argument 438 char *secstrings, *secname; in module_finalize() local 458 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() 461 secname = secstrings + s->sh_name; in module_finalize()
|
/Linux-v4.19/include/linux/ |
D | moduleloader.h | 19 char *secstrings,
|
D | module.h | 325 char *secstrings; member
|
/Linux-v4.19/arch/alpha/kernel/ |
D | module.c | 77 char *secstrings, struct module *me) in module_frob_arch_sections() argument 93 else if (!strcmp(".got", secstrings + s->sh_name)) { in module_frob_arch_sections()
|
/Linux-v4.19/arch/nds32/kernel/ |
D | module.c | 24 char *secstrings, struct module *mod) in module_frob_arch_sections() argument
|
/Linux-v4.19/arch/sh/kernel/ |
D | dwarf.c | 1096 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_dwarf_finalize() local 1103 && !strcmp(secstrings+sechdrs[i].sh_name, ".eh_frame")) { in module_dwarf_finalize()
|
/Linux-v4.19/arch/parisc/kernel/ |
D | module.c | 321 CONST char *secstrings, in module_frob_arch_sections() argument 337 if (strncmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections()
|
/Linux-v4.19/scripts/mod/ |
D | modpost.c | 426 const char *secstrings; in parse_elf() local 508 secstrings = (void *)hdr + sechdrs[info->secindex_strings].sh_offset; in parse_elf() 520 secname = secstrings + sechdrs[i].sh_name; in parse_elf()
|