Lines Matching refs:tx_buffers
51 struct smsc9420_ring_info *tx_buffers;
492 if (!pd->tx_buffers)
496 struct sk_buff *skb = pd->tx_buffers[i].skb;
499 BUG_ON(!pd->tx_buffers[i].mapping);
501 pd->tx_buffers[i].mapping, skb->len,
513 kfree(pd->tx_buffers);
514 pd->tx_buffers = NULL;
903 BUG_ON(!pd->tx_buffers[index].skb);
904 BUG_ON(!pd->tx_buffers[index].mapping);
907 pd->tx_buffers[index].mapping,
908 pd->tx_buffers[index].skb->len,
910 pd->tx_buffers[index].mapping = 0;
912 dev_kfree_skb_any(pd->tx_buffers[index].skb);
913 pd->tx_buffers[index].skb = NULL;
936 BUG_ON(pd->tx_buffers[index].skb);
937 BUG_ON(pd->tx_buffers[index].mapping);
947 pd->tx_buffers[index].skb = skb;
948 pd->tx_buffers[index].mapping = mapping;
1180 pd->tx_buffers = kmalloc_array(TX_RING_SIZE,
1183 if (!pd->tx_buffers)
1188 pd->tx_buffers[i].skb = NULL;
1189 pd->tx_buffers[i].mapping = 0;
1632 /* tx_buffers and rx_buffers are freed in stop */
1633 BUG_ON(pd->tx_buffers);