Lines Matching refs:tx_buffers
51 struct smsc9420_ring_info *tx_buffers;
494 if (!pd->tx_buffers)
498 struct sk_buff *skb = pd->tx_buffers[i].skb;
501 BUG_ON(!pd->tx_buffers[i].mapping);
503 pd->tx_buffers[i].mapping, skb->len,
515 kfree(pd->tx_buffers);
516 pd->tx_buffers = NULL;
905 BUG_ON(!pd->tx_buffers[index].skb);
906 BUG_ON(!pd->tx_buffers[index].mapping);
909 pd->tx_buffers[index].mapping,
910 pd->tx_buffers[index].skb->len,
912 pd->tx_buffers[index].mapping = 0;
914 dev_kfree_skb_any(pd->tx_buffers[index].skb);
915 pd->tx_buffers[index].skb = NULL;
938 BUG_ON(pd->tx_buffers[index].skb);
939 BUG_ON(pd->tx_buffers[index].mapping);
949 pd->tx_buffers[index].skb = skb;
950 pd->tx_buffers[index].mapping = mapping;
1181 pd->tx_buffers = kmalloc_array(TX_RING_SIZE,
1184 if (!pd->tx_buffers)
1189 pd->tx_buffers[i].skb = NULL;
1190 pd->tx_buffers[i].mapping = 0;
1633 /* tx_buffers and rx_buffers are freed in stop */
1634 BUG_ON(pd->tx_buffers);