Searched refs:mmiodev (Results 1 – 1 of 1) sorted by relevance
117 struct acrn_mmiodev *mmiodev; in acrn_dev_ioctl() local233 mmiodev = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl()235 if (IS_ERR(mmiodev)) in acrn_dev_ioctl()236 return PTR_ERR(mmiodev); in acrn_dev_ioctl()238 ret = hcall_assign_mmiodev(vm->vmid, virt_to_phys(mmiodev)); in acrn_dev_ioctl()242 kfree(mmiodev); in acrn_dev_ioctl()245 mmiodev = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl()247 if (IS_ERR(mmiodev)) in acrn_dev_ioctl()248 return PTR_ERR(mmiodev); in acrn_dev_ioctl()250 ret = hcall_deassign_mmiodev(vm->vmid, virt_to_phys(mmiodev)); in acrn_dev_ioctl()[all …]