lpfc_nvmet_buf_free(9)
π lpfc_nvmet_buf_free(9) β your Kernel API Manual bestie π
okay so bestie, welcome to the little cleanup baddie of the lpfc world: lpfc_nvmet_buf_free. It frees an nvmet_buf from the lpfc_sg_dma_buf_pool PCI pool. iconic behavior, honestly β¨
πΈ NAME πΈ
lpfc_nvmet_buf_free β Free an nvmet_buf from the lpfc_sg_dma_buf_pool PCI pool. π§
β¨ SYNOPSIS β¨
here's the whole signature, copy it exactly and don't get cute with it:
void lpfc_nvmet_buf_free (struct lpfc_hba *phba , void *virt ,
dma_addr_t dma );
π ARGUMENTS π
phbaβ the HBA which owns the pool to return to. yes ma'am, that HBA π«Άvirtβ thenvmet_bufto free. bye bestie πdmaβ the DMA-mapped address of thelpfc_sg_dma_buf_poolto be freed. that's the DMA address, not a vibe check π
π RETURN π
None. literally none. no return value, periodt. π₯
π¦ SEE ALSO π¦
Kernel file ./drivers/scsi/lpfc/lpfc_mem.c and the whole friend group:
lpfc_mem_alloc(9)lpfc_mem_free(9)lpfc_mem_free_all(9)lpfc_mbuf_alloc(9)__lpfc_mbuf_free(9)β yes, double underscore, don't play with me πlpfc_mbuf_free(9)lpfc_nvmet_buf_alloc(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)
okay that's the whole page, bestie! this one comes from ./drivers/scsi/lpfc, dated October 2026, and it's literally lpfc_nvmet_buf_free(9) β slay and goodbye ππ
π¦ 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