/linux-4.4.14/drivers/nfc/nfcmrvl/ |
D | main.c | 111 int headroom; in nfcmrvl_nci_register_dev() local 136 headroom = NCI_SPI_HDR_LEN; in nfcmrvl_nci_register_dev() 139 headroom = tailroom = 0; in nfcmrvl_nci_register_dev() 142 headroom += NFCMRVL_HCI_EVENT_HEADER_SIZE; in nfcmrvl_nci_register_dev() 153 headroom, tailroom); in nfcmrvl_nci_register_dev()
|
/linux-4.4.14/drivers/net/ethernet/ibm/emac/ |
D | Kconfig | 31 int "Additional RX skb headroom (bytes)" 35 Additional receive skb headroom. Note, that driver 38 headroom.
|
/linux-4.4.14/net/decnet/ |
D | dn_neigh.c | 213 int headroom = dev->hard_header_len + sizeof(struct dn_long_packet) + 3; in dn_long_output() local 219 if (skb_headroom(skb) < headroom) { in dn_long_output() 220 struct sk_buff *skb2 = skb_realloc_headroom(skb, headroom); in dn_long_output() 261 int headroom = dev->hard_header_len + sizeof(struct dn_short_packet) + 2; in dn_short_output() local 267 if (skb_headroom(skb) < headroom) { in dn_short_output() 268 struct sk_buff *skb2 = skb_realloc_headroom(skb, headroom); in dn_short_output() 304 int headroom = dev->hard_header_len + sizeof(struct dn_short_packet) + 2; in dn_phase3_output() local 309 if (skb_headroom(skb) < headroom) { in dn_phase3_output() 310 struct sk_buff *skb2 = skb_realloc_headroom(skb, headroom); in dn_phase3_output()
|
/linux-4.4.14/net/ax25/ |
D | ax25_out.c | 333 int headroom; in ax25_transmit_buffer() local 340 headroom = ax25_addr_size(ax25->digipeat); in ax25_transmit_buffer() 342 if (skb_headroom(skb) < headroom) { in ax25_transmit_buffer() 343 if ((skbn = skb_realloc_headroom(skb, headroom)) == NULL) { in ax25_transmit_buffer() 356 ptr = skb_push(skb, headroom); in ax25_transmit_buffer()
|
/linux-4.4.14/drivers/net/usb/ |
D | gl620a.c | 153 int headroom = skb_headroom(skb); in genelink_tx_fixup() local 162 && ((headroom + tailroom) >= (padlen + (4 + 4*1)))) { in genelink_tx_fixup() 163 if ((headroom < (4 + 4*1)) || (tailroom < padlen)) { in genelink_tx_fixup()
|
D | int51x1.c | 70 int headroom = skb_headroom(skb); in int51x1_tx_fixup() local 87 (headroom + tailroom >= need_tail + INT51X1_HEADER_SIZE)) { in int51x1_tx_fixup() 88 if (headroom < INT51X1_HEADER_SIZE || tailroom < need_tail) { in int51x1_tx_fixup()
|
D | cdc_eem.c | 122 int headroom = skb_headroom(skb); in eem_tx_fixup() local 126 (headroom >= EEM_HEAD)) in eem_tx_fixup() 129 if ((headroom + tailroom) in eem_tx_fixup()
|
D | kalmia.c | 175 int headroom = skb_headroom(skb); in kalmia_tx_fixup() local 178 if ((tailroom >= KALMIA_ALIGN_SIZE) && (headroom in kalmia_tx_fixup() 182 if ((headroom + tailroom) > (KALMIA_HEADER_LENGTH in kalmia_tx_fixup()
|
D | lg-vl600.c | 267 int headroom = skb_headroom(skb); in vl600_tx_fixup() local 271 headroom >= sizeof(*frame)) in vl600_tx_fixup() 275 if (headroom + tailroom + skb->len >= full_len) { in vl600_tx_fixup()
|
D | net1080.c | 447 int headroom = skb_headroom(skb); in net1080_tx_fixup() local 451 sizeof(struct nc_header) <= headroom) in net1080_tx_fixup() 456 (headroom + tailroom)) { in net1080_tx_fixup()
|
D | asix_common.c | 175 int headroom = skb_headroom(skb); in asix_tx_fixup() local 196 headroom + tailroom >= 4 + padlen) { in asix_tx_fixup() 198 if (headroom < 4 || in asix_tx_fixup()
|
D | sr9800.c | 113 int headroom = skb_headroom(skb); in sr_tx_fixup() local 121 if ((!skb_cloned(skb)) && ((headroom + tailroom) >= (4 + padlen))) { in sr_tx_fixup() 122 if ((headroom < 4) || (tailroom < padlen)) { in sr_tx_fixup()
|
D | ax88179_178a.c | 1429 int headroom; in ax88179_tx_fixup() local 1436 headroom = skb_headroom(skb) - 8; in ax88179_tx_fixup() 1438 if ((skb_header_cloned(skb) || headroom < 0) && in ax88179_tx_fixup() 1439 pskb_expand_head(skb, headroom < 0 ? 8 : 0, 0, GFP_ATOMIC)) { in ax88179_tx_fixup()
|
/linux-4.4.14/drivers/net/wireless/mwifiex/ |
D | 11n_aggr.c | 105 int headroom = (priv->adapter->iface_type == in mwifiex_11n_form_amsdu_txpd() local 109 headroom - NULL) & (MWIFIEX_DMA_ALIGN_SZ - 1); in mwifiex_11n_form_amsdu_txpd() 176 int headroom = adapter->iface_type == MWIFIEX_USB ? 0 : INTF_HEADER_LEN; in mwifiex_11n_aggregate_pkt() local 251 skb_push(skb_aggr, headroom); in mwifiex_11n_aggregate_pkt()
|
/linux-4.4.14/net/caif/ |
D | caif_socket.c | 53 int headroom, tailroom, maxframe; member 563 buffer_size = len + cf_sk->headroom + cf_sk->tailroom; in caif_seqpkt_sendmsg() 571 skb_reserve(skb, cf_sk->headroom); in caif_seqpkt_sendmsg() 631 size + cf_sk->headroom + in caif_stream_sendmsg() 638 skb_reserve(skb, cf_sk->headroom); in caif_stream_sendmsg() 751 int ifindex, headroom, tailroom; in caif_connect() local 829 &cf_sk->layer, &ifindex, &headroom, &tailroom); in caif_connect() 844 cf_sk->headroom = LL_RESERVED_SPACE_EXTRA(dev, headroom); in caif_connect() 849 cf_sk->maxframe = mtu - (headroom + tailroom); in caif_connect()
|
D | chnl_net.c | 266 int llifindex, headroom, tailroom, mtu; in chnl_net_open() local 279 &headroom, &tailroom); in chnl_net_open() 297 dev->hard_header_len = headroom + lldev->hard_header_len + in chnl_net_open() 307 mtu = min_t(int, dev->mtu, lldev->mtu - (headroom + tailroom)); in chnl_net_open()
|
/linux-4.4.14/include/linux/ |
D | virtio_caif.h | 14 u16 headroom; member
|
D | skbuff.h | 869 struct sk_buff *__pskb_copy_fclone(struct sk_buff *skb, int headroom, 871 static inline struct sk_buff *__pskb_copy(struct sk_buff *skb, int headroom, in __pskb_copy() argument 874 return __pskb_copy_fclone(skb, headroom, gfp_mask, false); in __pskb_copy() 879 unsigned int headroom); 2567 static inline int __skb_cow(struct sk_buff *skb, unsigned int headroom, in __skb_cow() argument 2572 if (headroom > skb_headroom(skb)) in __skb_cow() 2573 delta = headroom - skb_headroom(skb); in __skb_cow() 2593 static inline int skb_cow(struct sk_buff *skb, unsigned int headroom) in skb_cow() argument 2595 return __skb_cow(skb, headroom, skb_cloned(skb)); in skb_cow() 2608 static inline int skb_cow_head(struct sk_buff *skb, unsigned int headroom) in skb_cow_head() argument [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | wmi.c | 298 u16 headroom = sizeof(struct htc_frame_hdr) + in ath9k_wmi_cmd() local 308 skb = alloc_skb(headroom + cmd_len, GFP_ATOMIC); in ath9k_wmi_cmd() 312 skb_reserve(skb, headroom); in ath9k_wmi_cmd()
|
/linux-4.4.14/arch/tile/gxio/ |
D | mpipe.c | 275 rule->headroom = 2; in gxio_mpipe_rules_begin() 336 int gxio_mpipe_rules_set_headroom(gxio_mpipe_rules_t *rules, uint8_t headroom) in gxio_mpipe_rules_set_headroom() argument 347 rule->headroom = headroom; in gxio_mpipe_rules_set_headroom()
|
/linux-4.4.14/include/net/caif/ |
D | caif_dev.h | 70 int *headroom, int *tailroom);
|
/linux-4.4.14/drivers/net/wireless/p54/ |
D | p54.h | 55 u8 headroom; member 182 u8 headroom; member
|
D | fwio.c | 88 priv->headroom = desc->headroom; in p54_parse_firmware()
|
D | txrx.c | 91 u16 len = priv->headroom + skb->len + priv->tailroom + 3; in p54_assign_address() 140 data->req_id = cpu_to_le32(target_addr + priv->headroom); in p54_assign_address()
|
/linux-4.4.14/drivers/net/wireless/ipw2x00/ |
D | libipw_tx.c | 192 int headroom, gfp_t gfp_mask) in libipw_alloc_txb() argument 206 txb->fragments[i] = __dev_alloc_skb(txb_size + headroom, in libipw_alloc_txb() 212 skb_reserve(txb->fragments[i], headroom); in libipw_alloc_txb()
|
/linux-4.4.14/arch/arm/crypto/ |
D | aesbs-glue.c | 218 u32 headroom = UINT_MAX - be32_to_cpu(ctr[3]); in aesbs_ctr_encrypt() local 221 if (unlikely(headroom < blocks)) { in aesbs_ctr_encrypt() 222 blocks = headroom + 1; in aesbs_ctr_encrypt()
|
/linux-4.4.14/arch/tile/include/hv/ |
D | drv_mpipe_intf.h | 531 uint8_t headroom; member
|
/linux-4.4.14/mm/ |
D | page-writeback.c | 692 unsigned long filepages, unsigned long headroom) in mdtc_calc_avail() argument 699 mdtc->avail = filepages + min(headroom, other_clean); in mdtc_calc_avail() 1575 unsigned long filepages, headroom, writeback; in balance_dirty_pages() local 1581 mem_cgroup_wb_stats(wb, &filepages, &headroom, in balance_dirty_pages() 1584 mdtc_calc_avail(mdtc, filepages, headroom); in balance_dirty_pages() 1907 unsigned long filepages, headroom, writeback; in wb_over_bg_thresh() local 1909 mem_cgroup_wb_stats(wb, &filepages, &headroom, &mdtc->dirty, in wb_over_bg_thresh() 1911 mdtc_calc_avail(mdtc, filepages, headroom); in wb_over_bg_thresh()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | f_eem.c | 347 int headroom = skb_headroom(skb); in eem_wrap() local 357 (headroom >= EEM_HLEN) && !skb_cloned(skb)) in eem_wrap()
|
/linux-4.4.14/net/core/ |
D | skbuff.c | 1056 struct sk_buff *__pskb_copy_fclone(struct sk_buff *skb, int headroom, in __pskb_copy_fclone() argument 1059 unsigned int size = skb_headlen(skb) + headroom; in __pskb_copy_fclone() 1067 skb_reserve(n, headroom); in __pskb_copy_fclone() 1198 struct sk_buff *skb_realloc_headroom(struct sk_buff *skb, unsigned int headroom) in skb_realloc_headroom() argument 1201 int delta = headroom - skb_headroom(skb); in skb_realloc_headroom() 3011 unsigned int headroom; in skb_segment() local 3030 headroom = skb_headroom(head_skb); in skb_segment() 3083 if (skb_cow_head(nskb, doffset + headroom)) { in skb_segment() 3092 nskb = __alloc_skb(hsize + doffset + headroom, in skb_segment() 3099 skb_reserve(nskb, headroom); in skb_segment() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | txrx.c | 218 u32 i, int headroom) in wil_vring_alloc_skb() argument 225 struct sk_buff *skb = dev_alloc_skb(sz + headroom); in wil_vring_alloc_skb() 230 skb_reserve(skb, headroom); in wil_vring_alloc_skb() 533 int headroom = ndev->type == ARPHRD_IEEE80211_RADIOTAP ? in wil_rx_refill() local 539 rc = wil_vring_alloc_skb(wil, v, v->swtail, headroom); in wil_rx_refill()
|
/linux-4.4.14/Documentation/networking/ |
D | ppp_generic.txt | 131 If the channel needs some headroom in the skbuffs presented to it for 134 ppp_channel struct to the amount of headroom required. The generic 135 PPP layer will attempt to provide that much headroom but the channel 136 should still check if there is sufficient headroom and copy the skbuff 140 headroom in the skbuffs presented to ppp_input(). The generic PPP
|
/linux-4.4.14/drivers/net/caif/ |
D | caif_virtio.c | 688 virtio_cread(vdev, struct virtio_caif_transf_config, headroom, in cfv_probe() 690 virtio_cread(vdev, struct virtio_caif_transf_config, headroom, in cfv_probe()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_common.h | 120 u32 headroom, int strategy);
|
D | ixgbe_82598.c | 1130 u32 headroom, int strategy) in ixgbe_set_rxpba_82598() argument
|
D | ixgbe_common.c | 3404 u32 headroom, in ixgbe_set_rxpba_generic() argument 3412 pbsize -= headroom; in ixgbe_set_rxpba_generic()
|
/linux-4.4.14/arch/tile/include/gxio/ |
D | mpipe.h | 989 uint8_t headroom);
|
/linux-4.4.14/net/mac80211/ |
D | util.c | 2958 int headroom = IEEE80211_ENCRYPT_HEADROOM; in ieee80211_cs_headroom() local 2965 if (cs && headroom < cs->hdr_len) in ieee80211_cs_headroom() 2966 headroom = cs->hdr_len; in ieee80211_cs_headroom() 2970 if (cs && headroom < cs->hdr_len) in ieee80211_cs_headroom() 2971 headroom = cs->hdr_len; in ieee80211_cs_headroom() 2973 return headroom; in ieee80211_cs_headroom()
|
D | tx.c | 1635 int headroom; in ieee80211_xmit() local 1640 headroom = local->tx_headroom; in ieee80211_xmit() 1642 headroom += sdata->encrypt_headroom; in ieee80211_xmit() 1643 headroom -= skb_headroom(skb); in ieee80211_xmit() 1644 headroom = max_t(int, 0, headroom); in ieee80211_xmit() 1646 if (ieee80211_skb_resize(sdata, skb, headroom, may_encrypt)) { in ieee80211_xmit()
|
/linux-4.4.14/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 2101 int headroom = SKB_TX_ISCSI_PDU_HEADER_MAX; in cxgbi_conn_alloc_pdu() local 2111 headroom += min_t(unsigned int, in cxgbi_conn_alloc_pdu() 2115 tdata->skb = alloc_skb(cdev->skb_tx_rsvd + headroom, GFP_ATOMIC); in cxgbi_conn_alloc_pdu() 2133 task, opcode, tdata->skb, cdev->skb_tx_rsvd, headroom, in cxgbi_conn_alloc_pdu() 2358 unsigned int headroom = SKB_MAX_HEAD(cdev->skb_tx_rsvd); in cxgbi_conn_max_xmit_dlength() local 2360 unsigned int max = max(max_def, headroom); in cxgbi_conn_max_xmit_dlength()
|
/linux-4.4.14/net/l2tp/ |
D | l2tp_core.c | 1110 int headroom; in l2tp_xmit_skb() local 1119 headroom = NET_SKB_PAD + sizeof(struct iphdr) + in l2tp_xmit_skb() 1121 if (skb_cow_head(skb, headroom)) { in l2tp_xmit_skb()
|
D | l2tp_ppp.c | 393 int uhlen, headroom; in pppol2tp_xmit() local 412 headroom = NET_SKB_PAD + in pppol2tp_xmit() 417 if (skb_cow_head(skb, headroom)) in pppol2tp_xmit()
|
/linux-4.4.14/drivers/s390/net/ |
D | qeth_core_main.c | 5177 int headroom = 0; in qeth_core_get_next_skb() local 5199 headroom = ETH_HLEN; in qeth_core_get_next_skb() 5203 headroom = sizeof(struct qeth_hdr); in qeth_core_get_next_skb() 5218 skb = dev_alloc_skb(skb_len + headroom); in qeth_core_get_next_skb() 5221 if (headroom) in qeth_core_get_next_skb() 5222 skb_reserve(skb, headroom); in qeth_core_get_next_skb()
|
/linux-4.4.14/Documentation/DocBook/ |
D | networking.xml.db | 38 API-skb-headroom
|
/linux-4.4.14/fs/befs/ |
D | ChangeLog | 220 headroom before the big 1.0.
|
/linux-4.4.14/drivers/isdn/icn/ |
D | icn.c | 721 #warning TODO test headroom or use skb->nb to flag ACK in icn_sendbuf()
|
/linux-4.4.14/drivers/net/ethernet/sun/ |
D | niu.c | 6633 unsigned long align, headroom; in niu_start_xmit() local 6669 headroom = align + sizeof(struct tx_pkt_hdr); in niu_start_xmit() 6672 tp = (struct tx_pkt_hdr *) skb_push(skb, headroom); in niu_start_xmit()
|