Lines Matching refs:total_vecs
8538 int i, total_vecs, max, rc = 0, min = 1, ulp_msix;
8541 total_vecs = bnxt_get_num_msix(bp);
8543 if (total_vecs > max)
8544 total_vecs = max;
8546 if (!total_vecs)
8549 msix_ent = kcalloc(total_vecs, sizeof(struct msix_entry), GFP_KERNEL);
8553 for (i = 0; i < total_vecs; i++) {
8561 total_vecs = pci_enable_msix_range(bp->pdev, msix_ent, min, total_vecs);
8563 if (total_vecs < 0 || total_vecs < ulp_msix) {
8568 bp->irq_tbl = kcalloc(total_vecs, sizeof(struct bnxt_irq), GFP_KERNEL);
8570 for (i = 0; i < total_vecs; i++)
8573 bp->total_irqs = total_vecs;
8576 total_vecs - ulp_msix, min == 1);