lpfc_rq_buf_free(9)
π lpfc_rq_buf_free(9) π
okay bestie, welcome to the Kernel API Manual β this one's a little function called lpfc_rq_buf_free, and she's literally just here to give a buffer back to the RQ so it can live its best life. π¦
β¨ NAME β¨
lpfc_rq_buf_free β free a RQ DMA buffer, no cap π
πΈ SYNOPSIS πΈ
void lpfc_rq_buf_free (struct lpfc_hba *phba , struct lpfc_dmabuf *mp );
like, that's it. two args, a void, and she's out. π
π«Ά ARGUMENTS π«Ά
phbaβ the HBA the buffer is associated with, iykyk πmpβ the buffer we're freeing, bestie. bye diva π
π DESCRIPTION π
so the way this works is: it frees the given DMA buffer the appropriate way, which is giving it back to its associated RQ by reposting it so it can be reused. not me being obsessed with a recycling icon π§β¨ literally sustainable queen behavior.
β NOTES β
- It takes
phba->hbalock. π₯ - Can be called with or without other locks held β yes she's flexible like that π
π RETURN π
None π«Ά (she gives nothing back, emotionally or technically)
π SEE ALSO π
kernel file ./drivers/scsi/lpfc/lpfc_mem.c β go read her friends fr fr:
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_in_buf_free(9)
the whole squad, honestly π
alright that's the page!! brought to you by ./drivers/scsi/lpfc, dated October 2026, slay era πΈβ¨ mwah π
π¦ 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