Home
last modified time | relevance | path

Searched refs:s_ring_count (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_soft_ring.c380 cnt = ringp->s_ring_count; in mac_rx_soft_ring_drain()
381 ringp->s_ring_count = 0; in mac_rx_soft_ring_drain()
557 cnt = ringp->s_ring_count; in mac_soft_ring_poll()
558 ringp->s_ring_count = 0; in mac_soft_ring_poll()
568 ringp->s_ring_count -= cnt; in mac_soft_ring_poll()
574 ASSERT(ringp->s_ring_count == 0); in mac_soft_ring_poll()
668 saved_pkt_count = ringp->s_ring_count; in mac_tx_soft_ring_drain()
672 ringp->s_ring_count = 0; in mac_tx_soft_ring_drain()
683 ringp->s_ring_count += in mac_tx_soft_ring_drain()
706 if (ringp->s_ring_count == 0 && ringp->s_ring_state & in mac_tx_soft_ring_drain()
H A Dmac_sched.c4609 (ringp)->s_ring_count += (cnt); \
4610 ASSERT((ringp)->s_ring_count > 0); \
4832 if (ringp->s_ring_count > ringp->s_ring_tx_hiwat) { in mac_tx_sring_enqueue()
4841 if (ringp->s_ring_count > in mac_tx_sring_enqueue()
4902 if (ringp->s_ring_count > ringp->s_ring_tx_hiwat) { in mac_tx_soft_ring_process()
/illumos-gate/usr/src/uts/common/sys/
H A Dmac_soft_ring.h72 int s_ring_count; /* # of mblocks in mac_soft_ring */ member