lpfc_scsi_unprep_dma_buf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– lpfc_scsi_unprep_dma_buf β€” the Kernel API Manual glow-up ✨

okay so bestie, welcome to the Kernel API Manual entry for lpfc_scsi_unprep_dma_buf(9), aka the little cleanup queen of the SLI-3 world πŸ§ΉπŸ’… she's not flashy, she just un-maps and leaves, and honestly? iconic.


🌸 NAME 🌸

lpfc_scsi_unprep_dma_buf β€” Un-map DMA mapping of SG-list for dev 🫢


✨ SYNOPSIS ✨

void lpfc_scsi_unprep_dma_buf (struct lpfc_hba *phba , struct
lpfc_io_buf *psb );

like, yes, that's the whole signature β€” she takes two pointers and returns literally nothing (void, no cap) πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • phba β€” The HBA for which this call is being executed. that's your host bus adapter bestie, she's the main character here πŸ‘‘
  • psb β€” The scsi buffer which is going to be un-mapped. bye-bye DMA mapping, you had a good run 😭

πŸ’œ DESCRIPTION πŸ’œ

okay so what does she actually do: this routine does DMA un-mapping of scatter gather list of scsi command field of lpfc_cmd for device with SLI-3 interface spec. periodt. that's the whole vibe β€” SG-list, un-mapped, SLI-3, done ✨

fr fr note: this is the SLI-3 flavor specifically, so don't go expecting her to do SLI-4 things, iykyk πŸ’€

🌈 SEE ALSO 🌈

the friend group πŸ’– (all of these are kernel file ./drivers/scsi/lpfc/lpfc_scsi.c neighbors, so say hi):


and that's the whole page, bestie πŸ’– this lil entry lives in ./drivers/scsi/lpfc, dated October 2026 β€” go read the source, it's giving homework but make it slay πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from