Home
last modified time | relevance | path

Searched refs:map_addr (Results 1 – 2 of 2) sorted by relevance

/arch/metag/kernel/
Dprocess.c382 unsigned long map_addr, size; in __metag_elf_map() local
410 map_addr = vm_mmap(filep, addr, total_size, prot, type, off); in __metag_elf_map()
411 if (!BAD_ADDR(map_addr)) in __metag_elf_map()
412 vm_munmap(map_addr+size, total_size-size); in __metag_elf_map()
414 map_addr = vm_mmap(filep, addr, size, prot, type, off); in __metag_elf_map()
416 if (!BAD_ADDR(map_addr) && tcm_tag != TCM_INVALID_TAG) { in __metag_elf_map()
436 eppnt->p_vaddr = map_addr; in __metag_elf_map()
437 if (copy_from_user((void *) addr, (void __user *) map_addr, in __metag_elf_map()
442 return map_addr; in __metag_elf_map()
/arch/metag/mm/
Dmmu-meta1.c26 static unsigned long map_addr(unsigned long phys) in map_addr() function
88 pgd_virt = map_addr(pgd_phys); in pgd_entry_addr()
103 pgtable_virt = map_addr(pgtable_phys); in pgtable_entry_addr()