Lines Matching refs:e_shnum
814 for (i = 0; i < pi->ehdr->e_shnum; i++) { in kexec_purgatory_setup_kbuf()
874 sechdrs = vzalloc(array_size(sizeof(Elf_Shdr), pi->ehdr->e_shnum)); in kexec_purgatory_setup_sechdrs()
878 pi->ehdr->e_shnum * sizeof(Elf_Shdr)); in kexec_purgatory_setup_sechdrs()
885 for (i = 0; i < pi->ehdr->e_shnum; i++) { in kexec_purgatory_setup_sechdrs()
929 for (i = 0; i < pi->ehdr->e_shnum; i++) { in kexec_apply_relocations()
946 if (relsec->sh_info >= pi->ehdr->e_shnum || in kexec_apply_relocations()
947 relsec->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
960 if (symtab->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
1046 for (i = 0; i < ehdr->e_shnum; i++) { in kexec_purgatory_find_symbol()
1050 if (sechdrs[i].sh_link >= ehdr->e_shnum) in kexec_purgatory_find_symbol()
1065 syms[k].st_shndx >= ehdr->e_shnum) { in kexec_purgatory_find_symbol()