Lines Matching refs:nrings

6610     mac_ring_t *ring, mac_ring_t **rings, int nrings)  in mac_reclaim_ring_from_grp()  argument
6643 for (j = 0; j < nrings; j++) { in mac_reclaim_ring_from_grp()
6647 if (j >= nrings) in mac_reclaim_ring_from_grp()
6693 for (j = 0; j < nrings; j++) { in mac_reclaim_ring_from_grp()
6697 if (j < nrings) in mac_reclaim_ring_from_grp()
6724 for (j = 0; j < nrings; j++) { in mac_reclaim_ring_from_grp()
6728 if (j >= nrings) in mac_reclaim_ring_from_grp()
6763 for (j = 0; j < nrings; j++) { in mac_reclaim_ring_from_grp()
6767 if (j >= nrings) in mac_reclaim_ring_from_grp()
6802 uint_t nrings; in i_mac_group_allocate_rings() local
6815 mip->mi_share_capab.ms_squery(share, ring_type, NULL, &nrings); in i_mac_group_allocate_rings()
6816 ASSERT(nrings != 0); in i_mac_group_allocate_rings()
6817 rings = kmem_alloc(nrings * sizeof (mac_ring_handle_t), in i_mac_group_allocate_rings()
6820 (mac_ring_handle_t *)rings, &nrings); in i_mac_group_allocate_rings()
6821 for (i = 0; i < nrings; i++) { in i_mac_group_allocate_rings()
6831 ring, rings, nrings) != 0) { in i_mac_group_allocate_rings()
6864 nrings = i; in i_mac_group_allocate_rings()
6866 if (nrings != ringcnt) { in i_mac_group_allocate_rings()
6874 if (src_group->mrg_cur_count - nrings < 1) { in i_mac_group_allocate_rings()
6881 for (i = 0; i < nrings; i++) { in i_mac_group_allocate_rings()
6898 for (i = 0; i < nrings; i++) { in i_mac_group_allocate_rings()
6927 kmem_free(rings, nrings * sizeof (mac_ring_handle_t)); in i_mac_group_allocate_rings()
7005 int nrings; in mac_reserve_rx_group() local
7156 nrings = rxhw ? need_rings : isprimary ? donor_grp_rcnt: 1; in mac_reserve_rx_group()
7164 if (nrings <= donor_grp_rcnt) { in mac_reserve_rx_group()
7166 donorgrp, grp, share, nrings); in mac_reserve_rx_group()
7571 int nrings; in mac_reserve_tx_group() local
7649 nrings = (mrp->mrp_mask & MRP_TX_RINGS) != 0 ? mrp->mrp_ntxrings : 1; in mac_reserve_tx_group()
7683 nrings <= defnrings) { in mac_reserve_tx_group()
7759 share, nrings); in mac_reserve_tx_group()