/drivers/net/wireless/prism54/ |
H A D | islpci_eth.c | 85 struct sk_buff *newskb; local 147 newskb = 149 if (unlikely(newskb == NULL)) { 154 newskb_offset = (4 - (long) newskb->data) & 0x03; 156 /* Check if newskb->data is aligned */ 158 skb_reserve(newskb, newskb_offset); 160 skb_put(newskb, init_wds ? skb->len + 6 : skb->len); 163 newskb->data + 6, 165 skb_copy_to_linear_data(newskb, wds_mac, 6); 170 skb_copy_from_linear_data(skb, newskb 266 struct sk_buff *newskb = skb_copy_expand(*skb, local [all...] |
/drivers/staging/rtl8188eu/os_dep/ |
H A D | xmit_linux.c | 177 struct sk_buff *newskb; local 195 newskb = skb_copy(skb, GFP_ATOMIC); 197 if (newskb) { 198 memcpy(newskb->data, psta->hwaddr, 6); 199 res = rtw_xmit(padapter, &newskb); 203 dev_kfree_skb_any(newskb);
|
/drivers/net/ieee802154/ |
H A D | fakelb.c | 76 struct sk_buff *newskb; local 80 newskb = pskb_copy(skb, GFP_ATOMIC); 81 ieee802154_rx_irqsafe(priv->dev, newskb, 0xcc);
|
/drivers/net/ethernet/seeq/ |
H A D | sgiseeq.c | 342 struct sk_buff *newskb; local 361 newskb = netdev_alloc_skb(dev, PKT_BUF_SZ); 362 if (!newskb) { 363 newskb = skb; 367 skb_reserve(newskb, 2); 373 newskb = rd->skb; 387 newskb = rd->skb; 391 newskb = rd->skb; 393 rd->skb = newskb; 395 newskb [all...] |
/drivers/net/wireless/ti/wl1251/ |
H A D | tx.c | 222 struct sk_buff *newskb = skb_copy_expand(skb, 0, 3, local 225 if (unlikely(newskb == NULL)) { 230 tx_hdr = (struct tx_double_buffer_desc *) newskb->data; 233 wl->tx_frames[tx_hdr->id] = skb = newskb;
|
/drivers/net/fddi/ |
H A D | defxx.c | 2942 struct sk_buff *newskb; local 2945 newskb = __netdev_alloc_skb(bp->dev, NEW_SKB_SIZE, 2947 if (!newskb) 2954 my_skb_align(newskb, 128); 2956 newskb->data, 2960 dev_kfree_skb(newskb); 2975 bp->p_rcv_buff_va[i+j] = (char *) newskb; 3080 struct sk_buff *newskb = NULL; local 3085 newskb = netdev_alloc_skb(bp->dev, 3087 if (newskb){ [all...] |
/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | sge.c | 842 struct sk_buff *newskb, *skb; local 847 newskb = skb = q->pg_skb; 849 newskb = alloc_skb(len, GFP_ATOMIC); 850 if (likely(newskb != NULL)) { 851 __skb_put(newskb, len); 854 memcpy(newskb->data, sd->pg_chunk.va, len); 864 return newskb; 873 newskb = alloc_skb(SGE_RX_PULL_LEN, GFP_ATOMIC); 875 if (unlikely(!newskb)) { 890 __skb_put(newskb, SGE_RX_PULL_LE [all...] |
/drivers/net/irda/ |
H A D | irda-usb.c | 803 struct sk_buff *newskb; local 883 newskb = dev_alloc_skb(docopy ? urb->actual_length : 887 newskb = dev_alloc_skb(docopy ? urb->actual_length : 890 if (!newskb) { 899 //skb_reserve(newskb, USB_IRDA_HEADER - 1); 903 skb_copy_from_linear_data(skb, newskb->data, urb->actual_length); 905 dataskb = newskb; 913 skb = newskb; 1234 //skb_reserve(newskb, USB_IRDA_HEADER - 1);
|
/drivers/net/ethernet/i825xx/ |
H A D | 82596.c | 784 struct sk_buff *newskb; local 787 newskb = netdev_alloc_skb(dev, PKT_BUF_SZ); 788 if (newskb == NULL) { 795 rbd->skb = newskb; 796 rbd->v_data = newskb->data; 797 rbd->b_data = WSWAPchar(virt_to_bus(newskb->data)); 799 cache_clear(virt_to_phys(newskb->data), PKT_BUF_SZ);
|
H A D | lib82596.c | 692 struct sk_buff *newskb; local 699 newskb = netdev_alloc_skb_ip_align(dev, 701 if (newskb == NULL) { 709 rbd->skb = newskb; 711 newskb->data, 714 rbd->v_data = newskb->data;
|
/drivers/s390/net/ |
H A D | ctcm_main.c | 926 struct sk_buff *newskb = NULL; local 947 newskb = __dev_alloc_skb(len, gfp_type() | GFP_DMA); 949 if (!newskb) { 961 newskb->protocol = skb->protocol; 962 skb_reserve(newskb, TH_HEADER_LENGTH + PDU_HEADER_LENGTH); 963 memcpy(skb_put(newskb, skb->len), skb->data, skb->len); 965 skb = newskb;
|
/drivers/net/ethernet/aeroflex/ |
H A D | greth.c | 860 struct sk_buff *skb, *newskb; local 898 if (!bad && (newskb=netdev_alloc_skb(dev, MAX_FRAME_SIZE + NET_IP_ALIGN))) { 899 skb_reserve(newskb, NET_IP_ALIGN); 902 newskb->data, 930 greth->rx_skbuff[greth->rx_cur] = newskb; 935 dev_kfree_skb(newskb);
|
/drivers/net/hippi/ |
H A D | rrunner.c | 974 struct sk_buff *newskb; local 976 newskb = alloc_skb(dev->mtu + HIPPI_HLEN, 978 if (newskb){ 986 rrpriv->rx_skbuff[index] = newskb; 988 newskb->data,
|
/drivers/net/ethernet/amd/ |
H A D | pcnet32.c | 1159 struct sk_buff *newskb; local 1162 newskb = netdev_alloc_skb(dev, PKT_BUF_SKB); 1167 if (newskb) { 1168 skb_reserve(newskb, NET_IP_ALIGN); 1170 newskb->data, 1176 dev_kfree_skb(newskb); 1185 lp->rx_skbuff[entry] = newskb;
|
/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_cm.c | 563 struct sk_buff *skb, *newskb; local 644 newskb = ipoib_cm_alloc_rx_skb(dev, rx_ring, wr_id, frags, 646 if (unlikely(!newskb)) { 662 skb_put_frags(skb, IPOIB_CM_HEAD_SIZE, wc->byte_len, newskb);
|
/drivers/net/wireless/ |
H A D | adm8211.c | 361 struct sk_buff *skb, *newskb; local 402 newskb = dev_alloc_skb(RX_PKT_SIZE); 403 if (newskb) { 410 priv->rx_buffers[entry].skb = newskb; 413 skb_tail_pointer(newskb),
|
/drivers/net/ethernet/freescale/ |
H A D | gianfar.c | 2807 struct sk_buff *newskb; local 2812 newskb = gfar_new_skb(dev); 2824 if (unlikely(!newskb || !(bdp->status & RXBD_LAST) || 2828 if (unlikely(!newskb)) 2829 newskb = skb; 2854 rx_queue->rx_skbuff[rx_queue->skb_currx] = newskb; 2857 gfar_new_rxbdp(rx_queue, bdp, newskb);
|
/drivers/net/ethernet/dec/tulip/ |
H A D | dmfe.c | 967 struct sk_buff *skb, *newskb; local 1020 ((newskb = netdev_alloc_skb(dev, rxlen + 2)) 1023 skb = newskb;
|