Searched refs:ioeventfd (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.15/drivers/vfio/pci/ |
D | vfio_pci_rdwr.c | 359 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 …]
|
D | vfio_pci_core.c | 319 struct vfio_pci_ioeventfd *ioeventfd, *ioeventfd_tmp; in vfio_pci_core_disable() local 333 list_for_each_entry_safe(ioeventfd, ioeventfd_tmp, in vfio_pci_core_disable() 335 vfio_virqfd_disable(&ioeventfd->virqfd); in vfio_pci_core_disable() 336 list_del(&ioeventfd->next); in vfio_pci_core_disable() 337 kfree(ioeventfd); in vfio_pci_core_disable() 1096 struct vfio_device_ioeventfd ioeventfd; in vfio_pci_core_ioctl() local 1101 if (copy_from_user(&ioeventfd, (void __user *)arg, minsz)) in vfio_pci_core_ioctl() 1104 if (ioeventfd.argsz < minsz) in vfio_pci_core_ioctl() 1107 if (ioeventfd.flags & ~VFIO_DEVICE_IOEVENTFD_SIZE_MASK) in vfio_pci_core_ioctl() 1110 count = ioeventfd.flags & VFIO_DEVICE_IOEVENTFD_SIZE_MASK; in vfio_pci_core_ioctl() [all …]
|
/Linux-v5.15/drivers/virt/acrn/ |
D | ioeventfd.c | 53 struct hsm_ioeventfd *ioeventfd) in hsm_ioeventfd_is_conflict() argument 61 if (p->eventfd == ioeventfd->eventfd && in hsm_ioeventfd_is_conflict() 62 p->addr == ioeventfd->addr && in hsm_ioeventfd_is_conflict() 63 p->type == ioeventfd->type && in hsm_ioeventfd_is_conflict() 64 (p->wildcard || ioeventfd->wildcard || in hsm_ioeventfd_is_conflict() 65 p->data == ioeventfd->data)) in hsm_ioeventfd_is_conflict()
|
D | hsm.c | 115 struct acrn_ioeventfd ioeventfd; in acrn_dev_ioctl() local 343 if (copy_from_user(&ioeventfd, (void __user *)ioctl_param, in acrn_dev_ioctl() 344 sizeof(ioeventfd))) in acrn_dev_ioctl() 347 if (ioeventfd.reserved != 0) in acrn_dev_ioctl() 350 ret = acrn_ioeventfd_config(vm, &ioeventfd); in acrn_dev_ioctl()
|
D | Makefile | 3 acrn-y := hsm.o vm.o mm.o ioreq.o ioeventfd.o irqfd.o
|
/Linux-v5.15/Documentation/virt/kvm/ |
D | s390-diag.rst | 62 Handled by either userspace or KVM (ioeventfd case).
|
D | api.rst | 1903 This ioctl attaches or detaches an ioeventfd to a legal pio/mmio address 1935 With KVM_CAP_IOEVENTFD_ANY_LENGTH, a zero length ioeventfd is allowed, and 1937 The speedup may only apply to specific architectures, but the ioeventfd will
|