Lines Matching refs:eppnt

350 		struct elf_phdr *eppnt, int prot, int type,  in elf_map()  argument
354 unsigned long size = eppnt->p_filesz + ELF_PAGEOFFSET(eppnt->p_vaddr); in elf_map()
355 unsigned long off = eppnt->p_offset - ELF_PAGEOFFSET(eppnt->p_vaddr); in elf_map()
541 struct elf_phdr *eppnt; in load_elf_interp() local
567 eppnt = interp_elf_phdata; in load_elf_interp()
568 for (i = 0; i < interp_elf_ex->e_phnum; i++, eppnt++) { in load_elf_interp()
569 if (eppnt->p_type == PT_LOAD) { in load_elf_interp()
575 if (eppnt->p_flags & PF_R) in load_elf_interp()
577 if (eppnt->p_flags & PF_W) in load_elf_interp()
579 if (eppnt->p_flags & PF_X) in load_elf_interp()
581 vaddr = eppnt->p_vaddr; in load_elf_interp()
588 eppnt, elf_prot, elf_type, total_size); in load_elf_interp()
607 k = load_addr + eppnt->p_vaddr; in load_elf_interp()
609 eppnt->p_filesz > eppnt->p_memsz || in load_elf_interp()
610 eppnt->p_memsz > TASK_SIZE || in load_elf_interp()
611 TASK_SIZE - eppnt->p_memsz < k) { in load_elf_interp()
620 k = load_addr + eppnt->p_vaddr + eppnt->p_filesz; in load_elf_interp()
628 k = load_addr + eppnt->p_vaddr + eppnt->p_memsz; in load_elf_interp()
1209 struct elf_phdr *eppnt; in load_elf_library() local
1240 eppnt = elf_phdata; in load_elf_library()
1243 retval = kernel_read(file, eppnt, j, &pos); in load_elf_library()
1248 if ((eppnt + i)->p_type == PT_LOAD) in load_elf_library()
1253 while (eppnt->p_type != PT_LOAD) in load_elf_library()
1254 eppnt++; in load_elf_library()
1258 ELF_PAGESTART(eppnt->p_vaddr), in load_elf_library()
1259 (eppnt->p_filesz + in load_elf_library()
1260 ELF_PAGEOFFSET(eppnt->p_vaddr)), in load_elf_library()
1263 (eppnt->p_offset - in load_elf_library()
1264 ELF_PAGEOFFSET(eppnt->p_vaddr))); in load_elf_library()
1265 if (error != ELF_PAGESTART(eppnt->p_vaddr)) in load_elf_library()
1268 elf_bss = eppnt->p_vaddr + eppnt->p_filesz; in load_elf_library()
1274 len = ELF_PAGEALIGN(eppnt->p_filesz + eppnt->p_vaddr); in load_elf_library()
1275 bss = ELF_PAGEALIGN(eppnt->p_memsz + eppnt->p_vaddr); in load_elf_library()