Lines Matching refs:ioeventfd
425 struct vfio_pci_ioeventfd *ioeventfd, *ioeventfd_tmp; in vfio_pci_disable() local
436 list_for_each_entry_safe(ioeventfd, ioeventfd_tmp, in vfio_pci_disable()
438 vfio_virqfd_disable(&ioeventfd->virqfd); in vfio_pci_disable()
439 list_del(&ioeventfd->next); in vfio_pci_disable()
440 kfree(ioeventfd); in vfio_pci_disable()
1324 struct vfio_device_ioeventfd ioeventfd; in vfio_pci_ioctl() local
1329 if (copy_from_user(&ioeventfd, (void __user *)arg, minsz)) in vfio_pci_ioctl()
1332 if (ioeventfd.argsz < minsz) in vfio_pci_ioctl()
1335 if (ioeventfd.flags & ~VFIO_DEVICE_IOEVENTFD_SIZE_MASK) in vfio_pci_ioctl()
1338 count = ioeventfd.flags & VFIO_DEVICE_IOEVENTFD_SIZE_MASK; in vfio_pci_ioctl()
1340 if (hweight8(count) != 1 || ioeventfd.fd < -1) in vfio_pci_ioctl()
1343 return vfio_pci_ioeventfd(vdev, ioeventfd.offset, in vfio_pci_ioctl()
1344 ioeventfd.data, count, ioeventfd.fd); in vfio_pci_ioctl()