Home
last modified time | relevance | path

Searched refs:e_shnum (Results 1 – 25 of 39) sorted by relevance

12

/arch/mips/boot/tools/
A Drelocs.c97 if (shndx < ehdr.e_shnum) in sec_name()
112 for (i = 0; i < ehdr.e_shnum; i++) in sec_lookup()
235 ehdr.e_shnum = elf_half_to_cpu(ehdr.e_shnum); in read_ehdr()
256 if (ehdr.e_shstrndx >= ehdr.e_shnum) in read_ehdr()
272 for (i = 0; i < ehdr.e_shnum; i++) { in read_shdrs()
289 if (sec->shdr.sh_link < ehdr.e_shnum) in read_shdrs()
298 for (i = 0; i < ehdr.e_shnum; i++) { in read_strtabs()
323 for (i = 0; i < ehdr.e_shnum; i++) { in read_symtabs()
366 for (i = 0; i < ehdr.e_shnum; i++) { in read_relocs()
412 for (i = 0; i < ehdr.e_shnum; i++) { in remove_relocs()
[all …]
/arch/mips/kernel/
A Dvpe.c197 for (i = 0; i < hdr->e_shnum; i++) in layout_sections()
201 for (i = 0; i < hdr->e_shnum; ++i) { in layout_sections()
605 if (len < hdr->e_shoff + hdr->e_shnum * sizeof(Elf_Shdr)) { in vpe_elfload()
620 for (i = 1; i < hdr->e_shnum; i++) { in vpe_elfload()
651 for (i = 0; i < hdr->e_shnum; i++) { in vpe_elfload()
672 hdr->e_shnum, &mod); in vpe_elfload()
675 for (i = 1; i < hdr->e_shnum; i++) { in vpe_elfload()
680 if (info >= hdr->e_shnum) in vpe_elfload()
712 for (i = 0; i < hdr->e_shnum; i++) { in vpe_elfload()
/arch/powerpc/boot/
A Delf.h68 Elf32_Half e_shnum; member
85 Elf64_Half e_shnum; member
/arch/mips/vdso/
A Dgenvdso.h16 sh_count = swap_uint16(ehdr->e_shnum); in FUNC()
70 sh_count = swap_uint16(ehdr->e_shnum); in FUNC()
/arch/s390/include/asm/
A Dmodule.h48 for (s = sechdrs, se = sechdrs + hdr->e_shnum; s < se; s++) { in find_section()
/arch/sparc/kernel/
A Dmodule.c36 if (symidx == hdr->e_shnum-1) { in module_frob_arch_sections()
160 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { in do_patch_sections()
/arch/arm64/include/asm/
A Dmodule.h60 for (s = sechdrs, se = sechdrs + hdr->e_shnum; s < se; s++) { in find_section()
/arch/loongarch/kernel/
A Dmodule-sections.c113 for (i = 0; i < ehdr->e_shnum; i++) { in module_frob_arch_sections()
138 for (i = 0; i < ehdr->e_shnum; i++) { in module_frob_arch_sections()
/arch/riscv/kernel/
A Dmodule-sections.c128 for (i = 0; i < ehdr->e_shnum; i++) { in module_frob_arch_sections()
151 for (i = 0; i < ehdr->e_shnum; i++) { in module_frob_arch_sections()
/arch/powerpc/kernel/
A Dmodule.c27 for (i = 1; i < hdr->e_shnum; i++) in find_section()
A Dmodule_32.c83 for (i = 1; i < hdr->e_shnum; i++) { in get_plt_size()
128 for (i = 0; i < hdr->e_shnum; i++) { in module_frob_arch_sections()
A Dmodule_64.c217 for (i = 1; i < hdr->e_shnum; i++) { in get_stubs_size()
251 for (i = 1; i < hdr->e_shnum; i++) { in get_stubs_size()
306 for (i = 1; i < hdr->e_shnum; i++) { in get_got_size()
315 for (i = 1; i < hdr->e_shnum; i++) { in get_got_size()
439 for (i = 1; i < hdr->e_shnum; i++) { in module_frob_arch_sections()
/arch/s390/tools/
A Drelocs.c143 ehdr.e_shnum = elf_half_to_cpu(ehdr.e_shnum); in read_ehdr()
146 shnum = ehdr.e_shnum; in read_ehdr()
/arch/riscv/include/asm/
A Dmodule.h122 for (s = sechdrs, se = sechdrs + hdr->e_shnum; s < se; s++) { in find_section()
/arch/arm64/kernel/pi/
A Drelacheck.c77 for (int i = 0; i < swab_elfhword(ehdr->e_shnum); i++) { in main()
/arch/hexagon/kernel/
A Dmodule.c35 for (i = 0; i < hdr->e_shnum; i++) { in module_frob_arch_sections()
/arch/mips/boot/
A Delf2ecoff.c182 e->e_shnum = swab16(e->e_shnum); in convert_elf_hdr()
336 ex.e_shnum * sizeof(Elf32_Shdr), in main()
339 convert_elf_shdrs(sh, ex.e_shnum); in main()
/arch/arm64/kernel/
A Dmodule-plts.c293 for (i = 0; i < ehdr->e_shnum; i++) { in module_frob_arch_sections()
314 for (i = 0; i < ehdr->e_shnum; i++) { in module_frob_arch_sections()
/arch/s390/kernel/
A Dmodule.c118 for (i = 0; i < hdr->e_shnum; i++) in module_frob_arch_sections()
151 for (i = 0; i < hdr->e_shnum; i++) { in module_frob_arch_sections()
514 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { in module_finalize()
/arch/parisc/kernel/
A Dmodule.c276 len = hdr->e_shnum * sizeof(me->arch.section[0]); in module_frob_arch_sections()
281 for (i = 1; i < hdr->e_shnum; i++) { in module_frob_arch_sections()
859 for (i = 1; i < hdr->e_shnum; i++) { in module_finalize()
912 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { in module_finalize()
/arch/sparc/vdso/
A Dvma.c77 for (i = 1; i < e->hdr->e_shnum; i++) { in one_section64()
145 for (i = 1; i < e->hdr->e_shnum; i++) { in one_section32()
A Dvdso2c.h65 for (i = 0; i < GET_BE(&hdr->e_shnum); i++) { in BITSFUNC()
/arch/arm/kernel/
A Dvdso.c103 for (i = 1; i < ehdr->e_shnum; i++) { in find_section()
A Dmodule.c404 for (s = sechdrs, se = sechdrs + hdr->e_shnum; s < se; s++) in find_mod_section()
420 const Elf_Shdr *sechdrs_end = sechdrs + hdr->e_shnum; in module_finalize()
/arch/mips/tools/
A Dloongson3-llsc-check.c285 for (i = 0; i < le16toh(eh->e_shnum); i++) { in main()

Completed in 31 milliseconds

12