Lines Matching refs:rx_bufs
69 struct sk_buff *rx_bufs[N_RX_RING]; member
486 if (bp->rx_bufs[i] != NULL) { in bmac_suspend()
487 dev_kfree_skb(bp->rx_bufs[i]); in bmac_suspend()
488 bp->rx_bufs[i] = NULL; in bmac_suspend()
612 if ((skb = bp->rx_bufs[i]) == NULL) { in bmac_init_rx_ring()
613 bp->rx_bufs[i] = skb = netdev_alloc_skb(dev, RX_BUFLEN + 2); in bmac_init_rx_ring()
703 skb = bp->rx_bufs[i]; in bmac_rxdma_intr()
704 bp->rx_bufs[i] = NULL; in bmac_rxdma_intr()
716 if ((skb = bp->rx_bufs[i]) == NULL) { in bmac_rxdma_intr()
717 bp->rx_bufs[i] = skb = netdev_alloc_skb(dev, RX_BUFLEN + 2); in bmac_rxdma_intr()
719 skb_reserve(bp->rx_bufs[i], 2); in bmac_rxdma_intr()
1411 if (bp->rx_bufs[i] != NULL) { in bmac_close()
1412 dev_kfree_skb(bp->rx_bufs[i]); in bmac_close()
1413 bp->rx_bufs[i] = NULL; in bmac_close()