Lines Matching refs:e_shnum
851 for (i = 0; i < pi->ehdr->e_shnum; i++) { in kexec_purgatory_setup_kbuf()
911 sechdrs = vzalloc(array_size(sizeof(Elf_Shdr), pi->ehdr->e_shnum)); in kexec_purgatory_setup_sechdrs()
915 pi->ehdr->e_shnum * sizeof(Elf_Shdr)); in kexec_purgatory_setup_sechdrs()
922 for (i = 0; i < pi->ehdr->e_shnum; i++) { in kexec_purgatory_setup_sechdrs()
966 for (i = 0; i < pi->ehdr->e_shnum; i++) { in kexec_apply_relocations()
983 if (relsec->sh_info >= pi->ehdr->e_shnum || in kexec_apply_relocations()
984 relsec->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
997 if (symtab->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
1083 for (i = 0; i < ehdr->e_shnum; i++) { in kexec_purgatory_find_symbol()
1087 if (sechdrs[i].sh_link >= ehdr->e_shnum) in kexec_purgatory_find_symbol()
1102 syms[k].st_shndx >= ehdr->e_shnum) { in kexec_purgatory_find_symbol()