Lines Matching refs:vring

32 	struct vring_info *vring = arg;  in ifcvf_vq_intr_handler()  local
34 if (vring->cb.callback) in ifcvf_vq_intr_handler()
35 return vring->cb.callback(vring->cb.private); in ifcvf_vq_intr_handler()
43 struct vring_info *vring; in ifcvf_vqs_reused_intr_handler() local
47 vring = &vf->vring[i]; in ifcvf_vqs_reused_intr_handler()
48 if (vring->cb.callback) in ifcvf_vqs_reused_intr_handler()
49 vring->cb.callback(vring->cb.private); in ifcvf_vqs_reused_intr_handler()
78 if (vf->vring[i].irq != -EINVAL) { in ifcvf_free_per_vq_irq()
79 devm_free_irq(&pdev->dev, vf->vring[i].irq, &vf->vring[i]); in ifcvf_free_per_vq_irq()
80 vf->vring[i].irq = -EINVAL; in ifcvf_free_per_vq_irq()
165 snprintf(vf->vring[i].msix_name, 256, "ifcvf[%s]-%d\n", pci_name(pdev), i); in ifcvf_request_per_vq_irq()
170 vf->vring[i].msix_name, in ifcvf_request_per_vq_irq()
171 &vf->vring[i]); in ifcvf_request_per_vq_irq()
177 vf->vring[i].irq = irq; in ifcvf_request_per_vq_irq()
198 snprintf(vf->vring[0].msix_name, 256, "ifcvf[%s]-vqs-reused-irq\n", pci_name(pdev)); in ifcvf_request_vqs_reused_irq()
202 vf->vring[0].msix_name, vf); in ifcvf_request_vqs_reused_irq()
210 vf->vring[i].irq = -EINVAL; in ifcvf_request_vqs_reused_irq()
231 snprintf(vf->vring[0].msix_name, 256, "ifcvf[%s]-dev-irq\n", pci_name(pdev)); in ifcvf_request_dev_irq()
235 vf->vring[0].msix_name, vf); in ifcvf_request_dev_irq()
243 vf->vring[i].irq = -EINVAL; in ifcvf_request_dev_irq()
481 vf->vring[qid].cb = *cb; in ifcvf_vdpa_set_vq_cb()
595 return vf->vring[qid].irq; in ifcvf_vdpa_get_vq_irq()
606 area.addr = vf->vring[idx].notify_pa; in ifcvf_get_vq_notification()
798 vf->vring[i].irq = -EINVAL; in ifcvf_probe()
835 kfree(ifcvf_mgmt_dev->vf.vring); in ifcvf_probe()
846 kfree(ifcvf_mgmt_dev->vf.vring); in ifcvf_remove()