Home
last modified time | relevance | path

Searched refs:skb_tailroom (Results 1 – 25 of 142) sorted by relevance

123456

/openbmc/linux/net/netfilter/
H A Dnf_nat_helper.c72 if (pskb_expand_head(skb, 0, extra - skb_tailroom(skb), GFP_ATOMIC)) in enlarge_skb()
102 rep_len - match_len > skb_tailroom(skb) && in __nf_nat_mangle_tcp_packet()
152 rep_len - match_len > skb_tailroom(skb) && in nf_nat_mangle_udp_packet()
H A Dxt_TCPMSS.c154 if (skb_tailroom(skb) < TCPOLEN_MSS) { in tcpmss_mangle_packet()
156 TCPOLEN_MSS - skb_tailroom(skb), in tcpmss_mangle_packet()
/openbmc/linux/drivers/bluetooth/
H A Dh4_recv.h111 if (skb_tailroom(skb) < dlen) { in h4_recv_buf()
122 if (skb_tailroom(skb) < dlen) { in h4_recv_buf()
H A Dhci_h4.c232 if (skb_tailroom(skb) < dlen) { in h4_recv_buf()
243 if (skb_tailroom(skb) < dlen) { in h4_recv_buf()
/openbmc/linux/lib/
H A Dnlattr.c947 if (unlikely(skb_tailroom(skb) < nla_total_size(attrlen))) in nla_reserve()
977 if (unlikely(skb_tailroom(skb) < len)) in nla_reserve_64bit()
996 if (unlikely(skb_tailroom(skb) < NLA_ALIGN(attrlen))) in nla_reserve_nohdr()
1074 if (unlikely(skb_tailroom(skb) < nla_total_size(attrlen))) in nla_put()
1102 if (unlikely(skb_tailroom(skb) < len)) in nla_put_64bit()
1121 if (unlikely(skb_tailroom(skb) < NLA_ALIGN(attrlen))) in nla_put_nohdr()
1140 if (unlikely(skb_tailroom(skb) < NLA_ALIGN(attrlen))) in nla_append()
/openbmc/linux/net/mac80211/
H A Dmesh.c267 if (skb_tailroom(skb) < 2 + meshconf_len) in mesh_add_meshconf_ie()
310 if (skb_tailroom(skb) < 2 + ifmsh->mesh_id_len) in mesh_add_meshid_ie()
334 if (skb_tailroom(skb) < 4) in mesh_add_awake_window_ie()
361 if (skb_tailroom(skb) < len) in mesh_add_vendor_ies()
385 if (skb_tailroom(skb) < len) in mesh_add_rsn_ie()
399 if (skb_tailroom(skb) < 3) in mesh_add_ds_params_ie()
439 if (skb_tailroom(skb) < 2 + sizeof(struct ieee80211_ht_cap)) in mesh_add_ht_cap_ie()
480 if (skb_tailroom(skb) < 2 + sizeof(struct ieee80211_ht_operation)) in mesh_add_ht_oper_ie()
511 if (skb_tailroom(skb) < 2 + sizeof(struct ieee80211_vht_cap)) in mesh_add_vht_cap_ie()
552 if (skb_tailroom(skb) < 2 + sizeof(struct ieee80211_vht_operation)) in mesh_add_vht_oper_ie()
[all …]
H A Dwpa.c70 if (WARN(skb_tailroom(skb) < tail || in ieee80211_tx_h_michael_mic_add()
74 skb_tailroom(skb), tail)) in ieee80211_tx_h_michael_mic_add()
219 if (WARN_ON(skb_tailroom(skb) < tail || in tkip_encrypt_skb()
452 if (WARN_ON(skb_tailroom(skb) < tail || in ccmp_encrypt_skb()
651 if (WARN_ON(skb_tailroom(skb) < tail || in gcmp_encrypt_skb()
841 if (WARN_ON(skb_tailroom(skb) < sizeof(*mmie))) in ieee80211_crypto_aes_cmac_encrypt()
888 if (WARN_ON(skb_tailroom(skb) < sizeof(*mmie))) in ieee80211_crypto_aes_cmac_256_encrypt()
1033 if (WARN_ON(skb_tailroom(skb) < sizeof(*mmie))) in ieee80211_crypto_aes_gmac_encrypt()
/openbmc/linux/drivers/staging/rtl8192e/
H A Drtllib_crypt_wep.c70 if (skb_headroom(skb) < 4 || skb_tailroom(skb) < 4 || in prism2_wep_encrypt()
73 skb_headroom(skb), skb_tailroom(skb), skb->len, hdr_len); in prism2_wep_encrypt()
H A Drtllib_crypt_tkip.c265 if (skb_headroom(skb) < 8 || skb_tailroom(skb) < 4 || in rtllib_tkip_encrypt()
508 if (skb_tailroom(skb) < 8 || skb->len < hdr_len) { in rtllib_michael_mic_add()
511 skb_tailroom(skb), hdr_len, skb->len); in rtllib_michael_mic_add()
/openbmc/linux/net/xfrm/
H A Dxfrm_ipcomp.c56 if (len > skb_tailroom(skb)) in ipcomp_decompress()
57 len = skb_tailroom(skb); in ipcomp_decompress()
/openbmc/linux/drivers/net/wan/
H A Dhdlc_raw_eth.c30 if (skb_tailroom(skb) < pad) in eth_tx()
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dce.c292 skb->len + skb_tailroom(skb), in ath12k_ce_rx_post_pipe()
307 skb->len + skb_tailroom(skb), in ath12k_ce_rx_post_pipe()
379 max_nbytes = skb->len + skb_tailroom(skb); in ath12k_ce_recv_process_cb()
736 skb->len + skb_tailroom(skb), DMA_FROM_DEVICE); in ath12k_ce_rx_pipe_cleanup()
/openbmc/linux/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt_tkip.c279 if (skb_headroom(skb) < 8 || skb_tailroom(skb) < 4 || in ieee80211_tkip_encrypt()
512 if (skb_tailroom(skb) < 8 || skb->len < hdr_len) { in ieee80211_michael_mic_add()
515 skb_tailroom(skb), hdr_len, skb->len); in ieee80211_michael_mic_add()
H A Dieee80211_crypt_wep.c76 if (skb_headroom(skb) < 4 || skb_tailroom(skb) < 4 || in prism2_wep_encrypt()
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dce.c341 skb->len + skb_tailroom(skb), in ath11k_ce_rx_post_pipe()
357 skb->len + skb_tailroom(skb), in ath11k_ce_rx_post_pipe()
429 max_nbytes = skb->len + skb_tailroom(skb); in ath11k_ce_recv_process_cb()
818 skb->len + skb_tailroom(skb), DMA_FROM_DEVICE); in ath11k_ce_rx_pipe_cleanup()
H A Ddp_rx.c387 skb->len + skb_tailroom(skb), in ath11k_dp_rxbufs_replenish()
424 dma_unmap_single(ab->dev, paddr, skb->len + skb_tailroom(skb), in ath11k_dp_rxbufs_replenish()
449 skb->len + skb_tailroom(skb), DMA_FROM_DEVICE); in ath11k_dp_rxdma_buf_ring_free()
1808 space_extra = msdu_len - (buf_first_len + skb_tailroom(first)); in ath11k_dp_rx_msdu_coalesce()
2693 msdu->len + skb_tailroom(msdu), in ath11k_dp_process_rx()
2869 skb->len + skb_tailroom(skb), in ath11k_dp_rx_alloc_mon_status_buf()
2885 dma_unmap_single(ab->dev, paddr, skb->len + skb_tailroom(skb), in ath11k_dp_rx_alloc_mon_status_buf()
2949 dma_unmap_single(ab->dev, paddr, skb->len + skb_tailroom(skb), in ath11k_dp_rx_mon_status_bufs_replenish()
3053 skb->len + skb_tailroom(skb), in ath11k_dp_rx_reap_mon_status_ring()
3083 skb->len + skb_tailroom(skb), in ath11k_dp_rx_reap_mon_status_ring()
[all …]
/openbmc/linux/net/802/
H A Dmrp.c335 if (skb_tailroom(app->pdu) < sizeof(*endmark)) in mrp_pdu_append_end_mark()
379 if (skb_tailroom(app->pdu) < sizeof(*mh)) in mrp_pdu_append_msg_hdr()
393 if (skb_tailroom(app->pdu) < sizeof(*vah) + attrlen) in mrp_pdu_append_vecattr_hdr()
445 if (skb_tailroom(app->pdu) < sizeof(u8)) in mrp_pdu_append_vecattr_event()
H A Dgarp.c243 if (skb_tailroom(app->pdu) < sizeof(u8)) in garp_pdu_append_end_mark()
279 if (skb_tailroom(app->pdu) < sizeof(*gm)) in garp_pdu_append_msg()
310 if (skb_tailroom(app->pdu) < len) in garp_pdu_append_attr()
/openbmc/linux/net/wireless/
H A Dlib80211_crypt_tkip.c341 if (skb_tailroom(skb) < 4 || skb->len < hdr_len) in lib80211_tkip_encrypt()
547 if (skb_tailroom(skb) < 8 || skb->len < hdr_len) { in lib80211_michael_mic_add()
550 skb_tailroom(skb), hdr_len, skb->len); in lib80211_michael_mic_add()
/openbmc/linux/drivers/net/usb/
H A Dgl620a.c141 int tailroom = skb_tailroom(skb); in genelink_tx_fixup()
H A Dint51x1.c60 int tailroom = skb_tailroom(skb); in int51x1_tx_fixup()
/openbmc/linux/drivers/staging/vt6656/
H A Dusbpipe.c391 skb_tailroom(rcb->skb)); in vnt_submit_rx_urb_complete()
412 skb_put(rcb->skb, skb_tailroom(rcb->skb)), in vnt_submit_rx_urb()
/openbmc/linux/net/mac802154/
H A Dtx.c63 if (unlikely(skb_tailroom(skb) < IEEE802154_FCS_LEN)) { in ieee802154_tx()
/openbmc/linux/drivers/nfc/
H A Dport100.c443 int skb_tailroom; member
970 skb = alloc_skb(dev->skb_headroom + dev->skb_tailroom + size, in port100_alloc_skb()
1549 dev->skb_tailroom = PORT100_FRAME_TAIL_LEN; in port100_probe()
1591 dev->skb_tailroom); in port100_probe()
/openbmc/linux/drivers/net/wireless/intersil/hostap/
H A Dhostap_80211_tx.c214 if (skb_tailroom(skb) < need_tailroom) { in hostap_data_start_xmit()
352 skb_tailroom(skb) < postfix_len) && in hostap_tx_encrypt()

123456