Home
last modified time | relevance | path

Searched refs:eppnt (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/fs/
Dbinfmt_elf.c250 elf_map (struct file *filep, unsigned long addr, struct elf_phdr *eppnt, int prot, int type) in elf_map() argument
256 eppnt->p_filesz + ELF_PAGEOFFSET(eppnt->p_vaddr), prot, type, in elf_map()
257 eppnt->p_offset - ELF_PAGEOFFSET(eppnt->p_vaddr)); in elf_map()
274 struct elf_phdr *eppnt; in load_elf_interp() local
318 eppnt = elf_phdata; in load_elf_interp()
319 for (i=0; i<interp_elf_ex->e_phnum; i++, eppnt++) { in load_elf_interp()
320 if (eppnt->p_type == PT_LOAD) { in load_elf_interp()
326 if (eppnt->p_flags & PF_R) elf_prot = PROT_READ; in load_elf_interp()
327 if (eppnt->p_flags & PF_W) elf_prot |= PROT_WRITE; in load_elf_interp()
328 if (eppnt->p_flags & PF_X) elf_prot |= PROT_EXEC; in load_elf_interp()
[all …]
/linux-2.4.37.9/arch/s390x/kernel/
Dbinfmt_elf32.c196 elf_map32 (struct file *filep, unsigned long addr, struct elf_phdr *eppnt, int prot, int type) in elf_map32() argument
205 eppnt->p_filesz + ELF_PAGEOFFSET(eppnt->p_vaddr), prot, type, in elf_map32()
206 eppnt->p_offset - ELF_PAGEOFFSET(eppnt->p_vaddr)); in elf_map32()
/linux-2.4.37.9/arch/mips/kernel/
Dirixelf.c240 struct elf_phdr *eppnt; in load_irix_interp() local
301 eppnt = elf_phdata; in load_irix_interp()
302 for(i=0; i<interp_elf_ex->e_phnum; i++, eppnt++) { in load_irix_interp()
303 if(eppnt->p_type == PT_LOAD) { in load_irix_interp()
307 if (eppnt->p_flags & PF_R) elf_prot = PROT_READ; in load_irix_interp()
308 if (eppnt->p_flags & PF_W) elf_prot |= PROT_WRITE; in load_irix_interp()
309 if (eppnt->p_flags & PF_X) elf_prot |= PROT_EXEC; in load_irix_interp()
311 vaddr = eppnt->p_vaddr; in load_irix_interp()
316 (unsigned long) (eppnt->p_filesz + (eppnt->p_vaddr & 0xfff)), in load_irix_interp()
318 (unsigned long) (eppnt->p_offset & 0xfffff000)); in load_irix_interp()
[all …]
/linux-2.4.37.9/arch/x86_64/ia32/
Dia32_binfmt.c275 elf32_map (struct file *filep, unsigned long addr, struct elf_phdr *eppnt, int prot, int type) in elf32_map() argument
285 eppnt->p_filesz + ELF_PAGEOFFSET(eppnt->p_vaddr), prot, in elf32_map()
287 eppnt->p_offset - ELF_PAGEOFFSET(eppnt->p_vaddr)); in elf32_map()
/linux-2.4.37.9/arch/ia64/ia32/
Dbinfmt_elf32.c231 elf32_map (struct file *filep, unsigned long addr, struct elf_phdr *eppnt, int prot, int type) in elf32_map() argument
233 unsigned long pgoff = (eppnt->p_vaddr) & ~IA32_PAGE_MASK; in elf32_map()
235 return ia32_do_mmap(filep, (addr & IA32_PAGE_MASK), eppnt->p_filesz + pgoff, prot, type, in elf32_map()
236 eppnt->p_offset - pgoff); in elf32_map()