Lines Matching refs:cur_tx
560 unsigned int cur_tx, dirty_tx, reap_tx; member
1143 np->cur_rx = np->cur_tx = np->reap_tx = 0; in init_ring()
1199 if ((np->cur_tx - np->dirty_tx) + skb_num_frags(skb) * 2 > TX_RING_SIZE) { in start_tx()
1211 prev_tx = np->cur_tx; in start_tx()
1212 entry = np->cur_tx % TX_RING_SIZE; in start_tx()
1255 dev->name, np->cur_tx, np->dirty_tx, in start_tx()
1259 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
1263 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
1267 if (np->cur_tx % (TX_RING_SIZE / 2) == 0) in start_tx()
1280 if ((np->cur_tx - np->dirty_tx) + 4 > TX_RING_SIZE) in start_tx()
1305 np->cur_tx = prev_tx; in start_tx()
1401 (np->cur_tx - np->dirty_tx + 4 < TX_RING_SIZE)) { in intr_handler()
1948 dev->name, np->cur_tx, np->dirty_tx, in netdev_close()