Lines Matching refs:cur_tx
326 unsigned int cur_tx, dirty_tx;
691 yp->cur_tx, yp->dirty_tx,
716 if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE)
730 yp->cur_rx = yp->cur_tx = 0;
821 "ownership" bit last, and only then increment cur_tx. */
824 entry = yp->cur_tx % TX_RING_SIZE;
855 yp->cur_tx++;
864 yp->cur_tx++;
866 unsigned next_entry = yp->cur_tx % TX_RING_SIZE;
881 if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE)
888 yp->cur_tx, entry);
925 for (; yp->cur_tx - yp->dirty_tx > 0; yp->dirty_tx++) {
942 yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE - 4) {
951 for (dirty_tx = yp->dirty_tx; yp->cur_tx - dirty_tx > 0;
1003 if (yp->cur_tx - dirty_tx > TX_RING_SIZE) {
1005 dirty_tx, yp->cur_tx, yp->tx_full);
1011 yp->cur_tx - dirty_tx < TX_QUEUE_SIZE - 2) {
1212 yp->cur_tx, yp->dirty_tx,