Lines Matching refs:call_ctx
161 struct eventfd_ctx *call_ctx = vq->call_ctx.ctx; in vhost_vdpa_virtqueue_cb() local
163 if (call_ctx) in vhost_vdpa_virtqueue_cb()
164 eventfd_signal(call_ctx, 1); in vhost_vdpa_virtqueue_cb()
194 if (!vq->call_ctx.ctx) in vhost_vdpa_setup_vq_irq()
197 vq->call_ctx.producer.irq = irq; in vhost_vdpa_setup_vq_irq()
198 ret = irq_bypass_register_producer(&vq->call_ctx.producer); in vhost_vdpa_setup_vq_irq()
201 qid, vq->call_ctx.producer.token, ret); in vhost_vdpa_setup_vq_irq()
208 irq_bypass_unregister_producer(&vq->call_ctx.producer); in vhost_vdpa_unsetup_vq_irq()
629 if (vq->call_ctx.ctx) { in vhost_vdpa_vring_ioctl()
633 vq->call_ctx.producer.token = NULL; in vhost_vdpa_vring_ioctl()
664 if (vq->call_ctx.ctx) { in vhost_vdpa_vring_ioctl()
667 cb.trigger = vq->call_ctx.ctx; in vhost_vdpa_vring_ioctl()
668 vq->call_ctx.producer.token = vq->call_ctx.ctx; in vhost_vdpa_vring_ioctl()
1328 vqs[i]->call_ctx.ctx = NULL; in vhost_vdpa_open()