Home
last modified time | relevance | path

Searched refs:lpfc_mbuf_pool (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/scsi/lpfc/ !
Dlpfc_mem.c92 phba->lpfc_mbuf_pool = dma_pool_create("lpfc_mbuf_pool", &phba->pcidev->dev, in lpfc_mem_alloc()
95 if (!phba->lpfc_mbuf_pool) in lpfc_mem_alloc()
107 pool->elements[i].virt = dma_pool_alloc(phba->lpfc_mbuf_pool, in lpfc_mem_alloc()
180 dma_pool_free(phba->lpfc_mbuf_pool, pool->elements[i].virt, in lpfc_mem_alloc()
184 dma_pool_destroy(phba->lpfc_mbuf_pool); in lpfc_mem_alloc()
185 phba->lpfc_mbuf_pool = NULL; in lpfc_mem_alloc()
252 dma_pool_free(phba->lpfc_mbuf_pool, pool->elements[i].virt, in lpfc_mem_free()
256 dma_pool_destroy(phba->lpfc_mbuf_pool); in lpfc_mem_free()
257 phba->lpfc_mbuf_pool = NULL; in lpfc_mem_free()
386 ret = dma_pool_alloc(phba->lpfc_mbuf_pool, GFP_KERNEL, handle); in lpfc_mbuf_alloc()
[all …]
Dlpfc.h1285 struct dma_pool *lpfc_mbuf_pool; member