Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/vfio/pci/
Dvfio_pci_rdwr.c279 struct vfio_pci_ioeventfd *ioeventfd = opaque; in vfio_pci_ioeventfd_handler() local
281 switch (ioeventfd->count) { in vfio_pci_ioeventfd_handler()
283 vfio_iowrite8(ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_handler()
286 vfio_iowrite16(ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_handler()
289 vfio_iowrite32(ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_handler()
293 vfio_iowrite64(ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_handler()
307 struct vfio_pci_ioeventfd *ioeventfd; in vfio_pci_ioeventfd() local
333 list_for_each_entry(ioeventfd, &vdev->ioeventfds_list, next) { in vfio_pci_ioeventfd()
334 if (ioeventfd->pos == pos && ioeventfd->bar == bar && in vfio_pci_ioeventfd()
335 ioeventfd->data == data && ioeventfd->count == count) { in vfio_pci_ioeventfd()
[all …]
Dvfio_pci.c372 struct vfio_pci_ioeventfd *ioeventfd, *ioeventfd_tmp; in vfio_pci_disable() local
383 list_for_each_entry_safe(ioeventfd, ioeventfd_tmp, in vfio_pci_disable()
385 vfio_virqfd_disable(&ioeventfd->virqfd); in vfio_pci_disable()
386 list_del(&ioeventfd->next); in vfio_pci_disable()
387 kfree(ioeventfd); in vfio_pci_disable()
1119 struct vfio_device_ioeventfd ioeventfd; in vfio_pci_ioctl() local
1124 if (copy_from_user(&ioeventfd, (void __user *)arg, minsz)) in vfio_pci_ioctl()
1127 if (ioeventfd.argsz < minsz) in vfio_pci_ioctl()
1130 if (ioeventfd.flags & ~VFIO_DEVICE_IOEVENTFD_SIZE_MASK) in vfio_pci_ioctl()
1133 count = ioeventfd.flags & VFIO_DEVICE_IOEVENTFD_SIZE_MASK; in vfio_pci_ioctl()
[all …]
/Linux-v5.4/Documentation/virt/kvm/
Ds390-diag.txt59 Handled by either userspace or KVM (ioeventfd case).
Dapi.txt1672 This ioctl attaches or detaches an ioeventfd to a legal pio/mmio address
1702 With KVM_CAP_IOEVENTFD_ANY_LENGTH, a zero length ioeventfd is allowed, and
1704 The speedup may only apply to specific architectures, but the ioeventfd will