Lines Matching refs:len_4k
399 uint64_t len_4k, len_2m; in mm_map_vma() local
401 len_4k = PAGE_2M_ALIGN(vma->vm_start + offset) - (vma->vm_start + offset); in mm_map_vma()
402 if (len_4k > 0) in mm_map_vma()
403 len_4k = (len_4k > length) ? length : len_4k; in mm_map_vma()
404 if (len_4k) in mm_map_vma()
412 …ge_table((uint64_t)vma->vm_mm->pgd, true, vma->vm_start + offset, paddr, len_4k, page_flags, false… in mm_map_vma()
416 mapped += len_4k; in mm_map_vma()
417 length -= len_4k; in mm_map_vma()
420 len_4k = length % PAGE_2M_SIZE; in mm_map_vma()
438 if (likely(len_4k > 0)) in mm_map_vma()
447 …)vma->vm_mm->pgd, true, vma->vm_start + offset + mapped, paddr + mapped, len_4k, page_flags, false… in mm_map_vma()
451 mapped += len_4k; in mm_map_vma()