complete_cmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– complete_cmd(9) πŸ’–

okay bestie, welcome to the kernel API manual, this one's complete_cmd(9) and it's literally the "you're done, go home" moment for a SCSI command ✨


🌸 NAME 🌸

complete_cmd β€” finish processing a command and return it to the SCSI ML. that's it, that's the whole job, and honestly? iconic. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void complete_cmd (struct Scsi_Host *instance , struct scsi_cmnd *cmd );

no cap, that's the whole signature. void return, so it gives you nothing back except vibes and a completed command πŸ’…


✨ ARGUMENTS ✨

  • instance β€” the host instance 🫢 the Scsi_Host in question, the main character of this particular bus
  • cmd β€” command to complete ⭐ this is the struct scsi_cmnd you're wrapping up and sending back to the SCSI ML

like, two args, zero drama. we love a low-effort queen πŸ‘‘


🧚 SEE ALSO 🧚

the whole squad, fr fr β€” and they all live in the kernel file ./drivers/scsi/NCR5380.c:

ngl that's a whole friend group and you should lowkey go read all of them πŸ“


and that's the page!! this lil beauty came out of ./drivers/scsi and it's dated October 2026 β€” so yeah, mark your calendar bestie, this manual page is from the future and it ate πŸ’€πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from