Lines Matching refs:cur_tx
552 unsigned int cur_tx, dirty_tx, reap_tx; member
1132 np->cur_rx = np->cur_tx = np->reap_tx = 0; in init_ring()
1190 if ((np->cur_tx - np->dirty_tx) + skb_num_frags(skb) * 2 > TX_RING_SIZE) { in start_tx()
1202 prev_tx = np->cur_tx; in start_tx()
1203 entry = np->cur_tx % TX_RING_SIZE; in start_tx()
1247 dev->name, np->cur_tx, np->dirty_tx, in start_tx()
1251 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
1255 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
1259 if (np->cur_tx % (TX_RING_SIZE / 2) == 0) in start_tx()
1272 if ((np->cur_tx - np->dirty_tx) + 4 > TX_RING_SIZE) in start_tx()
1295 np->cur_tx = prev_tx; in start_tx()
1391 (np->cur_tx - np->dirty_tx + 4 < TX_RING_SIZE)) { in intr_handler()
1939 dev->name, np->cur_tx, np->dirty_tx, in netdev_close()