Lines Matching refs:dirty_tx
187 empty by incrementing the dirty_tx mark. Iff the 'yp->tx_full' flag is set, it
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)
731 yp->dirty_tx = 0;
881 if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE)
925 for (; yp->cur_tx - yp->dirty_tx > 0; yp->dirty_tx++) {
926 int entry = yp->dirty_tx % TX_RING_SIZE;
942 yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE - 4) {
949 unsigned dirty_tx = yp->dirty_tx;
951 for (dirty_tx = yp->dirty_tx; yp->cur_tx - dirty_tx > 0;
952 dirty_tx++) {
954 int entry = dirty_tx % TX_RING_SIZE;
1003 if (yp->cur_tx - dirty_tx > TX_RING_SIZE) {
1005 dirty_tx, yp->cur_tx, yp->tx_full);
1006 dirty_tx += TX_RING_SIZE;
1011 yp->cur_tx - dirty_tx < TX_QUEUE_SIZE - 2) {
1017 yp->dirty_tx = dirty_tx;
1018 yp->tx_tail_desc = &yp->tx_status[dirty_tx % TX_RING_SIZE];
1212 yp->cur_tx, yp->dirty_tx,