Home
last modified time | relevance | path

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

12

/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.c151 int headroom = skb_headroom(skb); in genelink_tx_fixup() local
160 && ((headroom + tailroom) >= (padlen + (4 + 4*1)))) { in genelink_tx_fixup()
161 if ((headroom < (4 + 4*1)) || (tailroom < padlen)) { in genelink_tx_fixup()
Dint51x1.c71 int headroom = skb_headroom(skb); in int51x1_tx_fixup() local
88 (headroom + tailroom >= need_tail + INT51X1_HEADER_SIZE)) { in int51x1_tx_fixup()
89 if (headroom < INT51X1_HEADER_SIZE || tailroom < need_tail) { in int51x1_tx_fixup()
Dcdc_eem.c124 int headroom = skb_headroom(skb); in eem_tx_fixup() local
128 (headroom >= EEM_HEAD)) in eem_tx_fixup()
131 if ((headroom + tailroom) in eem_tx_fixup()
Dkalmia.c176 int headroom = skb_headroom(skb); in kalmia_tx_fixup() local
179 if ((tailroom >= KALMIA_ALIGN_SIZE) && (headroom in kalmia_tx_fixup()
183 if ((headroom + tailroom) > (KALMIA_HEADER_LENGTH in kalmia_tx_fixup()
Dlg-vl600.c268 int headroom = skb_headroom(skb); in vl600_tx_fixup() local
272 headroom >= sizeof(*frame)) in vl600_tx_fixup()
276 if (headroom + tailroom + skb->len >= full_len) { in vl600_tx_fixup()
Dnet1080.c445 int headroom = skb_headroom(skb); in net1080_tx_fixup() local
449 sizeof(struct nc_header) <= headroom) in net1080_tx_fixup()
454 (headroom + tailroom)) { in net1080_tx_fixup()
Dasix_common.c144 int headroom = skb_headroom(skb); in asix_tx_fixup() local
165 headroom + tailroom >= 4 + padlen) { in asix_tx_fixup()
167 if (headroom < 4 || in asix_tx_fixup()
Dax88179_178a.c1168 int headroom; in ax88179_tx_fixup() local
1177 headroom = skb_headroom(skb); in ax88179_tx_fixup()
1182 (headroom + tailroom) >= 8) { in ax88179_tx_fixup()
1183 if (headroom < 8) { in ax88179_tx_fixup()
/drivers/net/wireless/mwifiex/
D11n_aggr.c152 struct mwifiex_ra_list_tbl *pra_list, int headroom, in mwifiex_11n_aggregate_pkt() argument
178 skb_reserve(skb_aggr, headroom + sizeof(struct txpd)); in mwifiex_11n_aggregate_pkt()
230 skb_push(skb_aggr, headroom); in mwifiex_11n_aggregate_pkt()
D11n_aggr.h29 struct mwifiex_ra_list_tbl *ptr, int headroom,
/drivers/net/wireless/ath/ath9k/
Dwmi.c290 u16 headroom = sizeof(struct htc_frame_hdr) + in ath9k_wmi_cmd() local
300 skb = alloc_skb(headroom + cmd_len, GFP_ATOMIC); in ath9k_wmi_cmd()
304 skb_reserve(skb, headroom); in ath9k_wmi_cmd()
/drivers/net/wireless/p54/
Dp54.h55 u8 headroom; member
182 u8 headroom; member
Dfwio.c89 priv->headroom = desc->headroom; in p54_parse_firmware()
Dtxrx.c92 u16 len = priv->headroom + skb->len + priv->tailroom + 3; in p54_assign_address()
141 data->req_id = cpu_to_le32(target_addr + priv->headroom); in p54_assign_address()
/drivers/net/wireless/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/net/wireless/ath/wil6210/
Dtxrx.c150 u32 i, int headroom) in wil_vring_alloc_skb() argument
158 struct sk_buff *skb = dev_alloc_skb(sz + headroom); in wil_vring_alloc_skb()
162 skb_reserve(skb, headroom); in wil_vring_alloc_skb()
408 int headroom = ndev->type == ARPHRD_IEEE80211_RADIOTAP ? in wil_rx_refill() local
414 rc = wil_vring_alloc_skb(wil, v, v->swtail, headroom); in wil_rx_refill()
/drivers/staging/csr/
Dnetdev.c829 int headroom; in skb_add_llc_snap() local
832 headroom = skb_headroom(skb); in skb_add_llc_snap()
847 if (headroom < 14) { in skb_add_llc_snap()
873 if (headroom < sizeof(llc_snap_hdr_t)) { in skb_add_llc_snap()
1006 int headroom; in skb_80211_to_ether() local
1025 headroom = skb_headroom(skb); in skb_80211_to_ether()
1049 if (headroom < (2 * ETH_ALEN + 2)) { in skb_80211_to_ether()
1121 if (headroom < (2 * ETH_ALEN + 2)) { in skb_80211_to_ether()
1194 int headroom =0; in prepare_and_add_macheader() local
1271 headroom = skb_headroom(skb); in prepare_and_add_macheader()
[all …]
Dunifi_pdu_processing.c1263 int headroom; in update_macheader() local
1275 headroom = skb_headroom(skb); in update_macheader()
1342 if (headroom < macHeaderLengthInBytes) { in update_macheader()
1370 if (headroom < macHeaderLengthInBytes) { in update_macheader()
1409 if (headroom < macHeaderLengthInBytes) { in update_macheader()
1439 if (headroom < macHeaderLengthInBytes) { in update_macheader()
/drivers/usb/gadget/
Df_eem.c341 int headroom = skb_headroom(skb); in eem_wrap() local
351 (headroom >= EEM_HLEN)) in eem_wrap()
/drivers/net/caif/
Dcaif_virtio.c695 GET_VIRTIO_CONFIG_OPS(vdev, cfv->tx_hr, headroom); in cfv_probe()
696 GET_VIRTIO_CONFIG_OPS(vdev, cfv->rx_hr, headroom); in cfv_probe()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.h111 u32 headroom, int strategy);
Dixgbe_82598.c1236 static void ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb, u32 headroom, in ixgbe_set_rxpba_82598() argument
/drivers/scsi/cxgbi/
Dlibcxgbi.c1859 int headroom = SKB_TX_ISCSI_PDU_HEADER_MAX; in cxgbi_conn_alloc_pdu() local
1869 headroom += min_t(unsigned int, in cxgbi_conn_alloc_pdu()
1873 tdata->skb = alloc_skb(cdev->skb_tx_rsvd + headroom, GFP_ATOMIC); in cxgbi_conn_alloc_pdu()
1891 task, opcode, tdata->skb, cdev->skb_tx_rsvd, headroom, in cxgbi_conn_alloc_pdu()
2114 unsigned int headroom = SKB_MAX_HEAD(cdev->skb_tx_rsvd); in cxgbi_conn_max_xmit_dlength() local
2116 unsigned int max = max(max_def, headroom); in cxgbi_conn_max_xmit_dlength()
/drivers/s390/net/
Dqeth_core_main.c4989 int headroom = 0; in qeth_core_get_next_skb() local
5011 headroom = ETH_HLEN; in qeth_core_get_next_skb()
5015 headroom = sizeof(struct qeth_hdr); in qeth_core_get_next_skb()
5030 skb = dev_alloc_skb(skb_len + headroom); in qeth_core_get_next_skb()
5033 if (headroom) in qeth_core_get_next_skb()
5034 skb_reserve(skb, headroom); in qeth_core_get_next_skb()

12