Searched refs:hn_txdesc_avail (Results 1 – 2 of 2) sorted by relevance
124 int hn_txdesc_avail; member
2744 KASSERT(txr->hn_txdesc_avail >= 0 && in hn_txdesc_put()2745 txr->hn_txdesc_avail < txr->hn_txdesc_cnt, in hn_txdesc_put()2746 ("txdesc_put: invalid txd avail %d", txr->hn_txdesc_avail)); in hn_txdesc_put()2747 txr->hn_txdesc_avail++; in hn_txdesc_put()2752 atomic_add_int(&txr->hn_txdesc_avail, 1); in hn_txdesc_put()2769 KASSERT(txr->hn_txdesc_avail > 0, in hn_txdesc_get()2770 ("txdesc_get: invalid txd avail %d", txr->hn_txdesc_avail)); in hn_txdesc_get()2771 txr->hn_txdesc_avail--; in hn_txdesc_get()2782 atomic_subtract_int(&txr->hn_txdesc_avail, 1); in hn_txdesc_get()2830 if (txr->hn_txdesc_avail != txr->hn_txdesc_cnt) in hn_tx_ring_pending()[all …]