Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/intel/ipw2x00/
H A 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()
/openbmc/linux/drivers/infiniband/sw/siw/
H A 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()
929 srx->skb_new -= to_copy; in siw_proc_terminate()
952 srx->skb_new -= to_copy; in siw_proc_terminate()
973 srx->skb_new -= avail; in siw_get_trailer()
1028 srx->skb_new -= bytes; in siw_get_hdr()
1096 srx->skb_new -= bytes; in siw_get_hdr()
1364 srx->skb_new = skb->len - off; in siw_tcp_rx_data()
[all …]
H A Dsiw.h288 int skb_new; /* pending unread bytes in skb */ member
/openbmc/linux/net/batman-adv/
H A Ddistributed-arp-table.c1145 struct sk_buff *skb_new; in batadv_dat_snoop_outgoing_arp_request() local
1199 skb_new = batadv_dat_arp_create_reply(bat_priv, ip_dst, ip_src, in batadv_dat_snoop_outgoing_arp_request()
1202 if (!skb_new) in batadv_dat_snoop_outgoing_arp_request()
1205 skb_new->protocol = eth_type_trans(skb_new, soft_iface); in batadv_dat_snoop_outgoing_arp_request()
1211 netif_rx(skb_new); in batadv_dat_snoop_outgoing_arp_request()
1239 struct sk_buff *skb_new; in batadv_dat_snoop_incoming_arp_request() local
1266 skb_new = batadv_dat_arp_create_reply(bat_priv, ip_dst, ip_src, in batadv_dat_snoop_incoming_arp_request()
1268 if (!skb_new) in batadv_dat_snoop_incoming_arp_request()
1276 err = batadv_send_skb_via_tt_4addr(bat_priv, skb_new, in batadv_dat_snoop_incoming_arp_request()
1280 err = batadv_send_skb_via_tt(bat_priv, skb_new, NULL, vid); in batadv_dat_snoop_incoming_arp_request()
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Dfw.c1125 struct sk_buff *skb_new; in rtw_get_rsvd_page_skb() local
1130 skb_new = alloc_skb(1, GFP_KERNEL); in rtw_get_rsvd_page_skb()
1131 if (!skb_new) in rtw_get_rsvd_page_skb()
1134 skb_put(skb_new, 1); in rtw_get_rsvd_page_skb()
1135 return skb_new; in rtw_get_rsvd_page_skb()
1162 skb_new = rtw_lps_pg_dpk_get(hw); in rtw_get_rsvd_page_skb()
1165 skb_new = rtw_lps_pg_info_get(hw); in rtw_get_rsvd_page_skb()
1175 if (skb_new) in rtw_get_rsvd_page_skb()
1179 skb_new = rtw_nlo_info_get(hw); in rtw_get_rsvd_page_skb()
1188 if (!skb_new) in rtw_get_rsvd_page_skb()
[all …]
/openbmc/linux/drivers/net/ethernet/
H A Dkorina.c600 struct sk_buff *skb, *skb_new; in korina_rx() local
607 skb_new = NULL; in korina_rx()
639 skb_new = netdev_alloc_skb_ip_align(dev, KORINA_RBSIZE); in korina_rx()
640 if (!skb_new) in korina_rx()
643 ca = dma_map_single(lp->dmadev, skb_new->data, KORINA_RBSIZE, in korina_rx()
646 dev_kfree_skb_any(skb_new); in korina_rx()
667 lp->rx_skb[lp->rx_next_done] = skb_new; in korina_rx()
/openbmc/linux/drivers/net/ethernet/cavium/octeon/
H A 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()
/openbmc/linux/drivers/net/ethernet/sun/
H A Dniu.c6652 struct sk_buff *skb_new; in niu_start_xmit() local
6654 skb_new = skb_realloc_headroom(skb, len); in niu_start_xmit()
6655 if (!skb_new) in niu_start_xmit()
6658 skb = skb_new; in niu_start_xmit()