/linux-4.1.27/include/linux/ |
H A D | virtio_caif.h | 14 u16 headroom; member in struct:virtio_caif_transf_config
|
H A D | ppp_channel.h | 41 int hdrlen; /* amount of headroom channel needs */
|
H A D | skbuff.h | 837 struct sk_buff *__pskb_copy_fclone(struct sk_buff *skb, int headroom, 839 static inline struct sk_buff *__pskb_copy(struct sk_buff *skb, int headroom, __pskb_copy() argument 842 return __pskb_copy_fclone(skb, headroom, gfp_mask, false); __pskb_copy() 847 unsigned int headroom); 1771 * skb_reserve - adjust headroom 1775 * Increase the headroom of an empty &sk_buff by reducing the tail 2011 * The networking layer reserves some headroom in skb data (via 2016 * Unfortunately this headroom changes the DMA alignment of the resulting 2023 * headroom, you should not reduce this. 2142 * buffer has unspecified headroom built in. Users should allocate 2143 * the headroom they think they need without accounting for the 2415 static inline int __skb_cow(struct sk_buff *skb, unsigned int headroom, __skb_cow() argument 2420 if (headroom > skb_headroom(skb)) __skb_cow() 2421 delta = headroom - skb_headroom(skb); __skb_cow() 2432 * @headroom: needed headroom 2434 * If the skb passed lacks sufficient headroom or its data part 2439 * and at least @headroom of space at head. 2441 static inline int skb_cow(struct sk_buff *skb, unsigned int headroom) skb_cow() argument 2443 return __skb_cow(skb, headroom, skb_cloned(skb)); skb_cow() 2449 * @headroom: needed headroom 2456 static inline int skb_cow_head(struct sk_buff *skb, unsigned int headroom) skb_cow_head() argument 2458 return __skb_cow(skb, headroom, skb_header_cloned(skb)); skb_cow_head() 3335 int new_headroom, headroom; gso_pskb_expand_head() local 3338 headroom = skb_headroom(skb); gso_pskb_expand_head() 3344 SKB_GSO_CB(skb)->mac_offset += (new_headroom - headroom); gso_pskb_expand_head()
|
H A D | netdevice.h | 1377 * @needed_headroom: Extra headroom the hardware may need, but not in all
|
/linux-4.1.27/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.h | 22 /* for TX: a skb must have a headroom of at least TX_HEADER_LEN bytes */
|
/linux-4.1.27/net/decnet/ |
H A D | dn_neigh.c | 213 int headroom = dev->hard_header_len + sizeof(struct dn_long_packet) + 3; dn_long_output() local 219 if (skb_headroom(skb) < headroom) { dn_long_output() 220 struct sk_buff *skb2 = skb_realloc_headroom(skb, headroom); dn_long_output() 228 net_info_ratelimited("dn_long_output: Increasing headroom\n"); dn_long_output() 260 int headroom = dev->hard_header_len + sizeof(struct dn_short_packet) + 2; dn_short_output() local 266 if (skb_headroom(skb) < headroom) { dn_short_output() 267 struct sk_buff *skb2 = skb_realloc_headroom(skb, headroom); dn_short_output() 275 net_info_ratelimited("dn_short_output: Increasing headroom\n"); dn_short_output() 302 int headroom = dev->hard_header_len + sizeof(struct dn_short_packet) + 2; dn_phase3_output() local 307 if (skb_headroom(skb) < headroom) { dn_phase3_output() 308 struct sk_buff *skb2 = skb_realloc_headroom(skb, headroom); dn_phase3_output() 316 net_info_ratelimited("dn_phase3_output: Increasing headroom\n"); dn_phase3_output()
|
/linux-4.1.27/net/ax25/ |
H A D | ax25_out.c | 334 int headroom; ax25_transmit_buffer() local 341 headroom = ax25_addr_size(ax25->digipeat); ax25_transmit_buffer() 343 if (skb_headroom(skb) < headroom) { ax25_transmit_buffer() 344 if ((skbn = skb_realloc_headroom(skb, headroom)) == NULL) { ax25_transmit_buffer() 357 ptr = skb_push(skb, headroom); ax25_transmit_buffer()
|
/linux-4.1.27/drivers/net/usb/ |
H A D | int51x1.c | 70 int headroom = skb_headroom(skb); int51x1_tx_fixup() local 87 (headroom + tailroom >= need_tail + INT51X1_HEADER_SIZE)) { int51x1_tx_fixup() 88 if (headroom < INT51X1_HEADER_SIZE || tailroom < need_tail) { int51x1_tx_fixup()
|
H A D | asix_common.c | 143 int headroom = skb_headroom(skb); asix_tx_fixup() local 154 * - We are allowed to push 4 bytes in headroom if skb_header_cloned() asix_tx_fixup() 155 * is false (and if we have 4 bytes of headroom) asix_tx_fixup() 160 * was called in tcp stack, allowing us to use headroom for our needs. asix_tx_fixup() 164 headroom + tailroom >= 4 + padlen) { asix_tx_fixup() 166 if (headroom < 4 || asix_tx_fixup()
|
H A D | gl620a.c | 153 int headroom = skb_headroom(skb); genelink_tx_fixup() local 162 && ((headroom + tailroom) >= (padlen + (4 + 4*1)))) { genelink_tx_fixup() 163 if ((headroom < (4 + 4*1)) || (tailroom < padlen)) { genelink_tx_fixup()
|
H A D | cdc_eem.c | 122 int headroom = skb_headroom(skb); eem_tx_fixup() local 126 (headroom >= EEM_HEAD)) eem_tx_fixup() 129 if ((headroom + tailroom) eem_tx_fixup()
|
H A D | kalmia.c | 175 int headroom = skb_headroom(skb); kalmia_tx_fixup() local 178 if ((tailroom >= KALMIA_ALIGN_SIZE) && (headroom kalmia_tx_fixup() 182 if ((headroom + tailroom) > (KALMIA_HEADER_LENGTH kalmia_tx_fixup()
|
H A D | lg-vl600.c | 267 int headroom = skb_headroom(skb); vl600_tx_fixup() local 271 headroom >= sizeof(*frame)) vl600_tx_fixup() 275 if (headroom + tailroom + skb->len >= full_len) { vl600_tx_fixup()
|
H A D | net1080.c | 447 int headroom = skb_headroom(skb); net1080_tx_fixup() local 451 sizeof(struct nc_header) <= headroom) net1080_tx_fixup() 456 (headroom + tailroom)) { net1080_tx_fixup()
|
H A D | sr9800.c | 113 int headroom = skb_headroom(skb); sr_tx_fixup() local 121 if ((!skb_cloned(skb)) && ((headroom + tailroom) >= (4 + padlen))) { sr_tx_fixup() 122 if ((headroom < 4) || (tailroom < padlen)) { sr_tx_fixup()
|
H A D | ax88179_178a.c | 1429 int headroom; ax88179_tx_fixup() local 1436 headroom = skb_headroom(skb) - 8; ax88179_tx_fixup() 1438 if ((skb_header_cloned(skb) || headroom < 0) && ax88179_tx_fixup() 1439 pskb_expand_head(skb, headroom < 0 ? 8 : 0, 0, GFP_ATOMIC)) { ax88179_tx_fixup()
|
H A D | sierra_net.c | 893 } /* headroom */ sierra_net_tx_fixup()
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
H A D | 11n_aggr.c | 105 int headroom = (priv->adapter->iface_type == mwifiex_11n_form_amsdu_txpd() local 109 headroom - NULL) & (MWIFIEX_DMA_ALIGN_SZ - 1); mwifiex_11n_form_amsdu_txpd() 177 int headroom = adapter->iface_type == MWIFIEX_USB ? 0 : INTF_HEADER_LEN; variable 253 skb_push(skb_aggr, headroom);
|
H A D | uap_txrx.c | 157 "data: Tx: insufficient skb headroom %d\n", mwifiex_uap_queue_bridged_pkt() 159 /* Insufficient skb headroom - allocate a new skb */ mwifiex_uap_queue_bridged_pkt() 172 dev_dbg(priv->adapter->dev, "info: new skb headroom %d\n", mwifiex_uap_queue_bridged_pkt()
|
H A D | main.c | 734 "data: Tx: insufficient skb headroom %d\n", mwifiex_hard_start_xmit() 736 /* Insufficient skb headroom - allocate a new skb */ mwifiex_hard_start_xmit()
|
/linux-4.1.27/drivers/scsi/cxgbi/cxgb3i/ |
H A D | cxgb3i.h | 21 /*for TX: a skb must have a headroom of at least TX_HEADER_LEN bytes */
|
/linux-4.1.27/include/net/caif/ |
H A D | caif_dev.h | 56 * @headroom: Head room needed by CAIF protocol. 70 int *headroom, int *tailroom);
|
/linux-4.1.27/net/caif/ |
H A D | chnl_net.c | 266 int llifindex, headroom, tailroom, mtu; chnl_net_open() local 279 &headroom, &tailroom); chnl_net_open() 297 dev->hard_header_len = headroom + lldev->hard_header_len + chnl_net_open() 307 mtu = min_t(int, dev->mtu, lldev->mtu - (headroom + tailroom)); chnl_net_open()
|
H A D | caif_socket.c | 53 int headroom, tailroom, maxframe; member in struct:caifsock 566 buffer_size = len + cf_sk->headroom + cf_sk->tailroom; caif_seqpkt_sendmsg() 574 skb_reserve(skb, cf_sk->headroom); caif_seqpkt_sendmsg() 634 size + cf_sk->headroom + caif_stream_sendmsg() 641 skb_reserve(skb, cf_sk->headroom); caif_stream_sendmsg() 754 int ifindex, headroom, tailroom; caif_connect() local 832 &cf_sk->layer, &ifindex, &headroom, &tailroom); caif_connect() 847 cf_sk->headroom = LL_RESERVED_SPACE_EXTRA(dev, headroom); caif_connect() 852 cf_sk->maxframe = mtu - (headroom + tailroom); caif_connect()
|
H A D | cfpkt_skbuff.c | 230 PKT_ERROR(pkt, "no headroom\n"); cfpkt_add_head()
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
H A D | wmi.c | 298 u16 headroom = sizeof(struct htc_frame_hdr) + ath9k_wmi_cmd() local 307 skb = alloc_skb(headroom + cmd_len, GFP_ATOMIC); ath9k_wmi_cmd() 311 skb_reserve(skb, headroom); ath9k_wmi_cmd()
|
/linux-4.1.27/arch/arm/crypto/ |
H A D | aesbs-glue.c | 218 u32 headroom = UINT_MAX - be32_to_cpu(ctr[3]); aesbs_ctr_encrypt() local 221 if (unlikely(headroom < blocks)) { aesbs_ctr_encrypt() 222 blocks = headroom + 1; aesbs_ctr_encrypt()
|
/linux-4.1.27/arch/tile/gxio/ |
H A D | mpipe.c | 300 rule->headroom = 2; gxio_mpipe_rules_begin() 361 int gxio_mpipe_rules_set_headroom(gxio_mpipe_rules_t *rules, uint8_t headroom) gxio_mpipe_rules_set_headroom() argument 372 rule->headroom = headroom; gxio_mpipe_rules_set_headroom()
|
/linux-4.1.27/drivers/net/wireless/p54/ |
H A D | p54.h | 55 u8 headroom; member in struct:bootrec_desc 182 u8 headroom; member in struct:p54_common
|
H A D | fwio.c | 88 priv->headroom = desc->headroom; p54_parse_firmware()
|
H A D | txrx.c | 91 u16 len = priv->headroom + skb->len + priv->tailroom + 3; p54_assign_address() 140 data->req_id = cpu_to_le32(target_addr + priv->headroom); p54_assign_address()
|
/linux-4.1.27/drivers/staging/rtl8192e/ |
H A D | rtllib_crypt_wep.c | 88 /* Perform WEP encryption on given skb that has at least 4 bytes of headroom 109 pr_err("Error!!! headroom=%d tailroom=%d skblen=%d hdr_len=%d\n", prism2_wep_encrypt()
|
/linux-4.1.27/net/wireless/ |
H A D | lib80211_crypt_wep.c | 90 /* Add WEP IV/key info to a frame that has at least 4 bytes of headroom */ lib80211_wep_build_iv() 127 /* Perform WEP encryption on given skb that has at least 4 bytes of headroom
|
/linux-4.1.27/drivers/net/wireless/ipw2x00/ |
H A D | libipw_tx.c | 192 int headroom, gfp_t gfp_mask) libipw_alloc_txb() 206 txb->fragments[i] = __dev_alloc_skb(txb_size + headroom, libipw_alloc_txb() 212 skb_reserve(txb->fragments[i], headroom); libipw_alloc_txb() 191 libipw_alloc_txb(int nr_frags, int txb_size, int headroom, gfp_t gfp_mask) libipw_alloc_txb() argument
|
/linux-4.1.27/drivers/net/caif/ |
H A D | caif_virtio.c | 86 * @tx_hr: transmit headroom 87 * @rx_hr: receive headroom 688 virtio_cread(vdev, struct virtio_caif_transf_config, headroom, cfv_probe() 690 virtio_cread(vdev, struct virtio_caif_transf_config, headroom, cfv_probe()
|
/linux-4.1.27/net/core/ |
H A D | skbuff.c | 195 * Allocate a new &sk_buff. The returned buffer has no headroom and a 478 * buffer has unspecified headroom built in. Users should allocate 479 * the headroom they think they need without accounting for the 520 * buffer has NET_SKB_PAD headroom built in. Users should allocate 521 * the headroom they think they need without accounting for the 1090 * @headroom: headroom of new skb 1104 struct sk_buff *__pskb_copy_fclone(struct sk_buff *skb, int headroom, __pskb_copy_fclone() argument 1107 unsigned int size = skb_headlen(skb) + headroom; __pskb_copy_fclone() 1115 skb_reserve(n, headroom); __pskb_copy_fclone() 1244 /* Make private copy of skb with writable head and some headroom */ 1246 struct sk_buff *skb_realloc_headroom(struct sk_buff *skb, unsigned int headroom) skb_realloc_headroom() argument 1249 int delta = headroom - skb_headroom(skb); skb_realloc_headroom() 1420 * start. If this would exceed the total buffer headroom the kernel will 1439 * the memory to the headroom. A pointer to the next data in the buffer 2233 * skb_zerocopy_headlen - Calculate headroom needed for skb_zerocopy() 2236 * Calculates the amount of linear headroom needed in the 'to' skb passed 2261 * @hlen: size of linear headroom in destination buffer 2267 * headroom in the `to` buffer. 3011 unsigned int headroom; skb_segment() local 3030 headroom = skb_headroom(head_skb); skb_segment() 3083 if (skb_cow_head(nskb, doffset + headroom)) { skb_segment() 3092 nskb = __alloc_skb(hsize + doffset + headroom, skb_segment() 3099 skb_reserve(nskb, headroom); skb_segment() 3111 skb_headers_offset_update(nskb, skb_headroom(nskb) - headroom); skb_segment()
|
/linux-4.1.27/net/dccp/ |
H A D | ackvec.h | 23 * more headroom if Ack Ratio is higher or when the sender acknowledges slowly.
|
H A D | output.c | 174 * Leave enough headroom for common DCCP header options. dccp_sync_mss() 178 * to schedule a separate Ack. Thus we leave headroom for the following: dccp_sync_mss()
|
/linux-4.1.27/net/ipv6/ |
H A D | udp_offload.c | 90 /* Check if there is enough headroom to insert fragment header. */ udp6_ufo_fragment()
|
/linux-4.1.27/net/irda/irlan/ |
H A D | irlan_eth.c | 168 /* skb headroom large enough to contain all IrDA-headers? */ irlan_eth_xmit() 200 * one with larger headroom, and that would really irlan_eth_xmit()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | dma.c | 174 * packet headroom necessary to accommodate the largest header 263 * the extra headroom 265 uint rxextrahdrroom; /* extra rx headroom, reverseved to assist upper 268 * The extra headroom needs to be large enough 596 /* the actual dma size doesn't include the extra headroom */ dma_attach() 1055 * the di->rxbufsize doesn't include the extra headroom, dma_rxfill() 1071 /* reserve an extra headroom, if applicable */ dma_rxfill()
|
H A D | main.h | 44 /* transmit buffer max headroom for protocol headers */
|
H A D | main.c | 226 /* Amount of headroom to leave in Tx FIFO */ 6217 * headroom == D11_PHY_HDR_LEN + D11_TXH_LEN (D11_TXH_LEN is now 104 bytes)
|
/linux-4.1.27/drivers/usb/gadget/function/ |
H A D | f_eem.c | 357 int headroom = skb_headroom(skb); eem_wrap() local 367 (headroom >= EEM_HLEN) && !skb_cloned(skb)) eem_wrap()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_common.h | 119 u32 headroom, int strategy);
|
H A D | ixgbe_82598.c | 1126 * @headroom: reserve n KB of headroom 1130 u32 headroom, int strategy) ixgbe_set_rxpba_82598() 1129 ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb, u32 headroom, int strategy) ixgbe_set_rxpba_82598() argument
|
H A D | ixgbe_common.c | 3388 * @headroom: reserve n KB of headroom 3393 u32 headroom, ixgbe_set_rxpba_generic() 3400 /* Reserve headroom */ ixgbe_set_rxpba_generic() 3401 pbsize -= headroom; ixgbe_set_rxpba_generic() 3391 ixgbe_set_rxpba_generic(struct ixgbe_hw *hw, int num_pb, u32 headroom, int strategy) ixgbe_set_rxpba_generic() argument
|
H A D | ixgbe_main.c | 4325 * to provide required headroom. In this case throw an error ixgbe_hpbthresh() 4330 "headroom to support flow control." ixgbe_hpbthresh()
|
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
H A D | rt2x00dev.c | 337 * Remove the extra tx headroom from the skb. rt2x00lib_txdone() 1050 * Initialize extra TX headroom required. rt2x00lib_probe_hw() 1057 * Take TX headroom required for alignment into account. rt2x00lib_probe_hw() 1353 /* Cache TX headroom value */ rt2x00lib_probe_dev()
|
H A D | rt2x00.h | 113 * Constants for extra TX headroom for alignment purposes. 1000 /* Extra TX headroom required for alignment purposes. */
|
H A D | rt2x00queue.c | 59 * at least 8 bytes bytes available in headroom for IV/EIV rt2x00queue_alloc_rxskb() 515 * Add the requested extra tx headroom in front of the skb. rt2x00queue_write_tx_data()
|
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_crypt_wep.c | 95 /* Perform WEP encryption on given skb that has at least 4 bytes of headroom
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | bus.h | 112 * @tx_realloc: number of tx packets realloced for headroom.
|
H A D | core.c | 220 brcmf_dbg(INFO, "%s: insufficient headroom\n", brcmf_netdev_start_xmit()
|
/linux-4.1.27/include/scsi/ |
H A D | fc_frame.h | 56 #define FC_FRAME_HEADROOM 32 /* headroom for VLAN + FCoE headers */
|
/linux-4.1.27/drivers/net/wireless/ath/wil6210/ |
H A D | txrx.c | 218 u32 i, int headroom) wil_vring_alloc_skb() 225 struct sk_buff *skb = dev_alloc_skb(sz + headroom); wil_vring_alloc_skb() 230 skb_reserve(skb, headroom); wil_vring_alloc_skb() 497 int headroom = ndev->type == ARPHRD_IEEE80211_RADIOTAP ? wil_rx_refill() local 503 rc = wil_vring_alloc_skb(wil, v, v->swtail, headroom); wil_rx_refill() 217 wil_vring_alloc_skb(struct wil6210_priv *wil, struct vring *vring, u32 i, int headroom) wil_vring_alloc_skb() argument
|
/linux-4.1.27/net/l2tp/ |
H A D | l2tp_ppp.c | 378 * The supplied skb from ppp doesn't have enough headroom for the 380 * headroom in the skb. This will create a cloned skb. But we must be 393 int uhlen, headroom; pppol2tp_xmit() local 412 headroom = NET_SKB_PAD + pppol2tp_xmit() 417 if (skb_cow_head(skb, headroom)) pppol2tp_xmit()
|
H A D | l2tp_core.c | 1110 int headroom; l2tp_xmit_skb() local 1115 /* Check that there's enough headroom in the skb to insert IP, l2tp_xmit_skb() 1119 headroom = NET_SKB_PAD + sizeof(struct iphdr) + l2tp_xmit_skb() 1121 if (skb_cow_head(skb, headroom)) { l2tp_xmit_skb()
|
/linux-4.1.27/drivers/isdn/gigaset/ |
H A D | asyncdata.c | 451 * opening and closing flags, preserving headroom data. 529 * preserving headroom data.
|
H A D | i4l.c | 88 dev_err(cs->dev, "%s: insufficient skb headroom\n", __func__); writebuf_from_LL()
|
H A D | gigaset.h | 454 unsigned short hw_hdr_len; /* headroom needed in data skbs */
|
/linux-4.1.27/drivers/media/tuners/ |
H A D | tda8290.c | 162 { { 0x05, 0x04} }, /* ADC headroom */ 260 /* adjust headroom resp. gain */ tda8290_set_params()
|
/linux-4.1.27/net/mac80211/ |
H A D | tx.c | 1622 int headroom; ieee80211_xmit() local 1627 headroom = local->tx_headroom; ieee80211_xmit() 1629 headroom += sdata->encrypt_headroom; ieee80211_xmit() 1630 headroom -= skb_headroom(skb); ieee80211_xmit() 1631 headroom = max_t(int, 0, headroom); ieee80211_xmit() 1633 if (ieee80211_skb_resize(sdata, skb, headroom, may_encrypt)) { ieee80211_xmit() 2840 * headroom, head length, __ieee80211_beacon_get()
|
H A D | util.c | 2960 int headroom = IEEE80211_ENCRYPT_HEADROOM; ieee80211_cs_headroom() local 2967 if (cs && headroom < cs->hdr_len) ieee80211_cs_headroom() 2968 headroom = cs->hdr_len; ieee80211_cs_headroom() 2972 if (cs && headroom < cs->hdr_len) ieee80211_cs_headroom() 2973 headroom = cs->hdr_len; ieee80211_cs_headroom() 2975 return headroom; ieee80211_cs_headroom()
|
H A D | main.c | 1025 * The hardware needs headroom for sending the frame, ieee80211_register_hw() 1026 * and we need some headroom for passing the frame to monitor ieee80211_register_hw()
|
H A D | mesh_hwmp.c | 204 * headroom in case the frame is encrypted. */ prepare_frame_for_deferred_tx()
|
H A D | status.c | 860 pr_err("ieee80211_tx_status: headroom too small\n"); ieee80211_tx_status()
|
H A D | ieee80211_i.h | 1180 int tx_headroom; /* required headroom for hardware/radiotap */
|
H A D | rx.c | 475 /* only need to expand headroom if necessary */ ieee80211_rx_monitor() 484 * them allocate enough headroom to start with. ieee80211_rx_monitor()
|
/linux-4.1.27/drivers/isdn/pcbit/ |
H A D | capi.c | 302 printk(KERN_CRIT "No headspace (%u) on headroom %p for capi header\n", skb_headroom(skb), skb); capi_tdata_req()
|
/linux-4.1.27/drivers/tty/ipwireless/ |
H A D | network.c | 109 * If we have the requested amount of headroom in the skb we ipwireless_ppp_start_xmit()
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | elf.h | 154 #define ELF_NGREG 128 /* we really need just 72 but let's leave some headroom... */
|
/linux-4.1.27/net/hsr/ |
H A D | hsr_forward.c | 145 /* Create the new skb with enough headroom to fit the HSR tag */ create_tagged_skb()
|
/linux-4.1.27/drivers/scsi/cxgbi/ |
H A D | libcxgbi.c | 2097 int headroom = SKB_TX_ISCSI_PDU_HEADER_MAX; cxgbi_conn_alloc_pdu() local 2107 headroom += min_t(unsigned int, cxgbi_conn_alloc_pdu() 2111 tdata->skb = alloc_skb(cdev->skb_tx_rsvd + headroom, GFP_ATOMIC); cxgbi_conn_alloc_pdu() 2129 task, opcode, tdata->skb, cdev->skb_tx_rsvd, headroom, cxgbi_conn_alloc_pdu() 2199 /* data fits in the skb's headroom */ cxgbi_conn_init_pdu() 2354 unsigned int headroom = SKB_MAX_HEAD(cdev->skb_tx_rsvd); cxgbi_conn_max_xmit_dlength() local 2356 unsigned int max = max(max_def, headroom); cxgbi_conn_max_xmit_dlength()
|
/linux-4.1.27/drivers/platform/x86/ |
H A D | intel_ips.c | 34 * based on available headroom and activity. 37 * thermal headroom is available, the CPU and/or GPU power clamps may be 754 * - CPU busy, GPU busy - adjust preferred unit up, taking headroom from
|
/linux-4.1.27/drivers/nfc/microread/ |
H A D | microread.c | 161 /* Largest headroom needed for outgoing custom commands */
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | i915_gem_gtt.h | 196 * bits with absolutely no headroom. So use 4 bits. */
|
H A D | intel_pm.c | 5384 * we have thermal and power headroom to increase CPU or GPU power budget. 5411 * Raise the limit; IPS indicates we have thermal headroom.
|
/linux-4.1.27/net/ipv4/ |
H A D | ipip.c | 83 of the buffer (before the main data). Remember, this headroom
|
H A D | cipso_ipv4.c | 2250 /* if we don't ensure enough headroom we could panic on the skb_push() cipso_v4_skbuff_setattr()
|
H A D | tcp_output.c | 2625 * and check if ack-trimming & collapsing extended the headroom __tcp_retransmit_skb()
|
/linux-4.1.27/drivers/net/wireless/cw1200/ |
H A D | txrx.c | 538 "Bug: no space allocated for DMA alignment. headroom: %d\n", cw1200_tx_h_align() 572 "Bug: no space allocated for WSM header. headroom: %d\n", cw1200_tx_h_wsm()
|
/linux-4.1.27/arch/tile/include/hv/ |
H A D | drv_mpipe_intf.h | 530 /** The "headroom" in each buffer. */ 531 uint8_t headroom; member in struct:__anon2844
|
/linux-4.1.27/net/bluetooth/ |
H A D | hci_sock.c | 191 /* Create a private copy with headroom */ hci_send_to_sock() 286 /* Create a private copy with headroom */ hci_send_to_monitor()
|
/linux-4.1.27/net/irda/irnet/ |
H A D | irnet_ppp.c | 876 /* Is the skb headroom large enough to contain all IrDA-headers? */ irnet_prepare_skb() 997 * > one with larger headroom, and that would really ppp_irnet_send()
|
/linux-4.1.27/drivers/net/hyperv/ |
H A D | netvsc_drv.c | 428 /* Use the headroom for building up the packet */ netvsc_start_xmit()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
H A D | rx.c | 268 /* Dont use dev_alloc_skb(), we'll have enough headroom once iwl_mvm_rx_rx_mpdu()
|
/linux-4.1.27/drivers/staging/netlogic/ |
H A D | xlr_net.h | 1002 headroom */
|
/linux-4.1.27/drivers/nfc/pn544/ |
H A D | pn544.c | 118 /* Largest headroom needed for outgoing custom commands */
|
/linux-4.1.27/drivers/nfc/st21nfca/ |
H A D | st21nfca.c | 114 /* Largest headroom needed for outgoing custom commands */
|
/linux-4.1.27/arch/tile/include/gxio/ |
H A D | mpipe.h | 982 /* Set the headroom of the current rule. 985 * @param headroom The headroom. 989 uint8_t headroom);
|
/linux-4.1.27/net/6lowpan/ |
H A D | iphc.c | 372 pr_debug("skb headroom size = %d, data length = %d\n", lowpan_header_decompress()
|
/linux-4.1.27/net/nfc/hci/ |
H A D | core.c | 31 /* Largest headroom needed for outgoing HCI commands */
|
/linux-4.1.27/net/tipc/ |
H A D | msg.h | 99 * TIPC message buffer headroom reserves space for the worst-case
|
/linux-4.1.27/drivers/s390/net/ |
H A D | qeth_core_main.c | 5226 int headroom = 0; qeth_core_get_next_skb() local 5248 headroom = ETH_HLEN; qeth_core_get_next_skb() 5252 headroom = sizeof(struct qeth_hdr); qeth_core_get_next_skb() 5267 skb = dev_alloc_skb(skb_len + headroom); qeth_core_get_next_skb() 5270 if (headroom) qeth_core_get_next_skb() 5271 skb_reserve(skb, headroom); qeth_core_get_next_skb()
|
H A D | qeth_l2_main.c | 766 /* create a clone with writeable headroom */ qeth_l2_hard_start_xmit()
|
H A D | qeth_l3_main.c | 2995 /* create a clone with writeable headroom */ qeth_l3_hard_start_xmit()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.c | 1213 /* Reallocate the SKB to put enough headroom in front of it and insert 1228 * enough headroom for us to insert 64B status block. bcmgenet_put_tx_csum() 3139 /* Set the needed headroom to account for any possible bcmgenet_probe()
|
/linux-4.1.27/drivers/net/ethernet/tile/ |
H A D | tilegx.c | 610 /* Get the VA (including NET_IP_ALIGN bytes of "headroom"). */ tile_net_handle_packet() 629 /* Skip headroom, and any custom header. */ tile_net_handle_packet()
|
/linux-4.1.27/drivers/net/wireless/orinoco/ |
H A D | main.c | 345 * Need 8 bytes headroom 399 "%s: Not enough headroom for 802.2 headers %d\n", orinoco_process_xmit_skb()
|
/linux-4.1.27/net/appletalk/ |
H A D | ddp.c | 1374 * headroom (rare hopefully) then it won't need unsharing. atalk_route_packet() 1506 * Caller must provide enough headroom on the packet to pull the short
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ |
H A D | rx.c | 746 /* Dont use dev_alloc_skb(), we'll have enough headroom once iwlagn_pass_packet_to_mac80211()
|
/linux-4.1.27/drivers/net/wireless/hostap/ |
H A D | hostap_wlan.h | 602 int need_tx_headroom; /* number of bytes of headroom needed before
|
/linux-4.1.27/net/netfilter/ipvs/ |
H A D | ip_vs_xmit.c | 856 /* When forwarding a packet, we must ensure that we've got enough headroom
|
/linux-4.1.27/net/sctp/ |
H A D | ulpevent.c | 439 sizeof(struct sctp_send_failed), /* headroom */ sctp_ulpevent_make_send_failed()
|
/linux-4.1.27/drivers/scsi/fcoe/ |
H A D | fcoe_ctlr.c | 604 * The @skb must have enough headroom (28 bytes) and tailroom (8 bytes). 696 * The SKB must have enough headroom (28 bytes) and tailroom (8 bytes).
|
/linux-4.1.27/drivers/infiniband/hw/mlx4/ |
H A D | qp.c | 487 * We need to leave 2 KB + 1 WR of headroom in the SQ to set_kernel_sq_size() 1746 * headroom is stamped so that the hardware doesn't start __mlx4_ib_modify_qp()
|
/linux-4.1.27/drivers/isdn/icn/ |
H A D | icn.c | 721 #warning TODO test headroom or use skb->nb to flag ACK icn_sendbuf()
|
/linux-4.1.27/drivers/net/ethernet/altera/ |
H A D | altera_tse_main.c | 81 * headroom for alignment is 2 bytes, 2048 is just fine.
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
H A D | txrx.c | 492 * headroom to avoid the memmove in ath6kl_htc_tx_buf_align(). ath6kl_data_tx()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
H A D | bcmsysport.c | 1746 /* Set the needed headroom once and for all */ bcm_sysport_probe()
|
/linux-4.1.27/drivers/isdn/capi/ |
H A D | capidrv.c | 2119 printk(KERN_DEBUG "capidrv-%d: only %d bytes headroom, need %d\n", if_sendbuf()
|
/linux-4.1.27/drivers/isdn/i4l/ |
H A D | isdn_common.c | 2039 printk(KERN_DEBUG "isdn_writebuf_skb_stub: reallocating headroom%s\n", skb_tmp ? "" : " failed"); isdn_writebuf_skb_stub()
|
H A D | isdn_ppp.c | 1223 printk(KERN_ERR "isdn_ppp_skb_push: can't realloc headroom!\n"); isdn_ppp_skb_push()
|
/linux-4.1.27/drivers/net/xen-netback/ |
H A D | netback.c | 806 /* Packets passed to netif_rx() must have some headroom. */ xenvif_alloc_skb()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/ |
H A D | sge.c | 1873 /* If transmit busy, and we reallocated skb's due to headroom limit, t1_start_xmit()
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
H A D | niu.c | 6633 unsigned long align, headroom; niu_start_xmit() local 6671 headroom = align + sizeof(struct tx_pkt_hdr); niu_start_xmit() 6674 tp = (struct tx_pkt_hdr *) skb_push(skb, headroom); niu_start_xmit()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 771 * immediate data. Return value corresponds to headroom required.
|
/linux-4.1.27/drivers/net/ethernet/ibm/emac/ |
H A D | core.c | 676 Here is the worst case scenario for the RX FIFO "headroom" emac_configure()
|
/linux-4.1.27/drivers/net/wireless/ath/ath5k/ |
H A D | base.c | 1628 " headroom to pad"); ath5k_tx_queue()
|
/linux-4.1.27/drivers/net/wireless/ |
H A D | mac80211_hwsim.c | 1087 * Note that this code requires the headroom in the SKB mac80211_hwsim_add_vendor_rtap()
|
H A D | mwl8k.c | 6068 * Extra headroom is the size of the required DMA header mwl8k_firmware_load_success()
|
/linux-4.1.27/drivers/net/wireless/iwlegacy/ |
H A D | 3945.c | 2015 * backoffs provide headroom for high rate modulation il3945_hw_reg_init_channel_groups()
|
/linux-4.1.27/drivers/atm/ |
H A D | ambassador.c | 274 leave extra headroom space for Ambassador TX descriptors.
|
/linux-4.1.27/fs/jbd/ |
H A D | transaction.c | 206 * a _lot_ of headroom: 1/4 of the journal plus the size of start_this_handle()
|
/linux-4.1.27/include/net/ |
H A D | mac80211.h | 1884 * @extra_tx_headroom: headroom to reserve in each transmit skb 3744 * The TX headroom reserved by mac80211 for its own tx_status functions.
|
H A D | cfg80211.h | 3743 * @extra_headroom: The hardware extra headroom for SKBs in the @list.
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | t3_hw.c | 2603 /* Add a bit of headroom and make multiple of 24 */ partition_mem()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
H A D | wmi.h | 2277 * This defines how much headroom is kept in the
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | 2256 DP(BNX2X_MSG_SP, "stats fw_stats_num %d, vf headroom %d, num_groups %d\n", bnx2x_alloc_fw_stats_mem()
|
/linux-4.1.27/sound/pci/hda/ |
H A D | patch_ca0132.c | 4285 /*remove DSP headroom*/ ca0132_setup_defaults()
|