Searched refs:len_4k (Results 1 – 2 of 2) sorted by relevance
399 uint64_t len_4k, len_2m; in mm_map_vma() local401 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()[all …]
51 uint64_t len_4k = size % PAGE_2M_SIZE; in mmio_create() local52 uint64_t len_2m = size - len_4k; in mmio_create()