lpfc_bsg_dma_page_list_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– lpfc_bsg_dma_page_list_free(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for lpfc_bsg_dma_page_list_free β€” yes that's a whole mouthful, iykyk, just roll with it 🫢


✨ NAME ✨

lpfc_bsg_dma_page_list_free β€” frees a list of bsg mbox page sized dma buffers. that's it, that's the whole job, and she does it flawlessly πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void lpfc_bsg_dma_page_list_free (struct lpfc_hba *phba , struct list_head *dmabuf_list );

πŸŽ€ ARGUMENTS πŸŽ€

  • phba β€” a pointer to the HBA context object, aka the main character of this whole operation πŸ‘‘
  • dmabuf_list β€” a pointer to a list of bsg mbox page sized dma buffer descs. literally a whole list of them πŸ’€

🌸 DESCRIPTION 🌸

so this routine just simply frees all the dma buffers plus their associated buffer descriptors that are referred to by dmabuf_list. no drama, no extra steps, no notes β€” she frees the buffers, she frees the descriptors, she leaves. clean. periodt ✨


🌈 SEE ALSO 🌈

like, go read all of those too, she's got lore πŸ’œ


ngl bestie, the whole point is that this routine frees the dma buffers and their descriptors β€” don't call it and then go touching that dmabuf_list again, that's giving use-after-free energy and we do NOT stan πŸ™ˆ

and that's the page!! πŸŽ€ ooh and the sign-off: this lives under ./drivers/scsi/lpfc, dated October 2026, and it's page lpfc_bsg_dma_page_list_free(9) β€” iconic, no cap, slay ⭐πŸ”₯πŸ’–

πŸ“¦ where this page comes from