Searched refs:ioeventfd (Results 1 - 6 of 6) sorted by relevance

/linux-master/drivers/vfio/pci/
H A Dvfio_pci_rdwr.c366 static void vfio_pci_ioeventfd_do_write(struct vfio_pci_ioeventfd *ioeventfd, argument
369 switch (ioeventfd->count) {
371 vfio_pci_core_iowrite8(ioeventfd->vdev, test_mem,
372 ioeventfd->data, ioeventfd->addr);
375 vfio_pci_core_iowrite16(ioeventfd->vdev, test_mem,
376 ioeventfd->data, ioeventfd->addr);
379 vfio_pci_core_iowrite32(ioeventfd->vdev, test_mem,
380 ioeventfd
393 struct vfio_pci_ioeventfd *ioeventfd = opaque; local
415 struct vfio_pci_ioeventfd *ioeventfd = opaque; local
426 struct vfio_pci_ioeventfd *ioeventfd; local
[all...]
H A Dvfio_pci_core.c565 struct vfio_pci_ioeventfd *ioeventfd, *ioeventfd_tmp; local
602 list_for_each_entry_safe(ioeventfd, ioeventfd_tmp,
604 vfio_virqfd_disable(&ioeventfd->virqfd);
605 list_del(&ioeventfd->next);
606 kfree(ioeventfd);
1419 struct vfio_device_ioeventfd ioeventfd; local
1422 if (copy_from_user(&ioeventfd, arg, minsz))
1425 if (ioeventfd.argsz < minsz)
1428 if (ioeventfd.flags & ~VFIO_DEVICE_IOEVENTFD_SIZE_MASK)
1431 count = ioeventfd
[all...]
/linux-master/drivers/virt/acrn/
H A DMakefile3 acrn-y := hsm.o vm.o mm.o ioreq.o ioeventfd.o irqfd.o
H A Dioeventfd.c18 * struct hsm_ioeventfd - Properties of HSM ioeventfd
20 * @eventfd: Eventfd of the HSM ioeventfd
53 struct hsm_ioeventfd *ioeventfd)
61 if (p->eventfd == ioeventfd->eventfd &&
62 p->addr == ioeventfd->addr &&
63 p->type == ioeventfd->type &&
64 (p->wildcard || ioeventfd->wildcard ||
65 p->data == ioeventfd->data))
72 * Assign an eventfd to a VM and create a HSM ioeventfd associated with the
73 * eventfd. The properties of the HSM ioeventfd ar
52 hsm_ioeventfd_is_conflict(struct acrn_vm *vm, struct hsm_ioeventfd *ioeventfd) argument
[all...]
H A Dhsm.c115 struct acrn_ioeventfd ioeventfd; local
402 if (copy_from_user(&ioeventfd, (void __user *)ioctl_param,
403 sizeof(ioeventfd)))
406 if (ioeventfd.reserved != 0)
409 ret = acrn_ioeventfd_config(vm, &ioeventfd);
/linux-master/drivers/xen/
H A Dprivcmd.c1190 struct privcmd_kernel_ioreq *alloc_ioreq(struct privcmd_ioeventfd *ioeventfd) argument
1201 size = struct_size(kioreq, ports, ioeventfd->vcpus);
1206 kioreq->dom = ioeventfd->dom;
1207 kioreq->vcpus = ioeventfd->vcpus;
1208 kioreq->uioreq = ioeventfd->ioreq;
1214 vma = find_vma(mm, (unsigned long)ioeventfd->ioreq);
1226 ports = memdup_array_user(u64_to_user_ptr(ioeventfd->ports),
1239 ioeventfd_interrupt, IRQF_SHARED, "ioeventfd",
1262 get_ioreq(struct privcmd_ioeventfd *ioeventfd, struct eventfd_ctx *eventfd) argument
1274 if (kioreq->uioreq != ioeventfd
1308 privcmd_ioeventfd_assign(struct privcmd_ioeventfd *ioeventfd) argument
1375 privcmd_ioeventfd_deassign(struct privcmd_ioeventfd *ioeventfd) argument
1427 struct privcmd_ioeventfd ioeventfd; local
[all...]

Completed in 137 milliseconds