Lines Matching refs:lpfc_mbuf_pool
51 * lpfc_mbuf_pool, lpfc_hrb_pool. Creates and allocates kmalloc-backed mempools
83 phba->lpfc_mbuf_pool = pci_pool_create("lpfc_mbuf_pool", phba->pcidev,
86 if (!phba->lpfc_mbuf_pool)
97 pool->elements[i].virt = pci_pool_alloc(phba->lpfc_mbuf_pool,
158 pci_pool_free(phba->lpfc_mbuf_pool, pool->elements[i].virt,
162 pci_pool_destroy(phba->lpfc_mbuf_pool);
163 phba->lpfc_mbuf_pool = NULL;
212 pci_pool_free(phba->lpfc_mbuf_pool, pool->elements[i].virt,
216 pci_pool_destroy(phba->lpfc_mbuf_pool);
217 phba->lpfc_mbuf_pool = NULL;
231 * used : lpfc_scsi_dma_buf_pool, lpfc_mbuf_pool, lpfc_hrb_pool. Frees
290 * lpfc_mbuf_alloc - Allocate an mbuf from the lpfc_mbuf_pool PCI pool
295 * Description: Allocates a DMA-mapped buffer from the lpfc_mbuf_pool PCI pool.
314 ret = pci_pool_alloc(phba->lpfc_mbuf_pool, GFP_KERNEL, handle);
327 * __lpfc_mbuf_free - Free an mbuf from the lpfc_mbuf_pool PCI pool (locked)
330 * @dma: the DMA-mapped address of the lpfc_mbuf_pool to be freed
332 * Description: Returns an mbuf lpfc_mbuf_pool to the lpfc_mbuf_safety_pool if
350 pci_pool_free(phba->lpfc_mbuf_pool, virt, dma);
356 * lpfc_mbuf_free - Free an mbuf from the lpfc_mbuf_pool PCI pool (unlocked)
359 * @dma: the DMA-mapped address of the lpfc_mbuf_pool to be freed
361 * Description: Returns an mbuf lpfc_mbuf_pool to the lpfc_mbuf_safety_pool if