Searched refs:ioeventfd (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/vfio/pci/ |
A D | vfio_pci_rdwr.c | 365 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write() 369 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write() 373 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write() 378 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write() 410 vfio_pci_ioeventfd_do_write(ioeventfd, ioeventfd->test_mem); in vfio_pci_ioeventfd_thread() 446 if (ioeventfd->pos == pos && ioeventfd->bar == bar && in vfio_pci_ioeventfd() 447 ioeventfd->data == data && ioeventfd->count == count) { in vfio_pci_ioeventfd() 452 kfree(ioeventfd); in vfio_pci_ioeventfd() 471 ioeventfd = kzalloc(sizeof(*ioeventfd), GFP_KERNEL); in vfio_pci_ioeventfd() 472 if (!ioeventfd) { in vfio_pci_ioeventfd() [all …]
|
A 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 1104 if (ioeventfd.argsz < minsz) in vfio_pci_core_ioctl() 1107 if (ioeventfd.flags & ~VFIO_DEVICE_IOEVENTFD_SIZE_MASK) in vfio_pci_core_ioctl() 1112 if (hweight8(count) != 1 || ioeventfd.fd < -1) in vfio_pci_core_ioctl() 1115 return vfio_pci_ioeventfd(vdev, ioeventfd.offset, in vfio_pci_core_ioctl() [all …]
|
/linux/drivers/virt/acrn/ |
A 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()
|
A D | hsm.c | 115 struct acrn_ioeventfd ioeventfd; in acrn_dev_ioctl() local 392 if (copy_from_user(&ioeventfd, (void __user *)ioctl_param, in acrn_dev_ioctl() 393 sizeof(ioeventfd))) in acrn_dev_ioctl() 396 if (ioeventfd.reserved != 0) in acrn_dev_ioctl() 399 ret = acrn_ioeventfd_config(vm, &ioeventfd); in acrn_dev_ioctl()
|
A D | Makefile | 3 acrn-y := hsm.o vm.o mm.o ioreq.o ioeventfd.o irqfd.o
|
/linux/Documentation/virt/kvm/ |
A D | s390-diag.rst | 62 Handled by either userspace or KVM (ioeventfd case).
|
A D | api.rst | 1951 This ioctl attaches or detaches an ioeventfd to a legal pio/mmio address 1983 With KVM_CAP_IOEVENTFD_ANY_LENGTH, a zero length ioeventfd is allowed, and 1985 The speedup may only apply to specific architectures, but the ioeventfd will
|
Completed in 25 milliseconds