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;
693 yp->cur_tx, yp->dirty_tx,
718 if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE)
733 yp->dirty_tx = 0;
883 if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE)
927 for (; yp->cur_tx - yp->dirty_tx > 0; yp->dirty_tx++) {
928 int entry = yp->dirty_tx % TX_RING_SIZE;
944 yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE - 4) {
951 unsigned dirty_tx = yp->dirty_tx;
953 for (dirty_tx = yp->dirty_tx; yp->cur_tx - dirty_tx > 0;
954 dirty_tx++) {
956 int entry = dirty_tx % TX_RING_SIZE;
1005 if (yp->cur_tx - dirty_tx > TX_RING_SIZE) {
1007 dirty_tx, yp->cur_tx, yp->tx_full);
1008 dirty_tx += TX_RING_SIZE;
1013 yp->cur_tx - dirty_tx < TX_QUEUE_SIZE - 2) {
1019 yp->dirty_tx = dirty_tx;
1020 yp->tx_tail_desc = &yp->tx_status[dirty_tx % TX_RING_SIZE];
1214 yp->cur_tx, yp->dirty_tx,