Lines Matching refs:sidx
231 nm_txq->sidx = na->num_tx_desc; in alloc_nm_txq()
456 MPASS(nm_txq->sidx == na->num_tx_desc); in alloc_nm_txq_hwq()
907 #define NMIDXDIFF(q, idx) IDXDIFF((q)->pidx, (q)->idx, (q)->sidx)
1018 MPASS(nm_txq->pidx <= nm_txq->sidx); in cxgbe_nm_tx()
1019 if (__predict_false(nm_txq->pidx == nm_txq->sidx)) { in cxgbe_nm_tx()
1031 NMIDXDIFF(nm_txq, equiqidx) >= nm_txq->sidx / 2) { in cxgbe_nm_tx()
1064 return (nm_txq->sidx - nm_txq->pidx); in contiguous_ndesc_available()
1066 return (nm_txq->sidx - nm_txq->pidx - 1); in contiguous_ndesc_available()
1072 struct sge_qstat *spg = (void *)&nm_txq->desc[nm_txq->sidx]; in reclaim_nm_tx_desc()
1095 MPASS(nm_txq->cidx <= nm_txq->sidx); in reclaim_nm_tx_desc()
1096 if (__predict_false(nm_txq->cidx == nm_txq->sidx)) in reclaim_nm_tx_desc()