Lines Matching refs:call_ctx
70 struct eventfd_ctx *call_ctx = vq->call_ctx.ctx; in vhost_vdpa_virtqueue_cb() local
72 if (call_ctx) in vhost_vdpa_virtqueue_cb()
73 eventfd_signal(call_ctx, 1); in vhost_vdpa_virtqueue_cb()
100 irq_bypass_unregister_producer(&vq->call_ctx.producer); in vhost_vdpa_setup_vq_irq()
101 if (!vq->call_ctx.ctx || irq < 0) in vhost_vdpa_setup_vq_irq()
104 vq->call_ctx.producer.token = vq->call_ctx.ctx; in vhost_vdpa_setup_vq_irq()
105 vq->call_ctx.producer.irq = irq; in vhost_vdpa_setup_vq_irq()
106 ret = irq_bypass_register_producer(&vq->call_ctx.producer); in vhost_vdpa_setup_vq_irq()
109 qid, vq->call_ctx.producer.token, ret); in vhost_vdpa_setup_vq_irq()
116 irq_bypass_unregister_producer(&vq->call_ctx.producer); in vhost_vdpa_unsetup_vq_irq()
413 if (vq->call_ctx.ctx) { in vhost_vdpa_vring_ioctl()
912 if (vq->call_ctx.producer.irq) in vhost_vdpa_clean_irq()
913 irq_bypass_unregister_producer(&vq->call_ctx.producer); in vhost_vdpa_clean_irq()