Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/vfio/pci/
Dvfio_pci_rdwr.c359 static void vfio_pci_ioeventfd_do_write(struct vfio_pci_ioeventfd *ioeventfd, in vfio_pci_ioeventfd_do_write() argument
362 switch (ioeventfd->count) { in vfio_pci_ioeventfd_do_write()
364 vfio_pci_iowrite8(ioeventfd->vdev, test_mem, in vfio_pci_ioeventfd_do_write()
365 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write()
368 vfio_pci_iowrite16(ioeventfd->vdev, test_mem, in vfio_pci_ioeventfd_do_write()
369 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write()
372 vfio_pci_iowrite32(ioeventfd->vdev, test_mem, in vfio_pci_ioeventfd_do_write()
373 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write()
377 vfio_pci_iowrite64(ioeventfd->vdev, test_mem, in vfio_pci_ioeventfd_do_write()
378 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write()
[all …]
Dvfio_pci.c425 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()
[all …]
/Linux-v5.10/Documentation/virt/kvm/
Ds390-diag.rst62 Handled by either userspace or KVM (ioeventfd case).
Dapi.rst1867 This ioctl attaches or detaches an ioeventfd to a legal pio/mmio address
1899 With KVM_CAP_IOEVENTFD_ANY_LENGTH, a zero length ioeventfd is allowed, and
1901 The speedup may only apply to specific architectures, but the ioeventfd will