lpfc_get_scsi_buf_s3(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is the lpfc_get_scsi_buf_s3(9) page from the Kernel API Manual πŸ’– and we're about to make HBA buffer vibes make sense. no cap.


πŸŽ€ NAME πŸŽ€

lpfc_get_scsi_buf_s3 β€” get a scsi buffer from the lpfc_scsi_buf_list of the HBA ✨


✨ SYNOPSIS ✨

the signature, exactly as it lives, because we do not mess with the source code periodt:

struct lpfc_io_buf * lpfc_get_scsi_buf_s3 (struct lpfc_hba *phba ,
       struct lpfc_nodelist *ndlp , struct scsi_cmnd *cmnd );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • phba β€” the HBA for which this call is being executed 🫢
  • ndlp β€” pointer to a node-list data structure.
  • cmnd β€” pointer to a scsi_cmnd data structure.

🌸 DESCRIPTION 🌸

This routine is literally the reaper of the head of the list: it removes a scsi buffer from the head of phba's lpfc_scsi_buf_list list and returns it to the caller.

Return codes, bestie: NULL - Error; Pointer to lpfc_scsi_buf - Success πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

the whole related-API friend group, every single one:


this page is from ./drivers/scsi/lpfc, dated October 2026, and it's the lpfc_get_scsi_buf_s3(9) manual page. mwah, go get that buffer πŸ’‹

πŸ“¦ where this page comes from