lpfc_nvmet_buf_alloc(9)
π lpfc_nvmet_buf_alloc(9) β Kernel API Manual π
okay so bestie, welcome to the lpfc_nvmet_buf_alloc(9) page from the Kernel API Manual β it's giving βgrab me an nvmet_buf from the lpfc_sg_dma_buf_pool PCI poolβ energy, and honestly? iconic. π
β¨
β¨ NAME β¨
lpfc_nvmet_buf_alloc β Allocate an nvmet_buf from the lpfc_sg_dma_buf_pool PCI pool π
πΈ SYNOPSIS πΈ
void * lpfc_nvmet_buf_alloc (struct lpfc_hba *phba , int mem_flags ,
dma_addr_t *handle );
π¦ ARGUMENTS π¦
phbaβ the HBA that owns the pool we're allocating from. like, the main character holding the stash π«Άmem_flagsβ tells you if this is a priority allocation (MEM_PRI). priority means priority, bestie πhandleβ used to return the DMA-mapped address of thenvmet_bufπ¬
π₯ DESCRIPTION π₯
Allocates a DMA-mapped buffer from the lpfc_sg_dma_buf_pool PCI pool. It allocates from the generic dma_pool_alloc function. no cap, that's the whole move β¨
π RETURN π
On success, you get a pointer to the allocated nvmet_buf; on failure, NULL. that's it β success pointer, failure NULL, periodt π
π SEE ALSO π
Kernel file ./drivers/scsi/lpfc/lpfc_mem.c β and here's the whole bestie lineup:
lpfc_mem_alloc(9)lpfc_mem_free(9)lpfc_mem_free_all(9)lpfc_mbuf_alloc(9)__lpfc_mbuf_free(9)lpfc_mbuf_free(9)lpfc_nvmet_buf_free(9)lpfc_els_hbq_alloc(9)lpfc_els_hbq_free(9)lpfc_sli4_rb_alloc(9)lpfc_sli4_rb_free(9)lpfc_sli4_nvmet_alloc(9)lpfc_sli4_nvmet_free(9)lpfc_in_buf_free(9)lpfc_rq_buf_free(9)
that's the tea from ./drivers/scsi/lpfc, dated October 2026, all about lpfc_nvmet_buf_alloc(9) ππ«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms