lpfc_sli4_nvmet_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– lpfc_sli4_nvmet_free(9) πŸ’–

okay so we’re in the Kernel API Manual, and today’s main character is lpfc_sli4_nvmet_free(9) β€” a lil cleanup function whose whole job is freeing a receive buffer. slay. πŸ’…


✨ NAME ✨

lpfc_sli4_nvmet_free β€” frees a receive buffer. 🫢

🌸 SYNOPSIS 🌸

void lpfc_sli4_nvmet_free (struct lpfc_hba *phba , struct rqb_dmabuf
       *dmab );

πŸŽ€ ARGUMENTS πŸŽ€

  • phba β€” the HBA the buffer was allocated for.
  • dmab β€” the DMA Buffer container returned by lpfc_sli4_rbq_alloc.

πŸ’œ DESCRIPTION πŸ’œ

It frees both the container and the DMA-mapped buffers returned by lpfc_sli4_nvmet_alloc. Both. The container, the mapped buffers, all of it. periodt. 🧹

πŸ”₯ NOTES πŸ”₯

Can be called with or without locks held. So the lock vibe check is: either is fine. πŸ’€

πŸ‘‘ RETURN πŸ‘‘

None. No return value, no drama. πŸŽ€

🌈 SEE ALSO 🌈

Kernel file: ./drivers/scsi/lpfc/lpfc_mem.c.

The whole squad: 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_in_buf_free(9), lpfc_rq_buf_free(9).


πŸŽ€ source/version: ./drivers/scsi/lpfc Β· date: October 2026 Β· page: lpfc_sli4_nvmet_free(9) πŸŽ€

πŸ“¦ where this page comes from