Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/vfio/pci/
Dvfio_pci_rdwr.c361 static void vfio_pci_ioeventfd_do_write(struct vfio_pci_ioeventfd *ioeventfd, in vfio_pci_ioeventfd_do_write() argument
364 switch (ioeventfd->count) { in vfio_pci_ioeventfd_do_write()
366 vfio_pci_iowrite8(ioeventfd->vdev, test_mem, in vfio_pci_ioeventfd_do_write()
367 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write()
370 vfio_pci_iowrite16(ioeventfd->vdev, test_mem, in vfio_pci_ioeventfd_do_write()
371 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write()
374 vfio_pci_iowrite32(ioeventfd->vdev, test_mem, in vfio_pci_ioeventfd_do_write()
375 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write()
379 vfio_pci_iowrite64(ioeventfd->vdev, test_mem, in vfio_pci_ioeventfd_do_write()
380 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write()
[all …]
Dvfio_pci_core.c556 struct vfio_pci_ioeventfd *ioeventfd, *ioeventfd_tmp; in vfio_pci_core_disable() local
593 list_for_each_entry_safe(ioeventfd, ioeventfd_tmp, in vfio_pci_core_disable()
595 vfio_virqfd_disable(&ioeventfd->virqfd); in vfio_pci_core_disable()
596 list_del(&ioeventfd->next); in vfio_pci_core_disable()
597 kfree(ioeventfd); in vfio_pci_core_disable()
1348 struct vfio_device_ioeventfd ioeventfd; in vfio_pci_ioctl_ioeventfd() local
1351 if (copy_from_user(&ioeventfd, arg, minsz)) in vfio_pci_ioctl_ioeventfd()
1354 if (ioeventfd.argsz < minsz) in vfio_pci_ioctl_ioeventfd()
1357 if (ioeventfd.flags & ~VFIO_DEVICE_IOEVENTFD_SIZE_MASK) in vfio_pci_ioctl_ioeventfd()
1360 count = ioeventfd.flags & VFIO_DEVICE_IOEVENTFD_SIZE_MASK; in vfio_pci_ioctl_ioeventfd()
[all …]
/linux-6.1.9/drivers/virt/acrn/
Dioeventfd.c53 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()
Dhsm.c115 struct acrn_ioeventfd ioeventfd; in acrn_dev_ioctl() local
402 if (copy_from_user(&ioeventfd, (void __user *)ioctl_param, in acrn_dev_ioctl()
403 sizeof(ioeventfd))) in acrn_dev_ioctl()
406 if (ioeventfd.reserved != 0) in acrn_dev_ioctl()
409 ret = acrn_ioeventfd_config(vm, &ioeventfd); in acrn_dev_ioctl()
DMakefile3 acrn-y := hsm.o vm.o mm.o ioreq.o ioeventfd.o irqfd.o
/linux-6.1.9/Documentation/virt/kvm/s390/
Ds390-diag.rst62 Handled by either userspace or KVM (ioeventfd case).
/linux-6.1.9/Documentation/virt/kvm/
Dapi.rst2028 This ioctl attaches or detaches an ioeventfd to a legal pio/mmio address
2060 With KVM_CAP_IOEVENTFD_ANY_LENGTH, a zero length ioeventfd is allowed, and
2062 The speedup may only apply to specific architectures, but the ioeventfd will