lpfc_scsi_prep_cmnd_buf_s3(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– lpfc_scsi_prep_cmnd_buf_s3(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for lpfc_scsi_prep_cmnd_buf_s3(9) ✨ this is literally the SLI-3 IOCB init for the IO, and yes we're gonna get into it.

🌸 NAME 🌸

lpfc_scsi_prep_cmnd_buf_s3 β€” SLI-3 IOCB init for the IO. that's the name, that's the assignment, no cap πŸ’…

✨ SYNOPSIS ✨

int lpfc_scsi_prep_cmnd_buf_s3 (struct lpfc_vport *vport , struct
       lpfc_io_buf *lpfc_cmd , uint8_t tmo );

πŸŽ€ ARGUMENTS πŸŽ€

  • vport β€” pointer to the vport object. your little virtual port bestie, basically 🫢
  • lpfc_cmd β€” the scsi buffer that is going to be prep'ed. yes, prep'ed, we love a verb.
  • tmo β€” timeout value for the IO. it's literally the timeout value for the IO, so it knows how long the vibe gets to cook ⏳

πŸ¦‹ DESCRIPTION πŸ¦‹

based on the data-direction of the command, this initializes the IOCB in the I/O buffer. then it fills in the IOCB fields which are independent of the scsi buffer. that's the whole flow, bestie β€” data-direction check, IOCB init, independent fields get filled in. slay ✨

RETURNS 0 - SUCCESS, πŸ’…

not me being like β€œreturns 0” and leaving it at that, but that's literally what the page says β€” 0 is SUCCESS, and the comma is staying because we respect the source 😌

🌈 SEE ALSO 🌈


xoxo bestie, this page came from the source/version at ./drivers/scsi/lpfc, dated October 2026, and it’s literally page lpfc_scsi_prep_cmnd_buf_s3(9). slay πŸ’–πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from