Lines Matching refs:e_phnum
65 if (ehdr->e_phnum > 0 && ehdr->e_phentsize != sizeof(struct elf_phdr)) {
78 if (ehdr->e_phoff > 0 && ehdr->e_phnum > 0) {
82 * e_phnum is at most 65535 so calculating the size of the
85 phdr_size = sizeof(struct elf_phdr) * ehdr->e_phnum;
155 ehdr->e_phnum = elf16_to_cpu(ehdr, buf_ehdr->e_phnum);
258 * e_phnum is at most 65535 so calculating the size of the
261 phdr_size = sizeof(struct elf_phdr) * ehdr->e_phnum;
267 for (i = 0; i < ehdr->e_phnum; i++) {
308 if (ehdr->e_phoff > 0 && ehdr->e_phnum > 0) {
346 for (i = 0; i < ehdr->e_phnum; i++) {
398 for (i = 0; i < ehdr->e_phnum; i++) {