Lines Matching refs:sidx
273 MPASS(nm_txq->sidx == na->num_tx_desc);
414 struct sge_qstat *spg = (void *)&nm_txq->desc[nm_txq->sidx];
487 #define NMIDXDIFF(q, idx) IDXDIFF((q)->pidx, (q)->idx, (q)->sidx)
609 MPASS(nm_txq->pidx <= nm_txq->sidx);
610 if (__predict_false(nm_txq->pidx == nm_txq->sidx)) {
631 if (NMIDXDIFF(nm_txq, equiqidx) >= nm_txq->sidx / 2) {
656 return (nm_txq->sidx - nm_txq->pidx);
658 return (nm_txq->sidx - nm_txq->pidx - 1);
664 struct sge_qstat *spg = (void *)&nm_txq->desc[nm_txq->sidx];
686 MPASS(nm_txq->cidx <= nm_txq->sidx);
687 if (__predict_false(nm_txq->cidx == nm_txq->sidx))