complete_cmd(9)
π 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 buscmdβ command to complete β this is thestruct scsi_cmndyou'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:
initialize_SCp(9)NCR5380_poll_politely2(9)NCR5380_print(9)NCR5380_print_phase(9)NCR5380_info(9)NCR5380_init(9)NCR5380_maybe_reset_bus(9)NCR5380_exit(9)NCR5380_queue_command(9)dequeue_next_cmd(9)NCR5380_main(9)NCR5380_intr(9)NCR5380_select(9)NCR5380_transfer_pio(9)do_reset(9)do_abort(9)list_find_cmd(9)NCR5380_abort(9)NCR5380_host_reset(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms