Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/vfio/pci/
Dvfio_pci_rdwr.c282 struct vfio_pci_ioeventfd *ioeventfd = opaque; in vfio_pci_ioeventfd_handler() local
284 switch (ioeventfd->count) { in vfio_pci_ioeventfd_handler()
286 vfio_iowrite8(ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_handler()
289 vfio_iowrite16(ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_handler()
292 vfio_iowrite32(ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_handler()
296 vfio_iowrite64(ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_handler()
310 struct vfio_pci_ioeventfd *ioeventfd; in vfio_pci_ioeventfd() local
336 list_for_each_entry(ioeventfd, &vdev->ioeventfds_list, next) { in vfio_pci_ioeventfd()
337 if (ioeventfd->pos == pos && ioeventfd->bar == bar && in vfio_pci_ioeventfd()
338 ioeventfd->data == data && ioeventfd->count == count) { in vfio_pci_ioeventfd()
[all …]
Dvfio_pci.c306 struct vfio_pci_ioeventfd *ioeventfd, *ioeventfd_tmp; in vfio_pci_disable() local
317 list_for_each_entry_safe(ioeventfd, ioeventfd_tmp, in vfio_pci_disable()
319 vfio_virqfd_disable(&ioeventfd->virqfd); in vfio_pci_disable()
320 list_del(&ioeventfd->next); in vfio_pci_disable()
321 kfree(ioeventfd); in vfio_pci_disable()
1026 struct vfio_device_ioeventfd ioeventfd; in vfio_pci_ioctl() local
1031 if (copy_from_user(&ioeventfd, (void __user *)arg, minsz)) in vfio_pci_ioctl()
1034 if (ioeventfd.argsz < minsz) in vfio_pci_ioctl()
1037 if (ioeventfd.flags & ~VFIO_DEVICE_IOEVENTFD_SIZE_MASK) in vfio_pci_ioctl()
1040 count = ioeventfd.flags & VFIO_DEVICE_IOEVENTFD_SIZE_MASK; in vfio_pci_ioctl()
[all …]
/Linux-v4.19/Documentation/virtual/kvm/
Ds390-diag.txt59 Handled by either userspace or KVM (ioeventfd case).
Dapi.txt1578 This ioctl attaches or detaches an ioeventfd to a legal pio/mmio address
1608 With KVM_CAP_IOEVENTFD_ANY_LENGTH, a zero length ioeventfd is allowed, and
1610 The speedup may only apply to specific architectures, but the ioeventfd will