Lines Matching refs:map_addr
360 unsigned long map_addr; in elf_map() local
381 map_addr = vm_mmap(filep, addr, total_size, prot, type, off); in elf_map()
382 if (!BAD_ADDR(map_addr)) in elf_map()
383 vm_munmap(map_addr+size, total_size-size); in elf_map()
385 map_addr = vm_mmap(filep, addr, size, prot, type, off); in elf_map()
388 PTR_ERR((void *)map_addr) == -EEXIST) in elf_map()
392 return(map_addr); in elf_map()
405 unsigned long map_addr; in elf_load() local
408 map_addr = elf_map(filep, addr, eppnt, prot, type, total_size); in elf_load()
409 if (BAD_ADDR(map_addr)) in elf_load()
410 return map_addr; in elf_load()
412 zero_start = map_addr + ELF_PAGEOFFSET(eppnt->p_vaddr) + in elf_load()
414 zero_end = map_addr + ELF_PAGEOFFSET(eppnt->p_vaddr) + in elf_load()
425 map_addr = zero_start = ELF_PAGESTART(addr); in elf_load()
443 map_addr = error; in elf_load()
445 return map_addr; in elf_load()
667 unsigned long k, map_addr; in load_elf_interp() local
675 map_addr = elf_load(interpreter, load_addr + vaddr, in load_elf_interp()
678 error = map_addr; in load_elf_interp()
679 if (BAD_ADDR(map_addr)) in load_elf_interp()
684 load_addr = map_addr - ELF_PAGESTART(vaddr); in load_elf_interp()