| /arch/hexagon/kernel/ |
| A 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()
|
| /arch/x86/kernel/ |
| A D | module.c | 246 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local 249 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize() 251 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize() 253 if (!strcmp(".orc_unwind", secstrings + s->sh_name)) in module_finalize() 255 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name)) in module_finalize() 257 if (!strcmp(".retpoline_sites", secstrings + s->sh_name)) in module_finalize() 259 if (!strcmp(".return_sites", secstrings + s->sh_name)) in module_finalize() 261 if (!strcmp(".call_sites", secstrings + s->sh_name)) in module_finalize() 263 if (!strcmp(".cfi_sites", secstrings + s->sh_name)) in module_finalize() 265 if (!strcmp(".ibt_endbr_seal", secstrings + s->sh_name)) in module_finalize()
|
| /arch/powerpc/kernel/ |
| A 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()
|
| A D | module.c | 23 char *secstrings; in find_section() local 26 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section() 28 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0) in find_section()
|
| A D | module_64.c | 209 char *secstrings, in get_stubs_size() argument 252 if (!strcmp(secstrings + sechdrs[i].sh_name, "__patchable_function_entries")) { in get_stubs_size() 433 char *secstrings, in module_frob_arch_sections() argument 440 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections() 443 else if (strcmp(secstrings + sechdrs[i].sh_name, ".data..percpu") == 0) in module_frob_arch_sections() 445 else if (strcmp(secstrings + sechdrs[i].sh_name, ".mygot") == 0) { in module_frob_arch_sections() 451 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) { in module_frob_arch_sections() 455 } else if (strcmp(secstrings + sechdrs[i].sh_name, "__versions") == 0) in module_frob_arch_sections() 458 else if (strcmp(secstrings + sechdrs[i].sh_name, "__version_ext_names") == 0) in module_frob_arch_sections() 493 sechdrs[me->arch.stubs_section].sh_size = get_stubs_size(hdr, sechdrs, secstrings, me); in module_frob_arch_sections()
|
| /arch/loongarch/kernel/ |
| A 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()
|
| /arch/sparc/kernel/ |
| A D | module.c | 27 char *secstrings, in module_frob_arch_sections() argument 158 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in do_patch_sections() local 161 if (!strcmp(".sun4v_1insn_patch", secstrings + s->sh_name)) in do_patch_sections() 163 if (!strcmp(".sun4v_2insn_patch", secstrings + s->sh_name)) in do_patch_sections()
|
| /arch/x86/entry/vdso/ |
| A 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()
|
| /arch/riscv/kernel/ |
| A D | module-sections.c | 116 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 129 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 131 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections() 133 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got.plt")) in module_frob_arch_sections()
|
| /arch/arm64/kernel/ |
| A D | module-plts.c | 281 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 294 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 296 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections() 298 else if (!strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections() 335 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
|
| /arch/arm/kernel/ |
| A 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()
|
| /arch/mips/kernel/ |
| A D | vpe.c | 184 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()
|
| A D | module.c | 419 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local 426 if (strcmp("__dbe_table", secstrings + s->sh_name) != 0) in module_finalize()
|
| /arch/s390/kernel/ |
| A D | module.c | 107 char *secstrings, struct module *me) in module_frob_arch_sections() argument 496 char *secstrings, *secname; in module_finalize() local 513 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() 516 secname = secstrings + s->sh_name; in module_finalize()
|
| /arch/alpha/kernel/ |
| A 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()
|
| /arch/parisc/kernel/ |
| A D | module.c | 269 CONST char *secstrings, in module_frob_arch_sections() argument 286 if (strncmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections() 835 char *secstrings; in module_finalize() local 911 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() 914 char *secname = secstrings + s->sh_name; in module_finalize()
|
| /arch/sh/kernel/ |
| A 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()
|