Home
last modified time | relevance | path

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

/linux-6.15/drivers/vfio/pci/
H A Dvfio_pci_rdwr.c374 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write()
378 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write()
382 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write()
386 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write()
417 vfio_pci_ioeventfd_do_write(ioeventfd, ioeventfd->test_mem); in vfio_pci_ioeventfd_thread()
451 if (ioeventfd->pos == pos && ioeventfd->bar == bar && in vfio_pci_ioeventfd()
452 ioeventfd->data == data && ioeventfd->count == count) { in vfio_pci_ioeventfd()
457 kfree(ioeventfd); in vfio_pci_ioeventfd()
476 ioeventfd = kzalloc(sizeof(*ioeventfd), GFP_KERNEL_ACCOUNT); in vfio_pci_ioeventfd()
477 if (!ioeventfd) { in vfio_pci_ioeventfd()
[all …]
H A Dvfio_pci_core.c561 struct vfio_pci_ioeventfd *ioeventfd, *ioeventfd_tmp; in vfio_pci_core_disable() local
598 list_for_each_entry_safe(ioeventfd, ioeventfd_tmp, in vfio_pci_core_disable()
600 vfio_virqfd_disable(&ioeventfd->virqfd); in vfio_pci_core_disable()
601 list_del(&ioeventfd->next); in vfio_pci_core_disable()
602 kfree(ioeventfd); in vfio_pci_core_disable()
1426 struct vfio_device_ioeventfd ioeventfd; in vfio_pci_ioctl_ioeventfd() local
1429 if (copy_from_user(&ioeventfd, arg, minsz)) in vfio_pci_ioctl_ioeventfd()
1432 if (ioeventfd.argsz < minsz) in vfio_pci_ioctl_ioeventfd()
1440 if (hweight8(count) != 1 || ioeventfd.fd < -1) in vfio_pci_ioctl_ioeventfd()
1443 return vfio_pci_ioeventfd(vdev, ioeventfd.offset, ioeventfd.data, count, in vfio_pci_ioctl_ioeventfd()
[all …]
/linux-6.15/drivers/xen/
H A Dprivcmd.c1237 kioreq->dom = ioeventfd->dom; in alloc_ioreq()
1238 kioreq->vcpus = ioeventfd->vcpus; in alloc_ioreq()
1311 ioeventfd->vcpus); in get_ioreq()
1329 return alloc_ioreq(ioeventfd); in get_ioreq()
1347 if (ioeventfd->addr + ioeventfd->addr_len < ioeventfd->addr) in privcmd_ioeventfd_assign()
1351 if (!(ioeventfd->addr_len == 1 || ioeventfd->addr_len == 2 || in privcmd_ioeventfd_assign()
1352 ioeventfd->addr_len == 4 || ioeventfd->addr_len == 8)) in privcmd_ioeventfd_assign()
1356 if (!ioeventfd->vcpus || ioeventfd->vcpus > 4096) in privcmd_ioeventfd_assign()
1371 kioeventfd->vq = ioeventfd->vq; in privcmd_ioeventfd_assign()
1436 ioeventfd->dom, ioeventfd->addr); in privcmd_ioeventfd_deassign()
[all …]
H A DKconfig276 Using the ioeventfd / irqfd mechanism a virtio backend running in a
/linux-6.15/drivers/virt/acrn/
H A 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()
H A 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()
H A DMakefile3 acrn-y := hsm.o vm.o mm.o ioreq.o ioeventfd.o irqfd.o
/linux-6.15/Documentation/virt/kvm/s390/
H A Ds390-diag.rst66 Handled by either userspace or KVM (ioeventfd case).
/linux-6.15/Documentation/virt/kvm/
H A Dapi.rst2086 This ioctl attaches or detaches an ioeventfd to a legal pio/mmio address
2118 With KVM_CAP_IOEVENTFD_ANY_LENGTH, a zero length ioeventfd is allowed, and
2120 The speedup may only apply to specific architectures, but the ioeventfd will