Home | History | Annotate | Download | only in pci

Lines Matching refs:rxr

3139 mcx_rxr_init(struct mcx_rxring *rxr, u_int lwm __unused, u_int hwm)
3141 rxr->rxr_total = hwm;
3142 rxr->rxr_inuse = 0;
3146 mcx_rxr_get(struct mcx_rxring *rxr, u_int max)
3148 const u_int taken = MIN(max, rxr->rxr_total - rxr->rxr_inuse);
3150 rxr->rxr_inuse += taken;
3156 mcx_rxr_put(struct mcx_rxring *rxr, u_int n)
3158 rxr->rxr_inuse -= n;
3162 mcx_rxr_inuse(struct mcx_rxring *rxr)
3164 return rxr->rxr_inuse;