Lines Matching defs:count
237 sfxge_intr_alloc(struct sfxge_softc *sc, int count)
251 table = malloc(count * sizeof(struct sfxge_intr_hdl),
255 for (i = 0; i < count; i++) {
270 count = i - 1;
271 for (i = 0; i < count; i++)
299 int count;
306 count = pci_msix_count(dev);
307 if (count == 0)
312 count = MIN(count, sc->evq_max);
319 if (pci_alloc_msix(dev, &count) != 0) {
325 if (sfxge_intr_alloc(sc, count) != 0) {
332 intr->n_alloc = count;
344 int count;
356 count = pci_msi_count(dev) ? 1 : 0;
357 if (count == 0)
360 if ((error = pci_alloc_msi(dev, &count)) != 0)
364 if (sfxge_intr_alloc(sc, count) != 0) {
370 intr->n_alloc = count;