scsi_host_find_tag(9)
π scsi_host_find_tag(9) π
okay so bestie, welcome to the Kernel API Manual era of your life β this is the page for scsi_host_find_tag, and no cap, it's short but she serves. Let's get into it π¦
β¨ NAME β¨
scsi_host_find_tag β find the tagged command by host πΈ
like, you give it a host, you give it a tag, and it goes and finds the tagged command. that's the whole vibe. iconic.
π₯ SYNOPSIS π₯
struct scsi_cmnd * scsi_host_find_tag (struct Scsi_Host *shost , int tag );
yes she returns a struct scsi_cmnd *. main character energy fr fr π
π ARGUMENTS π
shostβ pointer toscsi_hostπ«Ά (literally, just a pointer to the scsi_host, that's it, that's the whole thing)tagβ tag π·οΈ (yes bestie, it's just called "tag" β the manpage said tag and so do we)
β οΈ NOTE β οΈ
for devices using multiple hardware queues, tag must have been generated by blk_mq_unique_tag. like, not optional, not a suggestion, this is the rule π so please don't be out here passing some random tag you made up in the group chat π
π§ SEE ALSO π§
Kernel file ./include/scsi/scsi_tcq.h β go read it, it's giving source of truth β¨
and that's the page!! π this little gem lives in ./include/scsi, dated October 2026, and she's filed under scsi_host_find_tag(9) β mwah, slay, periodt, go find those tags bestie πβ
π¦ 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