Home
last modified time | relevance | path

Searched refs:txreq_cache (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dvnic_sdma.c88 kmem_cache_free(vnic_sdma->dd->vnic.txreq_cache, tx); in vnic_sdma_complete()
182 tx = kmem_cache_alloc(dd->vnic.txreq_cache, GFP_ATOMIC); in hfi1_vnic_send_dma()
210 kmem_cache_free(dd->vnic.txreq_cache, tx); in hfi1_vnic_send_dma()
310 dd->vnic.txreq_cache = kmem_cache_create(buf, in hfi1_vnic_txreq_init()
314 if (!dd->vnic.txreq_cache) in hfi1_vnic_txreq_init()
321 kmem_cache_destroy(dd->vnic.txreq_cache); in hfi1_vnic_txreq_deinit()
322 dd->vnic.txreq_cache = NULL; in hfi1_vnic_txreq_deinit()
Dipoib_tx.c136 kmem_cache_free(priv->txreq_cache, tx); in hfi1_ipoib_free_tx()
384 tx = kmem_cache_alloc_node(priv->txreq_cache, in hfi1_ipoib_send_dma_common()
414 kmem_cache_free(priv->txreq_cache, tx); in hfi1_ipoib_send_dma_common()
511 kmem_cache_free(priv->txreq_cache, tx); in hfi1_ipoib_send_dma_single()
695 priv->txreq_cache = kmem_cache_create(buf, in hfi1_ipoib_txreq_init()
700 if (!priv->txreq_cache) in hfi1_ipoib_txreq_init()
778 kmem_cache_destroy(priv->txreq_cache); in hfi1_ipoib_txreq_init()
779 priv->txreq_cache = NULL; in hfi1_ipoib_txreq_init()
796 kmem_cache_free(txq->priv->txreq_cache, tx); in hfi1_ipoib_drain_tx_list()
829 kmem_cache_destroy(priv->txreq_cache); in hfi1_ipoib_txreq_deinit()
[all …]
Duser_sdma.c211 pq->txreq_cache = kmem_cache_create(buf, in hfi1_user_sdma_alloc_queues()
216 if (!pq->txreq_cache) { in hfi1_user_sdma_alloc_queues()
250 kmem_cache_destroy(pq->txreq_cache); in hfi1_user_sdma_alloc_queues()
300 kmem_cache_destroy(pq->txreq_cache); in hfi1_user_sdma_free_queues()
820 tx = kmem_cache_alloc(pq->txreq_cache, GFP_KERNEL); in user_sdma_send_pkts()
953 kmem_cache_free(pq->txreq_cache, tx); in user_sdma_send_pkts()
1422 kmem_cache_free(pq->txreq_cache, tx); in user_sdma_txreq_cb()
1451 kmem_cache_free(req->pq->txreq_cache, tx); in user_sdma_free_request()
Dipoib.h105 struct kmem_cache *txreq_cache; member
Duser_sdma.h128 struct kmem_cache *txreq_cache; member
Dhfi.h1053 struct kmem_cache *txreq_cache; member