Lines Matching refs:rx_skbuff
266 struct sk_buff **rx_skbuff; member
596 new_skb_list[new] = lp->rx_skbuff[new]; in pcnet32_realloc_rx_ring()
600 struct sk_buff *rx_skbuff; in pcnet32_realloc_rx_ring() local
602 if (!(rx_skbuff = new_skb_list[new])) { in pcnet32_realloc_rx_ring()
610 skb_reserve(rx_skbuff, NET_IP_ALIGN); in pcnet32_realloc_rx_ring()
613 pci_map_single(lp->pci_dev, rx_skbuff->data, in pcnet32_realloc_rx_ring()
621 if (lp->rx_skbuff[new]) { in pcnet32_realloc_rx_ring()
624 dev_kfree_skb(lp->rx_skbuff[new]); in pcnet32_realloc_rx_ring()
628 kfree(lp->rx_skbuff); in pcnet32_realloc_rx_ring()
641 lp->rx_skbuff = new_skb_list; in pcnet32_realloc_rx_ring()
673 if (lp->rx_skbuff[i]) { in pcnet32_purge_rx_ring()
676 dev_kfree_skb_any(lp->rx_skbuff[i]); in pcnet32_purge_rx_ring()
678 lp->rx_skbuff[i] = NULL; in pcnet32_purge_rx_ring()
998 skb = lp->rx_skbuff[x]; in pcnet32_loopback_test()
1009 skb = lp->rx_skbuff[x]; in pcnet32_loopback_test()
1202 skb = lp->rx_skbuff[entry]; in pcnet32_rx_entry()
1208 lp->rx_skbuff[entry] = newskb; in pcnet32_rx_entry()
1239 (unsigned char *)(lp->rx_skbuff[entry]->data), in pcnet32_rx_entry()
2045 lp->rx_skbuff = kcalloc(lp->rx_ring_size, sizeof(struct sk_buff *), in pcnet32_alloc_ring()
2047 if (!lp->rx_skbuff) { in pcnet32_alloc_ring()
2064 kfree(lp->rx_skbuff); in pcnet32_free_ring()
2065 lp->rx_skbuff = NULL; in pcnet32_free_ring()
2368 struct sk_buff *rx_skbuff = lp->rx_skbuff[i]; in pcnet32_init_ring() local
2369 if (rx_skbuff == NULL) { in pcnet32_init_ring()
2371 (rx_skbuff = lp->rx_skbuff[i] = in pcnet32_init_ring()
2380 skb_reserve(rx_skbuff, NET_IP_ALIGN); in pcnet32_init_ring()
2386 pci_map_single(lp->pci_dev, rx_skbuff->data, in pcnet32_init_ring()