Lines Matching refs:e_shnum
2319 sechdrs = vzalloc(pi->ehdr->e_shnum * sizeof(Elf_Shdr)); in __kexec_load_purgatory()
2323 memcpy(sechdrs, sechdrs_c, pi->ehdr->e_shnum * sizeof(Elf_Shdr)); in __kexec_load_purgatory()
2339 for (i = 0; i < pi->ehdr->e_shnum; i++) { in __kexec_load_purgatory()
2352 for (i = 0; i < pi->ehdr->e_shnum; i++) { in __kexec_load_purgatory()
2375 for (i = 0; i < pi->ehdr->e_shnum; i++) { in __kexec_load_purgatory()
2423 for (i = 0; i < pi->ehdr->e_shnum; i++) { in __kexec_load_purgatory()
2482 for (i = 0; i < pi->ehdr->e_shnum; i++) { in kexec_apply_relocations()
2495 if (sechdrs[i].sh_info >= pi->ehdr->e_shnum || in kexec_apply_relocations()
2496 sechdrs[i].sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
2509 if (symtab->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations()
2553 || (pi->ehdr->e_shnum * sizeof(Elf_Shdr) > in kexec_load_purgatory()
2588 for (i = 0; i < ehdr->e_shnum; i++) { in kexec_purgatory_find_symbol()
2592 if (sechdrs[i].sh_link >= ehdr->e_shnum) in kexec_purgatory_find_symbol()
2607 syms[k].st_shndx >= ehdr->e_shnum) { in kexec_purgatory_find_symbol()