Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/wireless/intel/ipw2x00/
Dlibipw_tx.c341 struct sk_buff *skb_new = dev_alloc_skb(len); in libipw_xmit() local
343 if (unlikely(!skb_new)) in libipw_xmit()
346 skb_reserve(skb_new, crypt->ops->extra_msdu_prefix_len); in libipw_xmit()
347 skb_put_data(skb_new, &header, hdr_len); in libipw_xmit()
349 libipw_copy_snap(skb_put(skb_new, SNAP_SIZE + sizeof(u16)), in libipw_xmit()
351 skb_copy_from_linear_data(skb, skb_put(skb_new, skb->len), skb->len); in libipw_xmit()
352 res = crypt->ops->encrypt_msdu(skb_new, hdr_len, crypt->priv); in libipw_xmit()
355 dev_kfree_skb_any(skb_new); in libipw_xmit()
359 skb = skb_new; in libipw_xmit()
/linux-6.12.1/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()
464 data_bytes = min(srx->fpdu_part_rem, srx->skb_new); in siw_proc_send()
562 bytes = min(srx->fpdu_part_rem, srx->skb_new); in siw_proc_write()
847 bytes = min(srx->fpdu_part_rem, srx->skb_new); in siw_proc_rresp()
874 srx->skb_new -= length; in siw_update_skb_rcvd()
910 if (srx->skb_new < sizeof(struct iwarp_ctrl_tagged)) in siw_proc_terminate()
929 if (to_copy + MPA_CRC_SIZE > srx->skb_new) in siw_proc_terminate()
[all …]
Dsiw.h285 int skb_new; /* pending unread bytes in skb */ member
/linux-6.12.1/net/batman-adv/
Ddistributed-arp-table.c1144 struct sk_buff *skb_new; in batadv_dat_snoop_outgoing_arp_request() local
1198 skb_new = batadv_dat_arp_create_reply(bat_priv, ip_dst, ip_src, in batadv_dat_snoop_outgoing_arp_request()
1201 if (!skb_new) in batadv_dat_snoop_outgoing_arp_request()
1204 skb_new->protocol = eth_type_trans(skb_new, soft_iface); in batadv_dat_snoop_outgoing_arp_request()
1210 netif_rx(skb_new); in batadv_dat_snoop_outgoing_arp_request()
1238 struct sk_buff *skb_new; in batadv_dat_snoop_incoming_arp_request() local
1265 skb_new = batadv_dat_arp_create_reply(bat_priv, ip_dst, ip_src, in batadv_dat_snoop_incoming_arp_request()
1267 if (!skb_new) in batadv_dat_snoop_incoming_arp_request()
1275 err = batadv_send_skb_via_tt_4addr(bat_priv, skb_new, in batadv_dat_snoop_incoming_arp_request()
1279 err = batadv_send_skb_via_tt(bat_priv, skb_new, NULL, vid); in batadv_dat_snoop_incoming_arp_request()
/linux-6.12.1/drivers/net/wireless/realtek/rtw88/
Dfw.c1205 struct sk_buff *skb_new; in rtw_get_rsvd_page_skb() local
1210 skb_new = alloc_skb(1, GFP_KERNEL); in rtw_get_rsvd_page_skb()
1211 if (!skb_new) in rtw_get_rsvd_page_skb()
1214 skb_put(skb_new, 1); in rtw_get_rsvd_page_skb()
1215 return skb_new; in rtw_get_rsvd_page_skb()
1226 skb_new = ieee80211_beacon_get_tim(hw, vif, &tim_offset, NULL, 0); in rtw_get_rsvd_page_skb()
1230 skb_new = ieee80211_pspoll_get(hw, vif); in rtw_get_rsvd_page_skb()
1233 skb_new = ieee80211_proberesp_get(hw, vif); in rtw_get_rsvd_page_skb()
1236 skb_new = ieee80211_nullfunc_get(hw, vif, -1, false); in rtw_get_rsvd_page_skb()
1239 skb_new = ieee80211_nullfunc_get(hw, vif, -1, true); in rtw_get_rsvd_page_skb()
[all …]
/linux-6.12.1/drivers/net/ethernet/
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()
/linux-6.12.1/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()
/linux-6.12.1/drivers/net/ethernet/sun/
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()