Searched refs:headroom (Results 1 - 131 of 131) sorted by relevance

/linux-4.1.27/include/linux/
H A Dvirtio_caif.h14 u16 headroom; member in struct:virtio_caif_transf_config
H A Dppp_channel.h41 int hdrlen; /* amount of headroom channel needs */
H A Dskbuff.h837 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 Dnetdevice.h1377 * @needed_headroom: Extra headroom the hardware may need, but not in all
/linux-4.1.27/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.h22 /* for TX: a skb must have a headroom of at least TX_HEADER_LEN bytes */
/linux-4.1.27/net/decnet/
H A Ddn_neigh.c213 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 Dax25_out.c334 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 Dint51x1.c70 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 Dasix_common.c143 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 Dgl620a.c153 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 Dcdc_eem.c122 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 Dkalmia.c175 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 Dlg-vl600.c267 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 Dnet1080.c447 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 Dsr9800.c113 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 Dax88179_178a.c1429 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 Dsierra_net.c893 } /* headroom */ sierra_net_tx_fixup()
/linux-4.1.27/drivers/net/wireless/mwifiex/
H A D11n_aggr.c105 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 Duap_txrx.c157 "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 Dmain.c734 "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 Dcxgb3i.h21 /*for TX: a skb must have a headroom of at least TX_HEADER_LEN bytes */
/linux-4.1.27/include/net/caif/
H A Dcaif_dev.h56 * @headroom: Head room needed by CAIF protocol.
70 int *headroom, int *tailroom);
/linux-4.1.27/net/caif/
H A Dchnl_net.c266 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 Dcaif_socket.c53 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 Dcfpkt_skbuff.c230 PKT_ERROR(pkt, "no headroom\n"); cfpkt_add_head()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Dwmi.c298 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 Daesbs-glue.c218 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 Dmpipe.c300 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 Dp54.h55 u8 headroom; member in struct:bootrec_desc
182 u8 headroom; member in struct:p54_common
H A Dfwio.c88 priv->headroom = desc->headroom; p54_parse_firmware()
H A Dtxrx.c91 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 Drtllib_crypt_wep.c88 /* 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 Dlib80211_crypt_wep.c90 /* 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 Dlibipw_tx.c192 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 Dcaif_virtio.c86 * @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 Dskbuff.c195 * 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 Dackvec.h23 * more headroom if Ack Ratio is higher or when the sender acknowledges slowly.
H A Doutput.c174 * 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 Dudp_offload.c90 /* Check if there is enough headroom to insert fragment header. */ udp6_ufo_fragment()
/linux-4.1.27/net/irda/irlan/
H A Dirlan_eth.c168 /* 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 Ddma.c174 * 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 Dmain.h44 /* transmit buffer max headroom for protocol headers */
H A Dmain.c226 /* 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 Df_eem.c357 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 Dixgbe_common.h119 u32 headroom, int strategy);
H A Dixgbe_82598.c1126 * @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 Dixgbe_common.c3388 * @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 Dixgbe_main.c4325 * 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 Drt2x00dev.c337 * 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 Drt2x00.h113 * Constants for extra TX headroom for alignment purposes.
1000 /* Extra TX headroom required for alignment purposes. */
H A Drt2x00queue.c59 * 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 Dieee80211_crypt_wep.c95 /* 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 Dbus.h112 * @tx_realloc: number of tx packets realloced for headroom.
H A Dcore.c220 brcmf_dbg(INFO, "%s: insufficient headroom\n", brcmf_netdev_start_xmit()
/linux-4.1.27/include/scsi/
H A Dfc_frame.h56 #define FC_FRAME_HEADROOM 32 /* headroom for VLAN + FCoE headers */
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
H A Dtxrx.c218 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 Dl2tp_ppp.c378 * 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 Dl2tp_core.c1110 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 Dasyncdata.c451 * opening and closing flags, preserving headroom data.
529 * preserving headroom data.
H A Di4l.c88 dev_err(cs->dev, "%s: insufficient skb headroom\n", __func__); writebuf_from_LL()
H A Dgigaset.h454 unsigned short hw_hdr_len; /* headroom needed in data skbs */
/linux-4.1.27/drivers/media/tuners/
H A Dtda8290.c162 { { 0x05, 0x04} }, /* ADC headroom */
260 /* adjust headroom resp. gain */ tda8290_set_params()
/linux-4.1.27/net/mac80211/
H A Dtx.c1622 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 Dutil.c2960 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 Dmain.c1025 * 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 Dmesh_hwmp.c204 * headroom in case the frame is encrypted. */ prepare_frame_for_deferred_tx()
H A Dstatus.c860 pr_err("ieee80211_tx_status: headroom too small\n"); ieee80211_tx_status()
H A Dieee80211_i.h1180 int tx_headroom; /* required headroom for hardware/radiotap */
H A Drx.c475 /* 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 Dcapi.c302 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 Dnetwork.c109 * 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 Delf.h154 #define ELF_NGREG 128 /* we really need just 72 but let's leave some headroom... */
/linux-4.1.27/net/hsr/
H A Dhsr_forward.c145 /* Create the new skb with enough headroom to fit the HSR tag */ create_tagged_skb()
/linux-4.1.27/drivers/scsi/cxgbi/
H A Dlibcxgbi.c2097 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 Dintel_ips.c34 * 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 Dmicroread.c161 /* Largest headroom needed for outgoing custom commands */
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_gem_gtt.h196 * bits with absolutely no headroom. So use 4 bits. */
H A Dintel_pm.c5384 * 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 Dipip.c83 of the buffer (before the main data). Remember, this headroom
H A Dcipso_ipv4.c2250 /* if we don't ensure enough headroom we could panic on the skb_push() cipso_v4_skbuff_setattr()
H A Dtcp_output.c2625 * and check if ack-trimming & collapsing extended the headroom __tcp_retransmit_skb()
/linux-4.1.27/drivers/net/wireless/cw1200/
H A Dtxrx.c538 "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 Ddrv_mpipe_intf.h530 /** The "headroom" in each buffer. */
531 uint8_t headroom; member in struct:__anon2844
/linux-4.1.27/net/bluetooth/
H A Dhci_sock.c191 /* 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 Dirnet_ppp.c876 /* 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 Dnetvsc_drv.c428 /* Use the headroom for building up the packet */ netvsc_start_xmit()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Drx.c268 /* 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 Dxlr_net.h1002 headroom */
/linux-4.1.27/drivers/nfc/pn544/
H A Dpn544.c118 /* Largest headroom needed for outgoing custom commands */
/linux-4.1.27/drivers/nfc/st21nfca/
H A Dst21nfca.c114 /* Largest headroom needed for outgoing custom commands */
/linux-4.1.27/arch/tile/include/gxio/
H A Dmpipe.h982 /* Set the headroom of the current rule.
985 * @param headroom The headroom.
989 uint8_t headroom);
/linux-4.1.27/net/6lowpan/
H A Diphc.c372 pr_debug("skb headroom size = %d, data length = %d\n", lowpan_header_decompress()
/linux-4.1.27/net/nfc/hci/
H A Dcore.c31 /* Largest headroom needed for outgoing HCI commands */
/linux-4.1.27/net/tipc/
H A Dmsg.h99 * TIPC message buffer headroom reserves space for the worst-case
/linux-4.1.27/drivers/s390/net/
H A Dqeth_core_main.c5226 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 Dqeth_l2_main.c766 /* create a clone with writeable headroom */ qeth_l2_hard_start_xmit()
H A Dqeth_l3_main.c2995 /* create a clone with writeable headroom */ qeth_l3_hard_start_xmit()
/linux-4.1.27/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c1213 /* 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 Dtilegx.c610 /* 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 Dmain.c345 * 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 Dddp.c1374 * 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 Drx.c746 /* 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 Dhostap_wlan.h602 int need_tx_headroom; /* number of bytes of headroom needed before
/linux-4.1.27/net/netfilter/ipvs/
H A Dip_vs_xmit.c856 /* When forwarding a packet, we must ensure that we've got enough headroom
/linux-4.1.27/net/sctp/
H A Dulpevent.c439 sizeof(struct sctp_send_failed), /* headroom */ sctp_ulpevent_make_send_failed()
/linux-4.1.27/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c604 * 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 Dqp.c487 * 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 Dicn.c721 #warning TODO test headroom or use skb->nb to flag ACK icn_sendbuf()
/linux-4.1.27/drivers/net/ethernet/altera/
H A Daltera_tse_main.c81 * headroom for alignment is 2 bytes, 2048 is just fine.
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Dtxrx.c492 * headroom to avoid the memmove in ath6kl_htc_tx_buf_align(). ath6kl_data_tx()
/linux-4.1.27/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c1746 /* Set the needed headroom once and for all */ bcm_sysport_probe()
/linux-4.1.27/drivers/isdn/capi/
H A Dcapidrv.c2119 printk(KERN_DEBUG "capidrv-%d: only %d bytes headroom, need %d\n", if_sendbuf()
/linux-4.1.27/drivers/isdn/i4l/
H A Disdn_common.c2039 printk(KERN_DEBUG "isdn_writebuf_skb_stub: reallocating headroom%s\n", skb_tmp ? "" : " failed"); isdn_writebuf_skb_stub()
H A Disdn_ppp.c1223 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 Dnetback.c806 /* Packets passed to netif_rx() must have some headroom. */ xenvif_alloc_skb()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
H A Dsge.c1873 /* 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 Dniu.c6633 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 Dsge.c771 * immediate data. Return value corresponds to headroom required.
/linux-4.1.27/drivers/net/ethernet/ibm/emac/
H A Dcore.c676 Here is the worst case scenario for the RX FIFO "headroom" emac_configure()
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
H A Dbase.c1628 " headroom to pad"); ath5k_tx_queue()
/linux-4.1.27/drivers/net/wireless/
H A Dmac80211_hwsim.c1087 * Note that this code requires the headroom in the SKB mac80211_hwsim_add_vendor_rtap()
H A Dmwl8k.c6068 * Extra headroom is the size of the required DMA header mwl8k_firmware_load_success()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A D3945.c2015 * backoffs provide headroom for high rate modulation il3945_hw_reg_init_channel_groups()
/linux-4.1.27/drivers/atm/
H A Dambassador.c274 leave extra headroom space for Ambassador TX descriptors.
/linux-4.1.27/fs/jbd/
H A Dtransaction.c206 * a _lot_ of headroom: 1/4 of the journal plus the size of start_this_handle()
/linux-4.1.27/include/net/
H A Dmac80211.h1884 * @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 Dcfg80211.h3743 * @extra_headroom: The hardware extra headroom for SKBs in the @list.
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_hw.c2603 /* Add a bit of headroom and make multiple of 24 */ partition_mem()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Dwmi.h2277 * This defines how much headroom is kept in the
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c2256 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 Dpatch_ca0132.c4285 /*remove DSP headroom*/ ca0132_setup_defaults()

Completed in 5064 milliseconds