Searched refs:vma_size (Results 1 – 1 of 1) sorted by relevance
228 int64_t vma_size = vma->vm_end - vma->vm_start; in process_copy_mm() local230 if (vma_size > PAGE_2M_SIZE / 2) in process_copy_mm()232 int page_to_alloc = (PAGE_2M_ALIGN(vma_size)) >> PAGE_2M_SHIFT; in process_copy_mm()247 (vma_size >= PAGE_2M_SIZE) ? PAGE_2M_SIZE : vma_size); in process_copy_mm()248 vma_size -= PAGE_2M_SIZE; in process_copy_mm()253 uint64_t map_size = PAGE_4K_ALIGN(vma_size); in process_copy_mm()264 memcpy((void *)va, (void *)vma->vm_start, vma_size); in process_copy_mm()