virqfd 385 drivers/vfio/pci/vfio_pci.c vfio_virqfd_disable(&ioeventfd->virqfd); virqfd 34 drivers/vfio/pci/vfio_pci_private.h struct virqfd *virqfd; virqfd 44 drivers/vfio/pci/vfio_pci_private.h struct virqfd *unmask; virqfd 45 drivers/vfio/pci/vfio_pci_private.h struct virqfd *mask; virqfd 337 drivers/vfio/pci/vfio_pci_rdwr.c vfio_virqfd_disable(&ioeventfd->virqfd); virqfd 372 drivers/vfio/pci/vfio_pci_rdwr.c NULL, NULL, &ioeventfd->virqfd, fd); virqfd 30 drivers/vfio/platform/vfio_platform_private.h struct virqfd *unmask; virqfd 31 drivers/vfio/platform/vfio_platform_private.h struct virqfd *mask; virqfd 38 drivers/vfio/virqfd.c static void virqfd_deactivate(struct virqfd *virqfd) virqfd 40 drivers/vfio/virqfd.c queue_work(vfio_irqfd_cleanup_wq, &virqfd->shutdown); virqfd 45 drivers/vfio/virqfd.c struct virqfd *virqfd = container_of(wait, struct virqfd, wait); virqfd 50 drivers/vfio/virqfd.c if ((!virqfd->handler || virqfd 51 drivers/vfio/virqfd.c virqfd->handler(virqfd->opaque, virqfd->data)) && virqfd 52 drivers/vfio/virqfd.c virqfd->thread) virqfd 53 drivers/vfio/virqfd.c schedule_work(&virqfd->inject); virqfd 67 drivers/vfio/virqfd.c if (*(virqfd->pvirqfd) == virqfd) { virqfd 68 drivers/vfio/virqfd.c *(virqfd->pvirqfd) = NULL; virqfd 69 drivers/vfio/virqfd.c virqfd_deactivate(virqfd); virqfd 81 drivers/vfio/virqfd.c struct virqfd *virqfd = container_of(pt, struct virqfd, pt); virqfd 82 drivers/vfio/virqfd.c add_wait_queue(wqh, &virqfd->wait); virqfd 87 drivers/vfio/virqfd.c struct virqfd *virqfd = container_of(work, struct virqfd, shutdown); virqfd 90 drivers/vfio/virqfd.c eventfd_ctx_remove_wait_queue(virqfd->eventfd, &virqfd->wait, &cnt); virqfd 91 drivers/vfio/virqfd.c flush_work(&virqfd->inject); virqfd 92 drivers/vfio/virqfd.c eventfd_ctx_put(virqfd->eventfd); virqfd 94 drivers/vfio/virqfd.c kfree(virqfd); virqfd 99 drivers/vfio/virqfd.c struct virqfd *virqfd = container_of(work, struct virqfd, inject); virqfd 100 drivers/vfio/virqfd.c if (virqfd->thread) virqfd 101 drivers/vfio/virqfd.c virqfd->thread(virqfd->opaque, virqfd->data); virqfd 107 drivers/vfio/virqfd.c void *data, struct virqfd **pvirqfd, int fd) virqfd 111 drivers/vfio/virqfd.c struct virqfd *virqfd; virqfd 115 drivers/vfio/virqfd.c virqfd = kzalloc(sizeof(*virqfd), GFP_KERNEL); virqfd 116 drivers/vfio/virqfd.c if (!virqfd) virqfd 119 drivers/vfio/virqfd.c virqfd->pvirqfd = pvirqfd; virqfd 120 drivers/vfio/virqfd.c virqfd->opaque = opaque; virqfd 121 drivers/vfio/virqfd.c virqfd->handler = handler; virqfd 122 drivers/vfio/virqfd.c virqfd->thread = thread; virqfd 123 drivers/vfio/virqfd.c virqfd->data = data; virqfd 125 drivers/vfio/virqfd.c INIT_WORK(&virqfd->shutdown, virqfd_shutdown); virqfd 126 drivers/vfio/virqfd.c INIT_WORK(&virqfd->inject, virqfd_inject); virqfd 140 drivers/vfio/virqfd.c virqfd->eventfd = ctx; virqfd 155 drivers/vfio/virqfd.c *pvirqfd = virqfd; virqfd 163 drivers/vfio/virqfd.c init_waitqueue_func_entry(&virqfd->wait, virqfd_wakeup); virqfd 164 drivers/vfio/virqfd.c init_poll_funcptr(&virqfd->pt, virqfd_ptable_queue_proc); virqfd 166 drivers/vfio/virqfd.c events = vfs_poll(irqfd.file, &virqfd->pt); virqfd 174 drivers/vfio/virqfd.c schedule_work(&virqfd->inject); virqfd 189 drivers/vfio/virqfd.c kfree(virqfd); virqfd 195 drivers/vfio/virqfd.c void vfio_virqfd_disable(struct virqfd **pvirqfd) virqfd 189 include/linux/vfio.h struct virqfd **pvirqfd; virqfd 195 include/linux/vfio.h void *data, struct virqfd **pvirqfd, int fd); virqfd 196 include/linux/vfio.h extern void vfio_virqfd_disable(struct virqfd **pvirqfd);