Lines Matching refs:ioeventfd
423 struct vfio_pci_ioeventfd *ioeventfd, *ioeventfd_tmp; in vfio_pci_disable() local
434 list_for_each_entry_safe(ioeventfd, ioeventfd_tmp, in vfio_pci_disable()
436 vfio_virqfd_disable(&ioeventfd->virqfd); in vfio_pci_disable()
437 list_del(&ioeventfd->next); in vfio_pci_disable()
438 kfree(ioeventfd); in vfio_pci_disable()
1322 struct vfio_device_ioeventfd ioeventfd; in vfio_pci_ioctl() local
1327 if (copy_from_user(&ioeventfd, (void __user *)arg, minsz)) in vfio_pci_ioctl()
1330 if (ioeventfd.argsz < minsz) in vfio_pci_ioctl()
1333 if (ioeventfd.flags & ~VFIO_DEVICE_IOEVENTFD_SIZE_MASK) in vfio_pci_ioctl()
1336 count = ioeventfd.flags & VFIO_DEVICE_IOEVENTFD_SIZE_MASK; in vfio_pci_ioctl()
1338 if (hweight8(count) != 1 || ioeventfd.fd < -1) in vfio_pci_ioctl()
1341 return vfio_pci_ioeventfd(vdev, ioeventfd.offset, in vfio_pci_ioctl()
1342 ioeventfd.data, count, ioeventfd.fd); in vfio_pci_ioctl()