Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/drivers/net/wireless/realtek/rtw88/
Dfw.c429 struct sk_buff *skb_new; in rtw_beacon_get() local
434 skb_new = alloc_skb(1, GFP_KERNEL); in rtw_beacon_get()
435 if (!skb_new) in rtw_beacon_get()
437 skb_put(skb_new, 1); in rtw_beacon_get()
439 skb_new = ieee80211_beacon_get(hw, vif); in rtw_beacon_get()
442 return skb_new; in rtw_beacon_get()
449 struct sk_buff *skb_new; in rtw_get_rsvd_page_skb() local
453 skb_new = rtw_beacon_get(hw, vif); in rtw_get_rsvd_page_skb()
456 skb_new = ieee80211_pspoll_get(hw, vif); in rtw_get_rsvd_page_skb()
459 skb_new = ieee80211_proberesp_get(hw, vif); in rtw_get_rsvd_page_skb()
[all …]
/Linux-v5.4/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()
449 data_bytes = min(srx->fpdu_part_rem, srx->skb_new); in siw_proc_send()
556 bytes = min(srx->fpdu_part_rem, srx->skb_new); in siw_proc_write()
842 bytes = min(srx->fpdu_part_rem, srx->skb_new); in siw_proc_rresp()
907 if (srx->skb_new < sizeof(struct iwarp_ctrl_tagged)) in siw_proc_terminate()
920 srx->skb_new -= to_copy; in siw_proc_terminate()
928 if (to_copy + MPA_CRC_SIZE > srx->skb_new) in siw_proc_terminate()
[all …]
Dsiw.h300 int skb_new; /* pending unread bytes in skb */ member
/Linux-v5.4/net/batman-adv/
Ddistributed-arp-table.c1197 struct sk_buff *skb_new; in batadv_dat_snoop_outgoing_arp_request() local
1251 skb_new = batadv_dat_arp_create_reply(bat_priv, ip_dst, ip_src, in batadv_dat_snoop_outgoing_arp_request()
1254 if (!skb_new) in batadv_dat_snoop_outgoing_arp_request()
1257 skb_new->protocol = eth_type_trans(skb_new, soft_iface); in batadv_dat_snoop_outgoing_arp_request()
1263 netif_rx(skb_new); in batadv_dat_snoop_outgoing_arp_request()
1292 struct sk_buff *skb_new; in batadv_dat_snoop_incoming_arp_request() local
1319 skb_new = batadv_dat_arp_create_reply(bat_priv, ip_dst, ip_src, in batadv_dat_snoop_incoming_arp_request()
1321 if (!skb_new) in batadv_dat_snoop_incoming_arp_request()
1329 err = batadv_send_skb_via_tt_4addr(bat_priv, skb_new, in batadv_dat_snoop_incoming_arp_request()
1333 err = batadv_send_skb_via_tt(bat_priv, skb_new, NULL, vid); in batadv_dat_snoop_incoming_arp_request()
/Linux-v5.4/drivers/net/ethernet/
Dkorina.c355 struct sk_buff *skb, *skb_new; in korina_rx() local
364 skb_new = NULL; in korina_rx()
405 skb_new = netdev_alloc_skb_ip_align(dev, KORINA_RBSIZE); in korina_rx()
407 if (!skb_new) in korina_rx()
422 lp->rx_skb[lp->rx_next_done] = skb_new; in korina_rx()
428 if (skb_new) in korina_rx()
429 rd->ca = CPHYSADDR(skb_new->data); in korina_rx()
/Linux-v5.4/drivers/net/ethernet/cavium/octeon/
Docteon_mgmt.c394 struct sk_buff *skb_new; in octeon_mgmt_receive_one() local
433 skb_new = skb_copy_expand(skb, 0, skb2->len, in octeon_mgmt_receive_one()
435 if (!skb_new) in octeon_mgmt_receive_one()
437 if (skb_copy_bits(skb2, 0, skb_tail_pointer(skb_new), in octeon_mgmt_receive_one()
440 skb_put(skb_new, skb2->len); in octeon_mgmt_receive_one()
443 skb = skb_new; in octeon_mgmt_receive_one()
/Linux-v5.4/drivers/net/ethernet/freescale/
Dfec_main.c1365 struct sk_buff *skb_new = NULL; in fec_enet_rx_queue() local
1437 skb_new = netdev_alloc_skb(ndev, FEC_ENET_RX_FRSIZE); in fec_enet_rx_queue()
1438 if (unlikely(!skb_new)) { in fec_enet_rx_queue()
1512 rxq->rx_skbuff[index] = skb_new; in fec_enet_rx_queue()
1513 fec_enet_new_rxbdp(ndev, bdp, skb_new); in fec_enet_rx_queue()
Dgianfar.c1828 struct sk_buff *skb_new; in gfar_start_xmit() local
1830 skb_new = skb_realloc_headroom(skb, fcb_len); in gfar_start_xmit()
1831 if (!skb_new) { in gfar_start_xmit()
1838 skb_set_owner_w(skb_new, skb->sk); in gfar_start_xmit()
1840 skb = skb_new; in gfar_start_xmit()
/Linux-v5.4/drivers/net/ethernet/sun/
Dniu.c6636 struct sk_buff *skb_new; in niu_start_xmit() local
6638 skb_new = skb_realloc_headroom(skb, len); in niu_start_xmit()
6639 if (!skb_new) in niu_start_xmit()
6642 skb = skb_new; in niu_start_xmit()