Lines Matching refs:cur_tx
326 unsigned int cur_tx, dirty_tx;
693 yp->cur_tx, yp->dirty_tx,
718 if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE)
732 yp->cur_rx = yp->cur_tx = 0;
823 "ownership" bit last, and only then increment cur_tx. */
826 entry = yp->cur_tx % TX_RING_SIZE;
857 yp->cur_tx++;
866 yp->cur_tx++;
868 unsigned next_entry = yp->cur_tx % TX_RING_SIZE;
883 if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE)
890 yp->cur_tx, entry);
927 for (; yp->cur_tx - yp->dirty_tx > 0; yp->dirty_tx++) {
944 yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE - 4) {
953 for (dirty_tx = yp->dirty_tx; yp->cur_tx - dirty_tx > 0;
1005 if (yp->cur_tx - dirty_tx > TX_RING_SIZE) {
1007 dirty_tx, yp->cur_tx, yp->tx_full);
1013 yp->cur_tx - dirty_tx < TX_QUEUE_SIZE - 2) {
1214 yp->cur_tx, yp->dirty_tx,