Searched refs:virqfd (Results 1 – 8 of 8) sorted by relevance
35 static void virqfd_deactivate(struct virqfd *virqfd) in virqfd_deactivate() argument37 queue_work(vfio_irqfd_cleanup_wq, &virqfd->shutdown); in virqfd_deactivate()42 struct virqfd *virqfd = container_of(wait, struct virqfd, wait); in virqfd_wakeup() local47 eventfd_ctx_do_read(virqfd->eventfd, &cnt); in virqfd_wakeup()50 if ((!virqfd->handler || in virqfd_wakeup()51 virqfd->handler(virqfd->opaque, virqfd->data)) && in virqfd_wakeup()52 virqfd->thread) in virqfd_wakeup()53 schedule_work(&virqfd->inject); in virqfd_wakeup()67 if (*(virqfd->pvirqfd) == virqfd) { in virqfd_wakeup()68 *(virqfd->pvirqfd) = NULL; in virqfd_wakeup()[all …]
9 vfio-$(CONFIG_VFIO_VIRQFD) += virqfd.o
350 struct virqfd { struct361 struct virqfd **pvirqfd; argument366 struct virqfd **pvirqfd, int fd);367 void vfio_virqfd_disable(struct virqfd **pvirqfd);368 void vfio_virqfd_flush_thread(struct virqfd **pvirqfd);
17 struct virqfd *virqfd; member
458 vfio_virqfd_disable(&ioeventfd->virqfd); in vfio_pci_ioeventfd()496 &ioeventfd->virqfd, fd); in vfio_pci_ioeventfd()
28 struct virqfd *unmask;29 struct virqfd *mask;
600 vfio_virqfd_disable(&ioeventfd->virqfd); in vfio_pci_core_disable()
31 struct virqfd *unmask;32 struct virqfd *mask;