Lines Matching refs:pkt_buf
180 void *pkt_buf; in xge_start_xmit() local
195 pkt_buf = dma_alloc_coherent(dev, XGENE_ENET_STD_MTU, &dma_addr, in xge_start_xmit()
197 if (unlikely(!pkt_buf)) { in xge_start_xmit()
201 memcpy(pkt_buf, skb->data, len); in xge_start_xmit()
212 tx_ring->pkt_info[tail].pkt_buf = pkt_buf; in xge_start_xmit()
244 void *pkt_buf; in xge_txc_poll() local
265 pkt_buf = tx_ring->pkt_info[head].pkt_buf; in xge_txc_poll()
268 dma_free_coherent(dev, XGENE_ENET_STD_MTU, pkt_buf, dma_addr); in xge_txc_poll()
559 void *pkt_buf; in xge_free_pending_skb() local
572 pkt_buf = tx_ring->pkt_info[i].pkt_buf; in xge_free_pending_skb()
573 dma_free_coherent(dev, XGENE_ENET_STD_MTU, pkt_buf, dma_addr); in xge_free_pending_skb()