Home
last modified time | relevance | path

Searched refs:skb_new (Results 1 – 8 of 8) sorted by relevance

/drivers/net/wireless/intel/ipw2x00/
Dlibipw_tx.c342 struct sk_buff *skb_new = dev_alloc_skb(len); in libipw_xmit() local
344 if (unlikely(!skb_new)) in libipw_xmit()
347 skb_reserve(skb_new, crypt->ops->extra_msdu_prefix_len); in libipw_xmit()
348 skb_put_data(skb_new, &header, hdr_len); in libipw_xmit()
350 libipw_copy_snap(skb_put(skb_new, SNAP_SIZE + sizeof(u16)), in libipw_xmit()
352 skb_copy_from_linear_data(skb, skb_put(skb_new, skb->len), skb->len); in libipw_xmit()
353 res = crypt->ops->encrypt_msdu(skb_new, hdr_len, crypt->priv); in libipw_xmit()
356 dev_kfree_skb_any(skb_new); in libipw_xmit()
360 skb = skb_new; in libipw_xmit()
/drivers/infiniband/sw/siw/
Dsiw_qp_rx.c47 srx->skb_new -= copied; in siw_rx_umem()
63 srx->skb_new -= copied; in siw_rx_umem()
99 srx->skb_new -= copied; in siw_rx_umem()
122 srx->skb_new -= len; in siw_rx_kva()
450 data_bytes = min(srx->fpdu_part_rem, srx->skb_new); in siw_proc_send()
557 bytes = min(srx->fpdu_part_rem, srx->skb_new); in siw_proc_write()
851 bytes = min(srx->fpdu_part_rem, srx->skb_new); in siw_proc_rresp()
916 if (srx->skb_new < sizeof(struct iwarp_ctrl_tagged)) in siw_proc_terminate()
929 srx->skb_new -= to_copy; in siw_proc_terminate()
937 if (to_copy + MPA_CRC_SIZE > srx->skb_new) in siw_proc_terminate()
[all …]
Dsiw.h287 int skb_new; /* pending unread bytes in skb */ member
/drivers/net/wireless/realtek/rtw88/
Dfw.c1002 struct sk_buff *skb_new; in rtw_get_rsvd_page_skb() local
1006 skb_new = alloc_skb(1, GFP_KERNEL); in rtw_get_rsvd_page_skb()
1007 if (!skb_new) in rtw_get_rsvd_page_skb()
1010 skb_put(skb_new, 1); in rtw_get_rsvd_page_skb()
1011 return skb_new; in rtw_get_rsvd_page_skb()
1022 skb_new = ieee80211_beacon_get(hw, vif); in rtw_get_rsvd_page_skb()
1025 skb_new = ieee80211_pspoll_get(hw, vif); in rtw_get_rsvd_page_skb()
1028 skb_new = ieee80211_proberesp_get(hw, vif); in rtw_get_rsvd_page_skb()
1031 skb_new = ieee80211_nullfunc_get(hw, vif, false); in rtw_get_rsvd_page_skb()
1034 skb_new = ieee80211_nullfunc_get(hw, vif, true); in rtw_get_rsvd_page_skb()
[all …]
/drivers/net/ethernet/
Dkorina.c599 struct sk_buff *skb, *skb_new; in korina_rx() local
606 skb_new = NULL; in korina_rx()
638 skb_new = netdev_alloc_skb_ip_align(dev, KORINA_RBSIZE); in korina_rx()
639 if (!skb_new) in korina_rx()
642 ca = dma_map_single(lp->dmadev, skb_new->data, KORINA_RBSIZE, in korina_rx()
645 dev_kfree_skb_any(skb_new); in korina_rx()
666 lp->rx_skb[lp->rx_next_done] = skb_new; in korina_rx()
/drivers/net/ethernet/cavium/octeon/
Docteon_mgmt.c398 struct sk_buff *skb_new; in octeon_mgmt_receive_one() local
437 skb_new = skb_copy_expand(skb, 0, skb2->len, in octeon_mgmt_receive_one()
439 if (!skb_new) in octeon_mgmt_receive_one()
441 if (skb_copy_bits(skb2, 0, skb_tail_pointer(skb_new), in octeon_mgmt_receive_one()
444 skb_put(skb_new, skb2->len); in octeon_mgmt_receive_one()
447 skb = skb_new; in octeon_mgmt_receive_one()
/drivers/net/ethernet/freescale/
Dfec_main.c1455 struct sk_buff *skb_new = NULL; in fec_enet_rx_queue() local
1526 skb_new = netdev_alloc_skb(ndev, FEC_ENET_RX_FRSIZE); in fec_enet_rx_queue()
1527 if (unlikely(!skb_new)) { in fec_enet_rx_queue()
1602 rxq->rx_skbuff[index] = skb_new; in fec_enet_rx_queue()
1603 fec_enet_new_rxbdp(ndev, bdp, skb_new); in fec_enet_rx_queue()
/drivers/net/ethernet/sun/
Dniu.c6634 struct sk_buff *skb_new; in niu_start_xmit() local
6636 skb_new = skb_realloc_headroom(skb, len); in niu_start_xmit()
6637 if (!skb_new) in niu_start_xmit()
6640 skb = skb_new; in niu_start_xmit()