Home
last modified time | relevance | path

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

/linux/drivers/vfio/pci/
H A Dvfio_pci_rdwr.c352 static void vfio_pci_ioeventfd_do_write(struct vfio_pci_ioeventfd *ioeventfd, in vfio_pci_vga_rw()
355 switch (ioeventfd->count) { in vfio_pci_vga_rw()
357 vfio_pci_core_iowrite8(ioeventfd->vdev, test_mem, in vfio_pci_vga_rw()
358 ioeventfd->data, ioeventfd->addr); in vfio_pci_vga_rw()
361 vfio_pci_core_iowrite16(ioeventfd->vdev, test_mem, in vfio_pci_vga_rw()
362 ioeventfd->data, ioeventfd->addr); in vfio_pci_vga_rw()
365 vfio_pci_core_iowrite32(ioeventfd->vdev, test_mem,
366 ioeventfd
367 vfio_pci_ioeventfd_do_write(struct vfio_pci_ioeventfd * ioeventfd,bool test_mem) vfio_pci_ioeventfd_do_write() argument
392 struct vfio_pci_ioeventfd *ioeventfd = opaque; vfio_pci_ioeventfd_handler() local
414 struct vfio_pci_ioeventfd *ioeventfd = opaque; vfio_pci_ioeventfd_thread() local
425 struct vfio_pci_ioeventfd *ioeventfd; vfio_pci_ioeventfd() local
[all...]
H A Dvfio_pci_core.c631 struct vfio_pci_ioeventfd *ioeventfd, *ioeventfd_tmp; in vfio_pci_core_disable()
668 list_for_each_entry_safe(ioeventfd, ioeventfd_tmp, in vfio_pci_core_disable()
670 vfio_virqfd_disable(&ioeventfd->virqfd); in vfio_pci_core_disable()
671 list_del(&ioeventfd->next); in vfio_pci_core_disable()
672 kfree(ioeventfd); in vfio_pci_core_disable()
1481 struct vfio_device_ioeventfd ioeventfd; in vfio_pci_ioctl_ioeventfd()
1484 if (copy_from_user(&ioeventfd, arg, minsz)) in vfio_pci_ioctl_ioeventfd()
1487 if (ioeventfd.argsz < minsz) in vfio_pci_ioctl_ioeventfd()
1490 if (ioeventfd.flags & ~VFIO_DEVICE_IOEVENTFD_SIZE_MASK) in vfio_pci_ioctl_ioeventfd()
1493 count = ioeventfd in vfio_pci_ioctl_ioeventfd()
628 struct vfio_pci_ioeventfd *ioeventfd, *ioeventfd_tmp; vfio_pci_core_disable() local
1478 struct vfio_device_ioeventfd ioeventfd; vfio_pci_ioctl_ioeventfd() local
[all...]
/linux/drivers/xen/
H A Dprivcmd.c1235 struct privcmd_kernel_ioreq *alloc_ioreq(struct privcmd_ioeventfd *ioeventfd) in alloc_ioreq() argument
1246 size = struct_size(kioreq, ports, ioeventfd->vcpus); in alloc_ioreq()
1251 kioreq->dom = ioeventfd->dom; in alloc_ioreq()
1252 kioreq->vcpus = ioeventfd->vcpus; in alloc_ioreq()
1253 kioreq->uioreq = ioeventfd->ioreq; in alloc_ioreq()
1259 vma = find_vma(mm, (unsigned long)ioeventfd->ioreq); in alloc_ioreq()
1271 ports = memdup_array_user(u64_to_user_ptr(ioeventfd->ports), in alloc_ioreq()
1307 get_ioreq(struct privcmd_ioeventfd *ioeventfd, struct eventfd_ctx *eventfd) in get_ioreq() argument
1319 if (kioreq->uioreq != ioeventfd->ioreq) { in get_ioreq()
1321 } else if (kioreq->dom != ioeventfd->dom || in get_ioreq()
[all …]
H A DKconfig277 Using the ioeventfd / irqfd mechanism a virtio backend running in a
/linux/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.c116 struct acrn_ioeventfd ioeventfd; in acrn_dev_ioctl()
403 if (copy_from_user(&ioeventfd, (void __user *)ioctl_param, in acrn_dev_ioctl()
404 sizeof(ioeventfd))) in acrn_dev_ioctl()
407 if (ioeventfd.reserved != 0) in acrn_dev_ioctl()
410 ret = acrn_ioeventfd_config(vm, &ioeventfd); in acrn_dev_ioctl()
115 struct acrn_ioeventfd ioeventfd; acrn_dev_ioctl() local
H A DMakefile3 acrn-y := hsm.o vm.o mm.o ioreq.o ioeventfd.o irqfd.o
/linux/Documentation/virt/kvm/
H A Dapi.rst2102 This ioctl attaches or detaches an ioeventfd to a legal pio/mmio address
2134 With KVM_CAP_IOEVENTFD_ANY_LENGTH, a zero length ioeventfd is allowed, and
2136 The speedup may only apply to specific architectures, but the ioeventfd will