Searched refs:regions_info (Results 1 – 1 of 1) sorted by relevance
158 struct vm_memory_region_batch *regions_info; in acrn_vm_ram_map() local288 regions_info = kzalloc(struct_size(regions_info, regions_op, in acrn_vm_ram_map()290 if (!regions_info) { in acrn_vm_ram_map()294 regions_info->regions_num = nr_regions; in acrn_vm_ram_map()297 vm_region = regions_info->regions_op; in acrn_vm_ram_map()298 regions_info->vmid = vm->vmid; in acrn_vm_ram_map()299 regions_info->regions_gpa = virt_to_phys(vm_region); in acrn_vm_ram_map()320 ret = hcall_set_memory_regions(virt_to_phys(regions_info)); in acrn_vm_ram_map()326 kfree(regions_info); in acrn_vm_ram_map()335 kfree(regions_info); in acrn_vm_ram_map()