Lines Matching refs:total_vecs
8882 int i, total_vecs, max, rc = 0, min = 1, ulp_msix;
8885 total_vecs = bnxt_get_num_msix(bp);
8887 if (total_vecs > max)
8888 total_vecs = max;
8890 if (!total_vecs)
8893 msix_ent = kcalloc(total_vecs, sizeof(struct msix_entry), GFP_KERNEL);
8897 for (i = 0; i < total_vecs; i++) {
8905 total_vecs = pci_enable_msix_range(bp->pdev, msix_ent, min, total_vecs);
8907 if (total_vecs < 0 || total_vecs < ulp_msix) {
8912 bp->irq_tbl = kcalloc(total_vecs, sizeof(struct bnxt_irq), GFP_KERNEL);
8914 for (i = 0; i < total_vecs; i++)
8917 bp->total_irqs = total_vecs;
8920 total_vecs - ulp_msix, min == 1);