Lines Matching refs:skb_ptr
170 struct sk_buff *skb_ptr; /* 18-1B */ member
266 if (lp->tx_insert_ptr->skb_ptr) { in r6040_free_txbufs()
270 dev_kfree_skb(lp->tx_insert_ptr->skb_ptr); in r6040_free_txbufs()
271 lp->tx_insert_ptr->skb_ptr = NULL; in r6040_free_txbufs()
283 if (lp->rx_insert_ptr->skb_ptr) { in r6040_free_rxbufs()
287 dev_kfree_skb(lp->rx_insert_ptr->skb_ptr); in r6040_free_rxbufs()
288 lp->rx_insert_ptr->skb_ptr = NULL; in r6040_free_rxbufs()
339 desc->skb_ptr = skb; in r6040_alloc_rxbufs()
341 desc->skb_ptr->data, in r6040_alloc_rxbufs()
513 struct sk_buff *skb_ptr, *new_skb; in r6040_rx() local
550 skb_ptr = descptr->skb_ptr; in r6040_rx()
551 skb_ptr->dev = priv->dev; in r6040_rx()
554 skb_put(skb_ptr, descptr->len - ETH_FCS_LEN); in r6040_rx()
557 skb_ptr->protocol = eth_type_trans(skb_ptr, priv->dev); in r6040_rx()
560 netif_receive_skb(skb_ptr); in r6040_rx()
565 descptr->skb_ptr = new_skb; in r6040_rx()
567 descptr->skb_ptr->data, in r6040_rx()
587 struct sk_buff *skb_ptr; in r6040_tx() local
603 skb_ptr = descptr->skb_ptr; in r6040_tx()
607 dev->stats.tx_bytes += skb_ptr->len; in r6040_tx()
610 skb_ptr->len, DMA_TO_DEVICE); in r6040_tx()
612 dev_kfree_skb(skb_ptr); in r6040_tx()
613 descptr->skb_ptr = NULL; in r6040_tx()
824 descptr->skb_ptr = skb; in r6040_start_xmit()