lpfc_in_buf_free(9)
π lpfc_in_buf_free β Kernel API Manual β¨
okay so welcome to the Kernel API Manual, bestie, and today's main character is lpfc_in_buf_free(9) β the little cleanup function that could π«Ά
π NAME π
lpfc_in_buf_free β Free a DMA buffer π
β¨ SYNOPSIS β¨
void lpfc_in_buf_free (struct lpfc_hba *phba , struct lpfc_dmabuf *mp );
literally that's the whole signature, no cap π₯
π¦ ARGUMENTS π¦
phbaβ the HBA that this buffer is associated with πmpβ the buffer we're about to free π
πΈ DESCRIPTION πΈ
so basically this frees the given DMA buffer in the appropriate way, and "appropriate" is doing a LOT of work in that sentence π β it depends on if the HBA is running in SLI3 mode with HBQs enabled. that's the vibe check it does before it commits, okurrr π
π NOTES π
- it takes
phba->hbalockπ - it can be called with or without other locks held β so flexible, so iconic β
π RETURN π
None π β it returns nothing, it just does the thing and dips π
π SEE ALSO π
Kernel file ./drivers/scsi/lpfc/lpfc_mem.c plus 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)lpfc_mbuf_free(9)lpfc_nvmet_buf_alloc(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_rq_buf_free(9)
π«Ά and that's the page!! brought to you by ./drivers/scsi/lpfc, dated October 2026, and yes the title is still lpfc_in_buf_free(9) in case you forgot πβ¨π iykyk π¦
π¦ 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