Lines Matching refs:e_shnum
856 for (i = 0; i < pi->ehdr->e_shnum; i++) { in kexec_purgatory_setup_kbuf()
916 sechdrs = vzalloc(array_size(sizeof(Elf_Shdr), pi->ehdr->e_shnum)); in kexec_purgatory_setup_sechdrs()
920 pi->ehdr->e_shnum * sizeof(Elf_Shdr)); in kexec_purgatory_setup_sechdrs()
927 for (i = 0; i < pi->ehdr->e_shnum; i++) { in kexec_purgatory_setup_sechdrs()
971 for (i = 0; i < pi->ehdr->e_shnum; i++) { in kexec_apply_relocations()
988 if (relsec->sh_info >= pi->ehdr->e_shnum || in kexec_apply_relocations()
989 relsec->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
1002 if (symtab->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
1088 for (i = 0; i < ehdr->e_shnum; i++) { in kexec_purgatory_find_symbol()
1092 if (sechdrs[i].sh_link >= ehdr->e_shnum) in kexec_purgatory_find_symbol()
1107 syms[k].st_shndx >= ehdr->e_shnum) { in kexec_purgatory_find_symbol()