lpfc_nvmet_buf_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” the nvmet_buf to free. bye bestie πŸ’…
  • dma β€” the DMA-mapped address of the lpfc_sg_dma_buf_pool to 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:


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