Lines Matching refs:offset
360 int mm_map_vma(struct vm_area_struct *vma, uint64_t paddr, uint64_t offset, uint64_t length) in mm_map_vma() argument
364 BUG_ON((offset & (PAGE_4K_SIZE - 1)) != 0); in mm_map_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()
476 uint64_t offset = 0; in mm_map() local
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()
496 retval = mm_map_vma(vma, paddr + mapped, offset, m_len); in mm_map()