Lines Matching refs:irqp
1265 struct mlx5_vdpa_irq_pool *irqp = &ndev->irqp; in alloc_vector() local
1270 for (i = 0; i < irqp->num_ent; i++) { in alloc_vector()
1271 ent = &irqp->entries[i]; in alloc_vector()
1291 struct mlx5_vdpa_irq_pool *irqp = &ndev->irqp; in dealloc_vector() local
1294 for (i = 0; i < irqp->num_ent; i++) in dealloc_vector()
1295 if (mvq->map.virq == irqp->entries[i].map.virq) { in dealloc_vector()
1296 free_irq(mvq->map.virq, irqp->entries[i].dev_id); in dealloc_vector()
1297 irqp->entries[i].used = false; in dealloc_vector()
2973 if (!ndev->irqp.entries) in free_irqs()
2976 for (i = ndev->irqp.num_ent - 1; i >= 0; i--) { in free_irqs()
2977 ent = ndev->irqp.entries + i; in free_irqs()
2981 kfree(ndev->irqp.entries); in free_irqs()
3332 ndev->irqp.entries = kcalloc(ndev->mvdev.max_vqs, sizeof(*ndev->irqp.entries), GFP_KERNEL); in allocate_irqs()
3333 if (!ndev->irqp.entries) in allocate_irqs()
3338 ent = ndev->irqp.entries + i; in allocate_irqs()
3345 ndev->irqp.num_ent++; in allocate_irqs()