Lines Matching refs:call_ctx
157 struct eventfd_ctx *call_ctx = vq->call_ctx.ctx; in vhost_vdpa_virtqueue_cb() local
159 if (call_ctx) in vhost_vdpa_virtqueue_cb()
160 eventfd_signal(call_ctx, 1); in vhost_vdpa_virtqueue_cb()
190 irq_bypass_unregister_producer(&vq->call_ctx.producer); in vhost_vdpa_setup_vq_irq()
191 if (!vq->call_ctx.ctx) in vhost_vdpa_setup_vq_irq()
194 vq->call_ctx.producer.token = vq->call_ctx.ctx; in vhost_vdpa_setup_vq_irq()
195 vq->call_ctx.producer.irq = irq; in vhost_vdpa_setup_vq_irq()
196 ret = irq_bypass_register_producer(&vq->call_ctx.producer); in vhost_vdpa_setup_vq_irq()
199 qid, vq->call_ctx.producer.token, ret); in vhost_vdpa_setup_vq_irq()
206 irq_bypass_unregister_producer(&vq->call_ctx.producer); in vhost_vdpa_unsetup_vq_irq()
572 if (vq->call_ctx.ctx) { in vhost_vdpa_vring_ioctl()