Lines Matching refs:region_mapping
160 struct vm_memory_mapping *region_mapping; in acrn_vm_ram_map() local
262 region_mapping = &vm->regions_mapping[vm->regions_mapping_count]; in acrn_vm_ram_map()
264 region_mapping->pages = pages; in acrn_vm_ram_map()
265 region_mapping->npages = nr_pages; in acrn_vm_ram_map()
266 region_mapping->size = memmap->len; in acrn_vm_ram_map()
267 region_mapping->service_vm_va = remap_vaddr; in acrn_vm_ram_map()
268 region_mapping->user_vm_pa = memmap->user_vm_pa; in acrn_vm_ram_map()
356 struct vm_memory_mapping *region_mapping; in acrn_vm_all_ram_unmap() local
361 region_mapping = &vm->regions_mapping[i]; in acrn_vm_all_ram_unmap()
362 vunmap(region_mapping->service_vm_va); in acrn_vm_all_ram_unmap()
363 for (j = 0; j < region_mapping->npages; j++) in acrn_vm_all_ram_unmap()
364 unpin_user_page(region_mapping->pages[j]); in acrn_vm_all_ram_unmap()
365 vfree(region_mapping->pages); in acrn_vm_all_ram_unmap()