Home
last modified time | relevance | path

Searched refs:headroom (Results 1 – 25 of 26) sorted by relevance

12

/drivers/nfc/nfcmrvl/
Dmain.c111 int headroom; in nfcmrvl_nci_register_dev() local
137 headroom = NCI_SPI_HDR_LEN; in nfcmrvl_nci_register_dev()
140 headroom = tailroom = 0; in nfcmrvl_nci_register_dev()
143 headroom += NFCMRVL_HCI_EVENT_HEADER_SIZE; in nfcmrvl_nci_register_dev()
154 headroom, tailroom); in nfcmrvl_nci_register_dev()
/drivers/net/ethernet/ibm/emac/
DKconfig31 int "Additional RX skb headroom (bytes)"
35 Additional receive skb headroom. Note, that driver
38 headroom.
/drivers/net/usb/
Dgl620a.c153 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()
Dint51x1.c70 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()
Dcdc_eem.c122 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()
Dkalmia.c175 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()
Dlg-vl600.c267 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()
Dnet1080.c447 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()
Dasix_common.c200 int headroom = skb_headroom(skb); in asix_tx_fixup() local
221 headroom + tailroom >= 4 + padlen) { in asix_tx_fixup()
223 if (headroom < 4 || in asix_tx_fixup()
Dsr9800.c113 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()
Dax88179_178a.c1429 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()
/drivers/net/wireless/marvell/mwifiex/
D11n_aggr.c167 int headroom = adapter->iface_type == MWIFIEX_USB ? 0 : INTF_HEADER_LEN; in mwifiex_11n_aggregate_pkt() local
188 skb_reserve(skb_aggr, headroom + sizeof(struct txpd)); in mwifiex_11n_aggregate_pkt()
245 skb_push(skb_aggr, headroom); in mwifiex_11n_aggregate_pkt()
/drivers/net/wireless/ath/ath9k/
Dwmi.c298 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()
/drivers/net/wireless/intersil/p54/
Dp54.h55 u8 headroom; member
182 u8 headroom; member
Dfwio.c88 priv->headroom = desc->headroom; in p54_parse_firmware()
Dtxrx.c91 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()
/drivers/net/wireless/intel/ipw2x00/
Dlibipw_tx.c192 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()
/drivers/usb/gadget/function/
Df_eem.c344 int headroom, tailroom, padlen = 0; in eem_wrap() local
351 headroom = skb_headroom(skb); in eem_wrap()
361 (headroom >= EEM_HLEN) && !skb_cloned(skb)) in eem_wrap()
/drivers/net/wireless/ath/wil6210/
Dtxrx.c226 u32 i, int headroom) in wil_vring_alloc_skb() argument
233 struct sk_buff *skb = dev_alloc_skb(sz + headroom); in wil_vring_alloc_skb()
238 skb_reserve(skb, headroom); in wil_vring_alloc_skb()
541 int headroom = ndev->type == ARPHRD_IEEE80211_RADIOTAP ? in wil_rx_refill() local
547 rc = wil_vring_alloc_skb(wil, v, v->swtail, headroom); in wil_rx_refill()
/drivers/net/caif/
Dcaif_virtio.c688 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()
/drivers/scsi/cxgbi/
Dlibcxgbi.c1837 int headroom = SKB_TX_ISCSI_PDU_HEADER_MAX; in cxgbi_conn_alloc_pdu() local
1847 headroom += min_t(unsigned int, in cxgbi_conn_alloc_pdu()
1851 tdata->skb = alloc_skb(cdev->skb_tx_rsvd + headroom, GFP_ATOMIC); in cxgbi_conn_alloc_pdu()
1869 task, opcode, tdata->skb, cdev->skb_tx_rsvd, headroom, in cxgbi_conn_alloc_pdu()
2119 unsigned int headroom = SKB_MAX_HEAD(cdev->skb_tx_rsvd); in cxgbi_conn_max_xmit_dlength() local
2121 unsigned int max = max(max_def, headroom); in cxgbi_conn_max_xmit_dlength()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.h121 u32 headroom, int strategy);
Dixgbe_82598.c1132 u32 headroom, int strategy) in ixgbe_set_rxpba_82598() argument
Dixgbe_common.c3468 u32 headroom, in ixgbe_set_rxpba_generic() argument
3476 pbsize -= headroom; in ixgbe_set_rxpba_generic()
/drivers/s390/net/
Dqeth_core_main.c5221 int headroom = 0; in qeth_core_get_next_skb() local
5243 headroom = ETH_HLEN; in qeth_core_get_next_skb()
5247 headroom = sizeof(struct qeth_hdr); in qeth_core_get_next_skb()
5262 skb = dev_alloc_skb(skb_len + headroom); in qeth_core_get_next_skb()
5265 if (headroom) in qeth_core_get_next_skb()
5266 skb_reserve(skb, headroom); in qeth_core_get_next_skb()

12