/drivers/net/usb/ |
D | cdc_eem.c | 107 struct sk_buff *skb2 = NULL; in eem_tx_fixup() local 140 skb2 = skb_copy_expand(skb, EEM_HEAD, ETH_FCS_LEN + padlen, flags); in eem_tx_fixup() 141 if (!skb2) in eem_tx_fixup() 145 skb = skb2; in eem_tx_fixup() 183 struct sk_buff *skb2 = NULL; in eem_rx_fixup() local 232 skb2 = skb_clone(skb, GFP_ATOMIC); in eem_rx_fixup() 233 if (unlikely(!skb2)) in eem_rx_fixup() 235 skb_trim(skb2, len); in eem_rx_fixup() 237 skb_push(skb2, 2)); in eem_rx_fixup() 238 eem_linkcmd(dev, skb2); in eem_rx_fixup() [all …]
|
D | cx82310_eth.c | 206 struct sk_buff *skb2; in cx82310_rx_fixup() local 214 skb2 = alloc_skb(len, GFP_ATOMIC); in cx82310_rx_fixup() 215 if (!skb2) in cx82310_rx_fixup() 217 skb_put(skb2, len); in cx82310_rx_fixup() 218 memcpy(skb2->data, (void *)dev->partial_data, in cx82310_rx_fixup() 220 memcpy(skb2->data + dev->partial_len, skb->data, in cx82310_rx_fixup() 222 usbnet_skb_return(dev, skb2); in cx82310_rx_fixup() 257 skb2 = alloc_skb(len, GFP_ATOMIC); in cx82310_rx_fixup() 258 if (!skb2) in cx82310_rx_fixup() 260 skb_put(skb2, len); in cx82310_rx_fixup() [all …]
|
D | kalmia.c | 168 struct sk_buff *skb2 = NULL; in kalmia_tx_fixup() local 191 skb2 = skb_copy_expand(skb, KALMIA_HEADER_LENGTH, in kalmia_tx_fixup() 193 if (!skb2) in kalmia_tx_fixup() 197 skb = skb2; in kalmia_tx_fixup() 250 struct sk_buff *skb2 = NULL; in kalmia_rx_fixup() local 308 skb2 = skb; in kalmia_rx_fixup() 311 skb2 = skb_clone(skb, GFP_ATOMIC); in kalmia_rx_fixup() 312 if (unlikely(!skb2)) in kalmia_rx_fixup() 316 skb_trim(skb2, ether_packet_length); in kalmia_rx_fixup() 322 usbnet_skb_return(dev, skb2); in kalmia_rx_fixup()
|
D | rndis_host.c | 502 struct sk_buff *skb2; in rndis_rx_fixup() local 528 skb2 = skb_clone(skb, GFP_ATOMIC); in rndis_rx_fixup() 529 if (unlikely(!skb2)) in rndis_rx_fixup() 532 skb_trim(skb2, data_len); in rndis_rx_fixup() 533 usbnet_skb_return(dev, skb2); in rndis_rx_fixup() 545 struct sk_buff *skb2; in rndis_tx_fixup() local 566 skb2 = skb_copy_expand(skb, sizeof *hdr, 1, flags); in rndis_tx_fixup() 568 if (unlikely(!skb2)) in rndis_tx_fixup() 569 return skb2; in rndis_tx_fixup() 570 skb = skb2; in rndis_tx_fixup()
|
D | int51x1.c | 94 struct sk_buff *skb2; in int51x1_tx_fixup() local 96 skb2 = skb_copy_expand(skb, in int51x1_tx_fixup() 101 if (!skb2) in int51x1_tx_fixup() 103 skb = skb2; in int51x1_tx_fixup()
|
D | gl620a.c | 169 struct sk_buff *skb2; in genelink_tx_fixup() local 170 skb2 = skb_copy_expand(skb, (4 + 4*1) , padlen, flags); in genelink_tx_fixup() 172 skb = skb2; in genelink_tx_fixup()
|
D | net1080.c | 438 struct sk_buff *skb2; in net1080_tx_fixup() local 467 skb2 = skb_copy_expand(skb, in net1080_tx_fixup() 472 if (!skb2) in net1080_tx_fixup() 473 return skb2; in net1080_tx_fixup() 474 skb = skb2; in net1080_tx_fixup()
|
D | zaurus.c | 60 struct sk_buff *skb2; in zaurus_tx_fixup() local 68 skb2 = skb_copy_expand(skb, 0, 4 + padlen, flags); in zaurus_tx_fixup() 70 skb = skb2; in zaurus_tx_fixup()
|
D | sr9700.c | 460 struct sk_buff *skb2; in sr9700_tx_fixup() local 462 skb2 = skb_copy_expand(skb, SR_TX_OVERHEAD, 0, flags); in sr9700_tx_fixup() 464 skb = skb2; in sr9700_tx_fixup()
|
D | dm9601.c | 497 struct sk_buff *skb2; in dm9601_tx_fixup() local 499 skb2 = skb_copy_expand(skb, DM_TX_OVERHEAD, pad, flags); in dm9601_tx_fixup() 501 skb = skb2; in dm9601_tx_fixup()
|
D | asix_common.c | 172 struct sk_buff *skb2; in asix_tx_fixup() local 174 skb2 = skb_copy_expand(skb, 4, padlen, flags); in asix_tx_fixup() 176 skb = skb2; in asix_tx_fixup()
|
D | sr9800.c | 128 struct sk_buff *skb2; in sr_tx_fixup() local 129 skb2 = skb_copy_expand(skb, 4, padlen, flags); in sr_tx_fixup() 131 skb = skb2; in sr_tx_fixup()
|
/drivers/usb/gadget/function/ |
D | f_eem.c | 352 struct sk_buff *skb2 = NULL; in eem_wrap() local 370 skb2 = skb_copy_expand(skb, EEM_HLEN, ETH_FCS_LEN + padlen, GFP_ATOMIC); in eem_wrap() 372 skb = skb2; in eem_wrap() 407 struct sk_buff *skb2; in eem_unwrap() local 447 skb2 = skb_clone(skb, GFP_ATOMIC); in eem_unwrap() 448 if (unlikely(!skb2)) { in eem_unwrap() 452 skb_trim(skb2, len); in eem_unwrap() 454 skb_push(skb2, 2)); in eem_unwrap() 455 skb_copy_bits(skb2, 0, req->buf, skb2->len); in eem_unwrap() 456 req->length = skb2->len; in eem_unwrap() [all …]
|
D | f_ncm.c | 895 struct sk_buff *skb2 = NULL; in package_for_tx() local 929 swap(skb2, ncm->skb_tx_data); in package_for_tx() 936 ntb_iter = (void *) skb_put(skb2, ndp_pad); in package_for_tx() 940 ntb_iter = (void *) skb_put(skb2, ncm->skb_tx_ndp->len); in package_for_tx() 946 ntb_iter = (void *) skb_put(skb2, dgram_idx_len); in package_for_tx() 949 return skb2; in package_for_tx() 956 struct sk_buff *skb2 = NULL; in ncm_wrap_ntb() local 996 skb2 = package_for_tx(ncm); in ncm_wrap_ntb() 997 if (!skb2) in ncm_wrap_ntb() 1071 skb2 = package_for_tx(ncm); in ncm_wrap_ntb() [all …]
|
D | f_rndis.c | 385 struct sk_buff *skb2; in rndis_add_header() local 387 skb2 = skb_realloc_headroom(skb, sizeof(struct rndis_packet_msg_type)); in rndis_add_header() 388 if (skb2) in rndis_add_header() 389 rndis_add_hdr(skb2); in rndis_add_header() 392 return skb2; in rndis_add_header()
|
D | rndis.c | 1056 struct sk_buff *skb2; in rndis_rm_hdr() local 1100 skb2 = skb_clone(skb, GFP_ATOMIC); in rndis_rm_hdr() 1101 if (!skb2) { in rndis_rm_hdr() 1108 skb_trim(skb2, data_len); in rndis_rm_hdr() 1109 skb_queue_tail(list, skb2); in rndis_rm_hdr()
|
/drivers/net/team/ |
D | team_mode_broadcast.c | 23 struct sk_buff *skb2; in bc_transmit() local 30 skb2 = skb_clone(skb, GFP_ATOMIC); in bc_transmit() 31 if (skb2) { in bc_transmit() 33 skb2); in bc_transmit()
|
/drivers/net/wireless/hostap/ |
D | hostap_80211_rx.c | 482 struct sk_buff *skb2; in hostap_rx_frame_mgmt() local 485 skb2 = skb_clone(skb, GFP_ATOMIC); in hostap_rx_frame_mgmt() 486 if (skb2) in hostap_rx_frame_mgmt() 487 hostap_rx(skb2->dev, skb2, rx_stats); in hostap_rx_frame_mgmt() 728 struct sk_buff *skb2 = NULL; in hostap_80211_rx() local 1075 skb2 = skb_clone(skb, GFP_ATOMIC); in hostap_80211_rx() 1076 if (skb2 == NULL) in hostap_80211_rx() 1083 skb2 = skb; in hostap_80211_rx() 1088 if (skb2 != NULL) { in hostap_80211_rx() 1090 skb2->dev = dev; in hostap_80211_rx() [all …]
|
/drivers/net/wireless/ipw2x00/ |
D | libipw_rx.c | 186 struct sk_buff *skb2; in libipw_rx_frame_mgmt() local 189 skb2 = skb_clone(skb, GFP_ATOMIC); in libipw_rx_frame_mgmt() 190 if (skb2) in libipw_rx_frame_mgmt() 191 hostap_rx(skb2->dev, skb2, rx_stats); in libipw_rx_frame_mgmt() 344 struct sk_buff *skb2 = NULL; in libipw_rx() local 779 skb2 = skb_clone(skb, GFP_ATOMIC); in libipw_rx() 780 if (skb2 == NULL) in libipw_rx() 787 skb2 = skb; in libipw_rx() 792 if (skb2 != NULL) { in libipw_rx() 794 skb2->dev = dev; in libipw_rx() [all …]
|
/drivers/net/ethernet/octeon/ |
D | octeon_mgmt.c | 394 struct sk_buff *skb2; in octeon_mgmt_receive_one() local 429 re2.d64 = octeon_mgmt_dequeue_rx_buffer(p, &skb2); in octeon_mgmt_receive_one() 433 skb_put(skb2, re2.s.len); in octeon_mgmt_receive_one() 434 skb_new = skb_copy_expand(skb, 0, skb2->len, in octeon_mgmt_receive_one() 438 if (skb_copy_bits(skb2, 0, skb_tail_pointer(skb_new), in octeon_mgmt_receive_one() 439 skb2->len)) in octeon_mgmt_receive_one() 441 skb_put(skb_new, skb2->len); in octeon_mgmt_receive_one() 443 dev_kfree_skb_any(skb2); in octeon_mgmt_receive_one() 458 dev_kfree_skb_any(skb2); in octeon_mgmt_receive_one() 460 re2.d64 = octeon_mgmt_dequeue_rx_buffer(p, &skb2); in octeon_mgmt_receive_one() [all …]
|
/drivers/isdn/pcbit/ |
D | drv.c | 472 struct sk_buff *skb2; in pcbit_l3_receive() local 491 if (capi_tdata_resp(chan, &skb2) > 0) in pcbit_l3_receive() 493 skb2, skb2->len); in pcbit_l3_receive() 537 if ((len = capi_disc_req(*(ushort *)(skb->data), &skb2, CAUSE_NOCHAN)) > 0) in pcbit_l3_receive() 538 pcbit_l2_write(dev, MSG_DISC_REQ, refnum, skb2, len); in pcbit_l3_receive()
|
/drivers/net/wan/ |
D | z85230.c | 800 c->skb2 = NULL; in z8530_sync_open() 866 c->skb2 = NULL; in z8530_sync_dma_open() 1061 c->skb2 = NULL; in z8530_sync_txdma_open() 1668 c->skb = c->skb2; in z8530_rx_done() 1680 c->skb2 = dev_alloc_skb(c->mtu); in z8530_rx_done() 1681 if (c->skb2 == NULL) in z8530_rx_done() 1684 skb_put(c->skb2, c->mtu); in z8530_rx_done()
|
/drivers/staging/gdm72xx/ |
D | gdm_wimax.c | 62 struct sk_buff *skb2; in gdm_wimax_header() local 64 skb2 = skb_realloc_headroom(skb, HCI_HEADER_SIZE); in gdm_wimax_header() 65 if (skb2 == NULL) in gdm_wimax_header() 68 skb_set_owner_w(skb2, skb->sk); in gdm_wimax_header() 70 skb = skb2; in gdm_wimax_header()
|
/drivers/net/wireless/ath/wil6210/ |
D | txrx.c | 785 struct sk_buff *skb2; in wil_tx_bcast() local 819 skb2 = skb_copy(skb, GFP_ATOMIC); in wil_tx_bcast() 820 if (skb2) { in wil_tx_bcast() 822 wil_set_da_for_vring(wil, skb2, i); in wil_tx_bcast() 823 wil_tx_vring(wil, v2, skb2); in wil_tx_bcast()
|
/drivers/net/ethernet/qlogic/ |
D | qla3xxx.c | 2045 struct sk_buff *skb1 = NULL, *skb2; in ql_process_macip_rx_intr() local 2067 skb2 = lrg_buf_cb2->skb; in ql_process_macip_rx_intr() 2069 skb_put(skb2, length); /* Just the second buffer length here. */ in ql_process_macip_rx_intr() 2074 prefetch(skb2->data); in ql_process_macip_rx_intr() 2076 skb_checksum_none_assert(skb2); in ql_process_macip_rx_intr() 2083 skb_push(skb2, size), size); in ql_process_macip_rx_intr() 2097 skb2->ip_summed = CHECKSUM_UNNECESSARY; in ql_process_macip_rx_intr() 2100 skb2->protocol = eth_type_trans(skb2, qdev->ndev); in ql_process_macip_rx_intr() 2102 netif_receive_skb(skb2); in ql_process_macip_rx_intr()
|