Lines Matching refs:e_shnum
844 for (i = 0; i < pi->ehdr->e_shnum; i++) { in kexec_purgatory_setup_kbuf()
904 sechdrs = vzalloc(array_size(sizeof(Elf_Shdr), pi->ehdr->e_shnum)); in kexec_purgatory_setup_sechdrs()
908 pi->ehdr->e_shnum * sizeof(Elf_Shdr)); in kexec_purgatory_setup_sechdrs()
915 for (i = 0; i < pi->ehdr->e_shnum; i++) { in kexec_purgatory_setup_sechdrs()
959 for (i = 0; i < pi->ehdr->e_shnum; i++) { in kexec_apply_relocations()
976 if (relsec->sh_info >= pi->ehdr->e_shnum || in kexec_apply_relocations()
977 relsec->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
990 if (symtab->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
1076 for (i = 0; i < ehdr->e_shnum; i++) { in kexec_purgatory_find_symbol()
1080 if (sechdrs[i].sh_link >= ehdr->e_shnum) in kexec_purgatory_find_symbol()
1095 syms[k].st_shndx >= ehdr->e_shnum) { in kexec_purgatory_find_symbol()