Searched refs:tx_skb (Results 1 - 25 of 96) sorted by last modified time

1234

/linux-master/net/bluetooth/
H A Dl2cap_core.c1961 struct sk_buff *skb, *tx_skb; local
1999 tx_skb = skb_clone(skb, GFP_KERNEL);
2001 if (!tx_skb)
2016 l2cap_do_send(chan, tx_skb);
2030 struct sk_buff *tx_skb; local
2069 tx_skb = skb_copy(skb, GFP_KERNEL);
2071 tx_skb = skb_clone(skb, GFP_KERNEL);
2074 if (!tx_skb) {
2082 tx_skb->data + L2CAP_HDR_SIZE);
2085 tx_skb
[all...]
/linux-master/drivers/ptp/
H A Dptp_ines.c153 /* lock protects event list and tx_skb */
155 struct sk_buff *tx_skb; member in struct:ines_port
629 if (port->tx_skb)
630 old_skb = port->tx_skb;
632 port->tx_skb = skb;
651 skb = port->tx_skb;
652 port->tx_skb = NULL;
/linux-master/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c1235 struct sk_buff *tx_skb,
1242 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx_skb);
1253 skb = skb_copy_expand(tx_skb, sizeof(*hdr), 0, GFP_ATOMIC);
1234 mac80211_hwsim_monitor_rx(struct ieee80211_hw *hw, struct sk_buff *tx_skb, struct ieee80211_channel *chan) argument
/linux-master/drivers/net/wireless/quantenna/qtnfmac/pcie/
H A Dpearl_pcie.c369 if (priv->tx_skb && priv->tx_skb[i]) {
371 skb = priv->tx_skb[i];
377 priv->tx_skb[i] = NULL;
483 skb = priv->tx_skb[i];
502 priv->tx_skb[i] = NULL;
559 priv->tx_skb[i] = skb;
H A Dtopaz_pcie.c320 if (priv->tx_skb && priv->tx_skb[i]) {
322 skb = priv->tx_skb[i];
327 priv->tx_skb[i] = NULL;
412 skb = priv->tx_skb[i];
431 priv->tx_skb[i] = NULL;
522 priv->tx_skb[i] = skb;
H A Dpcie.c70 len = priv->tx_bd_num * sizeof(*priv->tx_skb) +
77 priv->tx_skb = vaddr;
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dtx.c262 if (skb == phy->test.tx_skb)
H A Dtestmode.c36 struct sk_buff *skb = td->tx_skb;
97 dev_kfree_skb(td->tx_skb);
98 td->tx_skb = NULL;
171 td->tx_skb = head;
196 info = IEEE80211_SKB_CB(td->tx_skb);
H A Dmt76.h703 struct sk_buff *tx_skb; member in struct:mt76_testmode_data
1337 if (phy && skb == phy->test.tx_skb) {
H A Ddma.c617 if (tx_info.skb == phy->test.tx_skb)
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c629 if (skb != phy->mt76->test.tx_skb)
/linux-master/drivers/net/ethernet/renesas/
H A Dravb_main.c236 if (priv->tx_skb[q][entry / num_tx_desc]) {
242 dev_kfree_skb_any(priv->tx_skb[q][entry]);
243 priv->tx_skb[q][entry] = NULL;
316 kfree(priv->tx_skb[q]);
317 priv->tx_skb[q] = NULL;
420 priv->tx_skb[q] = kcalloc(priv->num_tx_ring[q],
421 sizeof(*priv->tx_skb[q]), GFP_KERNEL);
422 if (!priv->rx_skb[q] || !priv->tx_skb[q])
2082 priv->tx_skb[q][entry / num_tx_desc] = skb;
2184 priv->tx_skb[
[all...]
/linux-master/drivers/net/ethernet/realtek/
H A Dr8169_main.c620 struct ring_info tx_skb[NUM_TX_DESC]; /* Tx data buffers */ member in struct:rtl8169_private
4010 memset(tp->tx_skb, 0, sizeof(tp->tx_skb));
4018 struct ring_info *tx_skb = tp->tx_skb + entry; local
4021 dma_unmap_single(tp_to_dev(tp), le64_to_cpu(desc->addr), tx_skb->len,
4024 memset(tx_skb, 0, sizeof(*tx_skb));
4034 struct ring_info *tx_skb = tp->tx_skb local
[all...]
H A D8139cp.c344 struct sk_buff *tx_skb[CP_TX_RING_SIZE]; member in struct:cp_private
664 skb = cp->tx_skb[tx_tail];
697 cp->tx_skb[tx_tail] = NULL;
723 cp->tx_skb[index] = NULL;
797 cp->tx_skb[entry] = skb;
817 cp->tx_skb[entry] = skb;
851 cp->tx_skb[entry] = skb;
1148 if (cp->tx_skb[i]) {
1149 struct sk_buff *skb = cp->tx_skb[i];
1167 memset(cp->tx_skb,
[all...]
/linux-master/drivers/net/ethernet/nvidia/
H A Dforcedeth.c828 struct nv_skb_map *tx_skb; member in struct:fe_priv
1038 kfree(np->tx_skb);
1957 np->get_tx_ctx = np->tx_skb;
1958 np->put_tx_ctx = np->tx_skb;
1959 np->last_tx_ctx = &np->tx_skb[np->tx_ring_size-1];
1976 np->tx_skb[i].skb = NULL;
1977 np->tx_skb[i].dma = 0;
1978 np->tx_skb[i].dma_len = 0;
1979 np->tx_skb[i].dma_single = 0;
1980 np->tx_skb[
1998 nv_unmap_txskb(struct fe_priv *np, struct nv_skb_map *tx_skb) argument
2013 nv_release_txskb(struct fe_priv *np, struct nv_skb_map *tx_skb) argument
5141 struct sk_buff *tx_skb, *rx_skb; local
[all...]
/linux-master/drivers/net/ethernet/ni/
H A Dnixge.c194 struct nixge_tx_skb *tx_skb; member in struct:nixge_priv
272 if (priv->tx_skb)
273 devm_kfree(ndev->dev.parent, priv->tx_skb);
302 priv->tx_skb = devm_kcalloc(ndev->dev.parent,
303 TX_BD_NUM, sizeof(*priv->tx_skb),
305 if (!priv->tx_skb)
441 struct nixge_tx_skb *tx_skb)
443 if (tx_skb->mapping) {
444 if (tx_skb->mapped_as_page)
445 dma_unmap_page(priv->ndev->dev.parent, tx_skb
440 nixge_tx_skb_unmap(struct nixge_priv *priv, struct nixge_tx_skb *tx_skb) argument
464 struct nixge_tx_skb *tx_skb; local
511 struct nixge_tx_skb *tx_skb; local
794 struct nixge_tx_skb *tx_skb; local
[all...]
/linux-master/drivers/net/ethernet/microchip/
H A Dencx24j600.c51 struct sk_buff *tx_skb; member in struct:encx24j600_priv
303 if (!priv->tx_skb) {
315 dev->stats.tx_bytes += priv->tx_skb->len;
321 dev_kfree_skb(priv->tx_skb);
322 priv->tx_skb = NULL;
834 priv->tx_skb->len);
837 dump_packet("TX", priv->tx_skb->len, priv->tx_skb->data);
852 encx24j600_raw_write(priv, WGPDATA, (u8 *)priv->tx_skb->data,
853 priv->tx_skb
[all...]
/linux-master/drivers/net/ethernet/marvell/
H A Dpxa168_eth.c215 struct sk_buff **tx_skb; member in struct:pxa168_eth_private
726 skb = pep->tx_skb[tx_index];
728 pep->tx_skb[tx_index] = NULL;
1086 pep->tx_skb = kcalloc(tx_desc_num, sizeof(*pep->tx_skb), GFP_KERNEL);
1087 if (!pep->tx_skb)
1110 kfree(pep->tx_skb);
1125 kfree(pep->tx_skb);
1262 pep->tx_skb[tx_index] = skb;
H A Dmv643xx_eth.c360 struct sk_buff_head tx_skb; member in struct:tx_queue
869 __skb_queue_tail(&txq->tx_skb, skb);
973 __skb_queue_tail(&txq->tx_skb, skb);
1106 struct sk_buff *skb = __skb_dequeue(&txq->tx_skb);
2107 skb_queue_head_init(&txq->tx_skb);
/linux-master/drivers/net/ethernet/ibm/emac/
H A Dcore.c1146 if (dev->tx_skb[i]) {
1147 dev_kfree_skb(dev->tx_skb[i]);
1148 dev->tx_skb[i] = NULL;
1473 dev->tx_skb[slot] = skb;
1499 dev->tx_skb[slot] = NULL;
1542 dev->tx_skb[slot] = NULL;
1569 dev->tx_skb[slot] = skb;
1645 struct sk_buff *skb = dev->tx_skb[slot];
1650 dev->tx_skb[slot] = NULL;
3134 memset(dev->tx_skb,
[all...]
/linux-master/drivers/net/ethernet/cadence/
H A Dmacb_main.c198 return &queue->tx_skb[macb_tx_ring_wrap(queue->bp, index)];
1029 static void macb_tx_unmap(struct macb *bp, struct macb_tx_skb *tx_skb, int budget) argument
1031 if (tx_skb->mapping) {
1032 if (tx_skb->mapped_as_page)
1033 dma_unmap_page(&bp->pdev->dev, tx_skb->mapping,
1034 tx_skb->size, DMA_TO_DEVICE);
1036 dma_unmap_single(&bp->pdev->dev, tx_skb->mapping,
1037 tx_skb->size, DMA_TO_DEVICE);
1038 tx_skb->mapping = 0;
1041 if (tx_skb
1090 struct macb_tx_skb *tx_skb; local
1243 struct macb_tx_skb *tx_skb; local
2036 struct macb_tx_skb *tx_skb = NULL; local
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.h90 struct sk_buff *tx_skb; member in struct:bnxt_ptp_cfg
H A Dbnxt_ptp.c698 skb_tstamp_tx(ptp->tx_skb, &timestamp);
708 dev_kfree_skb_any(ptp->tx_skb);
709 ptp->tx_skb = NULL;
721 if (ptp->tx_skb)
722 bnxt_stamp_tx_skb(bp, ptp->tx_skb);
744 if (ptp->tx_skb) {
748 ptp->tx_skb = skb;
1012 if (ptp->tx_skb) {
1013 dev_kfree_skb_any(ptp->tx_skb);
1014 ptp->tx_skb
[all...]
/linux-master/drivers/net/ethernet/broadcom/
H A Dbcm63xx_enet.c455 skb = priv->tx_skb[priv->tx_dirty_desc];
456 priv->tx_skb[priv->tx_dirty_desc] = NULL;
619 priv->tx_skb[priv->tx_curr_desc] = skb;
984 priv->tx_skb = kcalloc(priv->tx_ring_size, sizeof(struct sk_buff *),
986 if (!priv->tx_skb) {
1114 kfree(priv->tx_skb);
1220 kfree(priv->tx_skb);
2152 priv->tx_skb = kcalloc(priv->tx_ring_size, sizeof(struct sk_buff *),
2154 if (!priv->tx_skb) {
2319 kfree(priv->tx_skb);
[all...]
/linux-master/drivers/net/ethernet/3com/
H A D3c515.c305 struct sk_buff *tx_skb; /* Packet being eaten by bus master ctrl. */ member in struct:corkscrew_private
1055 vp->tx_skb = skb;
1182 dev_consume_skb_irq(lp->tx_skb); /* Release the transferred buffer */

Completed in 567 milliseconds

1234