Lines Matching refs:e_shnum
736 for (i = 0; i < pi->ehdr->e_shnum; i++) { in kexec_purgatory_setup_kbuf()
796 sechdrs = vzalloc(array_size(sizeof(Elf_Shdr), pi->ehdr->e_shnum)); in kexec_purgatory_setup_sechdrs()
800 pi->ehdr->e_shnum * sizeof(Elf_Shdr)); in kexec_purgatory_setup_sechdrs()
807 for (i = 0; i < pi->ehdr->e_shnum; i++) { in kexec_purgatory_setup_sechdrs()
851 for (i = 0; i < pi->ehdr->e_shnum; i++) { in kexec_apply_relocations()
868 if (relsec->sh_info >= pi->ehdr->e_shnum || in kexec_apply_relocations()
869 relsec->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
882 if (symtab->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
968 for (i = 0; i < ehdr->e_shnum; i++) { in kexec_purgatory_find_symbol()
972 if (sechdrs[i].sh_link >= ehdr->e_shnum) in kexec_purgatory_find_symbol()
987 syms[k].st_shndx >= ehdr->e_shnum) { in kexec_purgatory_find_symbol()