Home
last modified time | relevance | path

Searched refs:regions_info (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/virt/acrn/
H A Dmm.c157 struct vm_memory_region_batch *regions_info; in acrn_vm_ram_map() local
286 regions_info = kzalloc(struct_size(regions_info, regions_op, in acrn_vm_ram_map()
288 if (!regions_info) { in acrn_vm_ram_map()
294 vm_region = regions_info->regions_op; in acrn_vm_ram_map()
295 regions_info->vmid = vm->vmid; in acrn_vm_ram_map()
296 regions_info->regions_num = nr_regions; in acrn_vm_ram_map()
297 regions_info->regions_gpa = virt_to_phys(vm_region); in acrn_vm_ram_map()
318 ret = hcall_set_memory_regions(virt_to_phys(regions_info)); in acrn_vm_ram_map()
324 kfree(regions_info); in acrn_vm_ram_map()
333 kfree(regions_info); in acrn_vm_ram_map()