Lines Matching refs:pcidev
119 struct acrn_pcidev *pcidev; in acrn_dev_ioctl() local
257 pcidev = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl()
259 if (IS_ERR(pcidev)) in acrn_dev_ioctl()
260 return PTR_ERR(pcidev); in acrn_dev_ioctl()
262 ret = hcall_assign_pcidev(vm->vmid, virt_to_phys(pcidev)); in acrn_dev_ioctl()
266 kfree(pcidev); in acrn_dev_ioctl()
269 pcidev = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl()
271 if (IS_ERR(pcidev)) in acrn_dev_ioctl()
272 return PTR_ERR(pcidev); in acrn_dev_ioctl()
274 ret = hcall_deassign_pcidev(vm->vmid, virt_to_phys(pcidev)); in acrn_dev_ioctl()
278 kfree(pcidev); in acrn_dev_ioctl()