Lines Matching refs:vm_start
332 vma->vm_start = vaddr; in mm_create_vma()
338 *res_vma = vma_find(mm, vma->vm_start); in mm_create_vma()
392 BUG_ON(vma->vm_start + offset + length > vma->vm_end); in mm_map_vma()
401 len_4k = PAGE_2M_ALIGN(vma->vm_start + offset) - (vma->vm_start + offset); in mm_map_vma()
412 …retval = mm_map_proc_page_table((uint64_t)vma->vm_mm->pgd, true, vma->vm_start + offset, paddr, le… in mm_map_vma()
431 …retval = mm_map_proc_page_table((uint64_t)vma->vm_mm->pgd, true, vma->vm_start + offset + mapped, … in mm_map_vma()
447 …retval = mm_map_proc_page_table((uint64_t)vma->vm_mm->pgd, true, vma->vm_start + offset + mapped, … in mm_map_vma()
493 offset = vaddr + mapped - vma->vm_start; in mm_map()
494 uint64_t m_len = vma->vm_end - vma->vm_start - offset; in mm_map()
523 *paddr = __mm_get_paddr(mm, vma->vm_start); in mm_unmap_vma()
528 mm_unmap_proc_table((uint64_t)mm->pgd, true, vma->vm_start, vma->vm_end - vma->vm_start); in mm_unmap_vma()
562 if (unlikely(vma->vm_start != (vaddr + unmapped))) in mm_unmap()
570 unmapped += vma->vm_end - vma->vm_start; in mm_unmap()