Lines Matching refs:nsb
1524 struct sk_buff *skb, *nsb; in lmc_rx() local
1588 nsb = dev_alloc_skb (LMC_PKT_BUF_SZ + 2); in lmc_rx()
1589 if (nsb) { in lmc_rx()
1590 sc->lmc_rxq[i] = nsb; in lmc_rx()
1591 nsb->dev = dev; in lmc_rx()
1592 sc->lmc_rxring[i].buffer1 = virt_to_bus(skb_tail_pointer(nsb)); in lmc_rx()
1629 nsb = dev_alloc_skb (LMC_PKT_BUF_SZ + 2); in lmc_rx()
1630 if (nsb) { in lmc_rx()
1631 sc->lmc_rxq[i] = nsb; in lmc_rx()
1632 nsb->dev = dev; in lmc_rx()
1633 sc->lmc_rxring[i].buffer1 = virt_to_bus(skb_tail_pointer(nsb)); in lmc_rx()
1652 nsb = dev_alloc_skb(len); in lmc_rx()
1653 if(!nsb) { in lmc_rx()
1656 skb_copy_from_linear_data(skb, skb_put(nsb, len), len); in lmc_rx()
1658 nsb->protocol = lmc_proto_type(sc, nsb); in lmc_rx()
1659 skb_reset_mac_header(nsb); in lmc_rx()
1661 nsb->dev = dev; in lmc_rx()
1662 lmc_proto_netif(sc, nsb); in lmc_rx()