/linux/drivers/net/ethernet/mellanox/mlxbf_gige/ |
H A D | mlxbf_gige_tx.c | 67 if (priv->tx_skb[i]) { in mlxbf_gige_tx_deinit() 69 priv->tx_skb[i]->len, DMA_TO_DEVICE); in mlxbf_gige_tx_deinit() 70 dev_kfree_skb(priv->tx_skb[i]); in mlxbf_gige_tx_deinit() 71 priv->tx_skb[i] = NULL; in mlxbf_gige_tx_deinit() 159 priv->tx_skb[tx_wqe_index]->len, DMA_TO_DEVICE); in mlxbf_gige_handle_tx_complete() 160 dev_consume_skb_any(priv->tx_skb[tx_wqe_index]); in mlxbf_gige_handle_tx_complete() 161 priv->tx_skb[tx_wqe_index] = NULL; in mlxbf_gige_handle_tx_complete() 196 struct sk_buff *tx_skb; in mlxbf_gige_start_xmit() local 218 tx_skb = mlxbf_gige_alloc_skb(priv, skb->len, in mlxbf_gige_start_xmit() 220 if (!tx_skb) { in mlxbf_gige_start_xmit() [all...] |
/linux/drivers/isdn/mISDN/ |
H A D | hwchannel.c | 63 ch->tx_skb = NULL; in mISDN_initdchannel() 87 ch->tx_skb = NULL; in mISDN_initbchannel() 100 if (ch->tx_skb) { in mISDN_freedchannel() 101 dev_kfree_skb(ch->tx_skb); in mISDN_freedchannel() 102 ch->tx_skb = NULL; in mISDN_freedchannel() 118 if (ch->tx_skb) { in mISDN_clear_bchannel() 119 dev_kfree_skb(ch->tx_skb); in mISDN_clear_bchannel() 120 ch->tx_skb = NULL; in mISDN_clear_bchannel() 311 skb = _alloc_mISDN_skb(PH_DATA_CNF, mISDN_HEAD_ID(dch->tx_skb), in confirm_Dsend() 315 mISDN_HEAD_ID(dch->tx_skb)); in confirm_Dsend() [all...] |
/linux/drivers/net/ethernet/ni/ |
H A D | nixge.c | 194 struct nixge_tx_skb *tx_skb; member 272 if (priv->tx_skb) in nixge_hw_dma_bd_release() 273 devm_kfree(ndev->dev.parent, priv->tx_skb); in nixge_hw_dma_bd_release() 302 priv->tx_skb = devm_kcalloc(ndev->dev.parent, in nixge_hw_dma_bd_init() 303 TX_BD_NUM, sizeof(*priv->tx_skb), in nixge_hw_dma_bd_init() 305 if (!priv->tx_skb) in nixge_hw_dma_bd_init() 441 struct nixge_tx_skb *tx_skb) in nixge_tx_skb_unmap() argument 443 if (tx_skb->mapping) { in nixge_tx_skb_unmap() 444 if (tx_skb->mapped_as_page) in nixge_tx_skb_unmap() 445 dma_unmap_page(priv->ndev->dev.parent, tx_skb in nixge_tx_skb_unmap() 464 struct nixge_tx_skb *tx_skb; nixge_start_xmit_done() local 511 struct nixge_tx_skb *tx_skb; nixge_start_xmit() local 794 struct nixge_tx_skb *tx_skb; nixge_dma_err_handler() local [all...] |
/linux/drivers/net/wwan/t7xx/ |
H A D | t7xx_port_wwan.c | 58 struct sk_buff *cur = skb, *tx_skb; in t7xx_port_fastboot_tx() local 70 tx_skb = __dev_alloc_skb(len, GFP_KERNEL); in t7xx_port_fastboot_tx() 71 if (!tx_skb) in t7xx_port_fastboot_tx() 74 skb_put_data(tx_skb, cur->data + offset, len); in t7xx_port_fastboot_tx() 76 ret = t7xx_port_send_raw_skb(port, tx_skb); in t7xx_port_fastboot_tx() 78 dev_kfree_skb(tx_skb); in t7xx_port_fastboot_tx()
|
/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ptp.c | 19 struct sk_buff *tx_skb; member 158 dev_kfree_skb_any(ptp->tx_skb); in qede_ptp_task() 159 ptp->tx_skb = NULL; in qede_ptp_task() 173 skb_tstamp_tx(ptp->tx_skb, &shhwtstamps); in qede_ptp_task() 174 dev_kfree_skb_any(ptp->tx_skb); in qede_ptp_task() 175 ptp->tx_skb = NULL; in qede_ptp_task() 378 if (ptp->tx_skb) { in qede_ptp_disable() 379 dev_kfree_skb_any(ptp->tx_skb); in qede_ptp_disable() 380 ptp->tx_skb = NULL; in qede_ptp_disable() 505 } else if (unlikely(ptp->tx_skb)) { in qede_ptp_tx_ts() [all...] |
/linux/drivers/bluetooth/ |
H A D | hci_serdev.c | 46 struct sk_buff *skb = hu->tx_skb; in hci_uart_dequeue() 52 hu->tx_skb = NULL; in hci_uart_dequeue() 79 hu->tx_skb = skb; in hci_uart_write_work() 100 if (hu->tx_skb) { in hci_uart_flush() 101 kfree_skb(hu->tx_skb); hu->tx_skb = NULL; in hci_uart_flush()
|
H A D | hci_ldisc.c | 100 struct sk_buff *skb = hu->tx_skb; in hci_uart_dequeue() 111 hu->tx_skb = NULL; in hci_uart_dequeue() 170 hu->tx_skb = skb; in hci_uart_write_work() 234 if (hu->tx_skb) { in hci_uart_flush() 235 kfree_skb(hu->tx_skb); hu->tx_skb = NULL; in hci_uart_flush()
|
/linux/drivers/net/dsa/hirschmann/ |
H A D | hellcreek_hwtstamp.c | 216 if (!ps->tx_skb) in hellcreek_txtstamp_work() 264 tmp_skb = ps->tx_skb; in hellcreek_txtstamp_work() 265 ps->tx_skb = NULL; in hellcreek_txtstamp_work() 269 * ps->tx_skb "flag" beforehand in hellcreek_txtstamp_work() 273 /* Deliver a clone of the original outgoing tx_skb with tx hwtstamp */ in hellcreek_txtstamp_work() 279 dev_kfree_skb_any(ps->tx_skb); in hellcreek_txtstamp_work() 280 ps->tx_skb = NULL; in hellcreek_txtstamp_work() 392 ps->tx_skb = clone; in hellcreek_port_txtstamp()
|
/linux/drivers/net/ethernet/natsemi/ |
H A D | sonic.c | 202 if(lp->tx_skb[i]) { in sonic_close() 203 dev_kfree_skb(lp->tx_skb[i]); in sonic_close() 204 lp->tx_skb[i] = NULL; in sonic_close() 243 if(lp->tx_skb[i]) { in sonic_tx_timeout() 244 dev_kfree_skb(lp->tx_skb[i]); in sonic_tx_timeout() 245 lp->tx_skb[i] = NULL; in sonic_tx_timeout() 261 * set tx_skb[i] 266 * reset tx_skb[i] 323 lp->tx_skb[entry] = skb; in sonic_send_packet() 328 if (lp->tx_skb[entr in sonic_send_packet() [all...] |
/linux/net/nfc/nci/ |
H A D | uart.c | 41 struct sk_buff *skb = nu->tx_skb; in nci_uart_dequeue() 46 nu->tx_skb = NULL; in nci_uart_dequeue() 53 if (nu->tx_skb) in nci_uart_queue_empty() 90 nu->tx_skb = skb; in nci_uart_write_work() 183 kfree_skb(nu->tx_skb); in nci_uart_tty_close()
|
/linux/drivers/net/can/spi/ |
H A D | hi311x.c | 155 struct sk_buff *tx_skb; member 179 if (priv->tx_skb || priv->tx_busy) in hi3110_clean() 181 dev_kfree_skb(priv->tx_skb); in hi3110_clean() 184 priv->tx_skb = NULL; in hi3110_clean() 371 if (priv->tx_skb || priv->tx_busy) { in hi3110_hard_start_xmit() 380 priv->tx_skb = skb; in hi3110_hard_start_xmit() 580 if (priv->tx_skb) { in hi3110_tx_work_handler() 584 frame = (struct can_frame *)priv->tx_skb->data; in hi3110_tx_work_handler() 587 can_put_echo_skb(priv->tx_skb, net, 0, 0); in hi3110_tx_work_handler() 588 priv->tx_skb in hi3110_tx_work_handler() [all...] |
H A D | mcp251x.c | 238 struct sk_buff *tx_skb; member 275 if (priv->tx_skb || priv->tx_busy) in mcp251x_clean() 277 dev_kfree_skb(priv->tx_skb); in mcp251x_clean() 280 priv->tx_skb = NULL; in mcp251x_clean() 799 if (priv->tx_skb || priv->tx_busy) { in mcp251x_hard_start_xmit() 808 priv->tx_skb = skb; in mcp251x_hard_start_xmit() 1013 if (priv->tx_skb) { in mcp251x_tx_work_handler() 1017 frame = (struct can_frame *)priv->tx_skb->data; in mcp251x_tx_work_handler() 1023 can_put_echo_skb(priv->tx_skb, net, 0, 0); in mcp251x_tx_work_handler() 1024 priv->tx_skb in mcp251x_tx_work_handler() [all...] |
/linux/drivers/isdn/hardware/mISDN/ |
H A D | hfcsusb.c | 336 if (dch->tx_skb) { in hfcusb_l2l1D() 337 __skb_queue_tail(&free_queue, dch->tx_skb); in hfcusb_l2l1D() 338 dch->tx_skb = NULL; in hfcusb_l2l1D() 385 if (dch->tx_skb) { in hfc_l1callback() 386 dev_kfree_skb(dch->tx_skb); in hfc_l1callback() 387 dch->tx_skb = NULL; in hfc_l1callback() 1163 struct sk_buff *tx_skb; in tx_iso_complete() local 1180 tx_skb = fifo->dch->tx_skb; in tx_iso_complete() 1184 tx_skb in tx_iso_complete() [all...] |
H A D | w6692.c | 282 if (!dch->tx_skb) in W6692_fill_Dfifo() 284 count = dch->tx_skb->len - dch->tx_idx; in W6692_fill_Dfifo() 291 ptr = dch->tx_skb->data + dch->tx_idx; in W6692_fill_Dfifo() 323 } else if (dch->tx_skb) { /* should not happen */ in d_retransmit() 376 if (card->dch.tx_skb && card->dch.tx_idx < card->dch.tx_skb->len) { in handle_txD() 379 dev_kfree_skb(card->dch.tx_skb); in handle_txD() 492 if (!wch->bch.tx_skb) { in W6692_fill_Bfifo() 499 count = wch->bch.tx_skb->len - wch->bch.tx_idx; in W6692_fill_Bfifo() 502 ptr = wch->bch.tx_skb in W6692_fill_Bfifo() [all...] |
H A D | mISDNipac.c | 143 if (!isac->dch.tx_skb) in isac_fill_fifo() 145 count = isac->dch.tx_skb->len - isac->dch.tx_idx; in isac_fill_fifo() 155 ptr = isac->dch.tx_skb->data + isac->dch.tx_idx; in isac_fill_fifo() 210 if (isac->dch.tx_skb && isac->dch.tx_idx < isac->dch.tx_skb->len) { in isac_xpr_irq() 213 dev_kfree_skb(isac->dch.tx_skb); in isac_xpr_irq() 228 } else if (isac->dch.tx_skb) { /* should not happen */ in isac_retransmit() 229 pr_info("%s: tx_skb exist but not busy\n", isac->name); in isac_retransmit() 657 if (dch->tx_skb) { in isac_l1cmd() 658 dev_kfree_skb(dch->tx_skb); in isac_l1cmd() [all...] |
H A D | avmfritz.c | 450 if (!bch->tx_skb) { in hdlc_fill_fifo() 457 count = bch->tx_skb->len - bch->tx_idx; in hdlc_fill_fifo() 460 p = bch->tx_skb->data + bch->tx_idx; in hdlc_fill_fifo() 472 bch->tx_idx, bch->tx_skb->len); in hdlc_fill_fifo() 510 if (bch->tx_skb && bch->tx_idx < bch->tx_skb->len) { in HDLC_irq_xpr() 513 dev_kfree_skb(bch->tx_skb); in HDLC_irq_xpr() 579 stat, bch->tx_skb ? "tx_skb" : "no tx_skb"); in HDLC_irq() [all...] |
/linux/drivers/net/ethernet/microchip/ |
H A D | encx24j600.c | 51 struct sk_buff *tx_skb; member 303 if (!priv->tx_skb) { in encx24j600_tx_complete() 315 dev->stats.tx_bytes += priv->tx_skb->len; in encx24j600_tx_complete() 321 dev_kfree_skb(priv->tx_skb); in encx24j600_tx_complete() 322 priv->tx_skb = NULL; in encx24j600_tx_complete() 834 priv->tx_skb->len); in encx24j600_hw_tx() 837 dump_packet("TX", priv->tx_skb->len, priv->tx_skb->data); in encx24j600_hw_tx() 852 encx24j600_raw_write(priv, WGPDATA, (u8 *)priv->tx_skb->data, in encx24j600_hw_tx() 853 priv->tx_skb in encx24j600_hw_tx() [all...] |
H A D | enc28j60.c | 59 struct sk_buff *tx_skb; member 1079 if (priv->tx_skb) { in enc28j60_tx_clear() 1081 ndev->stats.tx_bytes += priv->tx_skb->len; in enc28j60_tx_clear() 1082 dev_kfree_skb(priv->tx_skb); in enc28j60_tx_clear() 1083 priv->tx_skb = NULL; in enc28j60_tx_clear() 1239 BUG_ON(!priv->tx_skb); in enc28j60_hw_tx() 1243 priv->tx_skb->len); in enc28j60_hw_tx() 1247 priv->tx_skb->len, priv->tx_skb->data); in enc28j60_hw_tx() 1248 enc28j60_packet_write(priv, priv->tx_skb in enc28j60_hw_tx() [all...] |
/linux/drivers/net/mctp/ |
H A D | mctp-i3c.c | 54 /* tx_lock protects tx_skb and devs */ 57 struct sk_buff *tx_skb; member 435 skb = mbus->tx_skb; in mctp_i3c_tx_thread() 436 mbus->tx_skb = NULL; in mctp_i3c_tx_thread() 447 mbus->tx_skb || kthread_should_stop()); in mctp_i3c_tx_thread() 462 if (mbus->tx_skb) { in mctp_i3c_start_xmit() 466 mbus->tx_skb = skb; in mctp_i3c_start_xmit() 492 kfree_skb(mbus->tx_skb); in mctp_i3c_bus_free()
|
/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | hwtstamp.c | 367 if (!ps->tx_skb) in mv88e6xxx_txtstamp_work() 424 * -- by clearing the ps->tx_skb "flag" -- beforehand. in mv88e6xxx_txtstamp_work() 427 tmp_skb = ps->tx_skb; in mv88e6xxx_txtstamp_work() 428 ps->tx_skb = NULL; in mv88e6xxx_txtstamp_work() 435 dev_kfree_skb_any(ps->tx_skb); in mv88e6xxx_txtstamp_work() 436 ps->tx_skb = NULL; in mv88e6xxx_txtstamp_work() 490 ps->tx_skb = clone; in mv88e6xxx_port_txtstamp()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_ptp.c | 72 ptp->tx_skb = skb_get(skb); in hclge_ptp_set_tx_info() 80 struct sk_buff *skb = hdev->ptp->tx_skb; in hclge_ptp_clean_tx_hwts() 94 hdev->ptp->tx_skb = NULL; in hclge_ptp_clean_tx_hwts() 548 if (ptp->tx_skb) { in hclge_ptp_uninit() 549 struct sk_buff *skb = ptp->tx_skb; in hclge_ptp_uninit() 551 ptp->tx_skb = NULL; in hclge_ptp_uninit()
|
/linux/include/linux/ |
H A D | mISDNhw.h | 94 struct sk_buff *tx_skb; member 160 struct sk_buff *tx_skb; member
|
/linux/drivers/net/ethernet/nvidia/ |
H A D | forcedeth.c | 828 struct nv_skb_map *tx_skb; member 1038 kfree(np->tx_skb); in free_rings() 1943 np->get_tx_ctx = np->tx_skb; in nv_init_tx() 1944 np->put_tx_ctx = np->tx_skb; in nv_init_tx() 1945 np->last_tx_ctx = &np->tx_skb[np->tx_ring_size-1]; in nv_init_tx() 1962 np->tx_skb[i].skb = NULL; in nv_init_tx() 1963 np->tx_skb[i].dma = 0; in nv_init_tx() 1964 np->tx_skb[i].dma_len = 0; in nv_init_tx() 1965 np->tx_skb[i].dma_single = 0; in nv_init_tx() 1966 np->tx_skb[ in nv_init_tx() 1984 nv_unmap_txskb(struct fe_priv * np,struct nv_skb_map * tx_skb) nv_unmap_txskb() argument 1999 nv_release_txskb(struct fe_priv * np,struct nv_skb_map * tx_skb) nv_release_txskb() argument 5127 struct sk_buff *tx_skb, *rx_skb; nv_loopback_test() local [all...] |
/linux/drivers/net/ethernet/ezchip/ |
H A D | nps_enet.c | 21 return (!tx_ctrl_ct && priv->tx_skb); in nps_enet_is_tx_pending() 159 dev_kfree_skb(priv->tx_skb); in nps_enet_tx_handler() 160 priv->tx_skb = NULL; in nps_enet_tx_handler() 472 priv->tx_skb = NULL; in nps_enet_open() 539 priv->tx_skb = skb; in nps_enet_start_xmit() 541 /* make sure tx_skb is actually written to the memory in nps_enet_start_xmit()
|
/linux/drivers/net/ethernet/ |
H A D | korina.c | 344 struct sk_buff *tx_skb[KORINA_NUM_TDS]; member 447 lp->tx_skb[idx] = skb; in korina_send_packet() 792 lp->tx_skb[lp->tx_next_done]->len; in korina_tx() 819 if (lp->tx_skb[lp->tx_next_done]) { in korina_tx() 822 lp->tx_skb[lp->tx_next_done]->len, in korina_tx() 824 dev_kfree_skb_any(lp->tx_skb[lp->tx_next_done]); in korina_tx() 825 lp->tx_skb[lp->tx_next_done] = NULL; in korina_tx() 1054 if (lp->tx_skb[i]) { in korina_free_ring() 1056 lp->tx_skb[i]->len, DMA_TO_DEVICE); in korina_free_ring() 1057 dev_kfree_skb_any(lp->tx_skb[ in korina_free_ring() [all...] |