mpi3mr_scmd_from_host_tag(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

mpi3mr_scmd_from_host_tag β€” bestie, this is literally your get the SCSI command from the host tag hookup πŸ’…

So this is a Linux kernel API manual page (section 9, the kernel API one, iykyk), all about mpi3mr_scmd_from_host_tag.


✨ SYNOPSIS ✨

struct scsi_cmnd * mpi3mr_scmd_from_host_tag (struct mpi3mr_ioc *mrioc ,
u16 host_tag , u16 qidx );

Like, that's the whole call. You give it stuff, it gives you back a struct scsi_cmnd *. Slay.


🫢 ARGUMENTS 🫢

Ok so here's the lineup of things you're handing over:

  • mrioc β€” the adapter instance reference πŸŽ€ your controller's whole identity, basically.
  • host_tag β€” the host tag. Yes queen, that's the actual name, we keep it.
  • qidx β€” operational queue index. So, which queue we're talking about 🌈

πŸ’œ DESCRIPTION πŸ’œ

So the vibes here are: this function does the ✨math✨ of turning a host_tag plus a qidx into the block tag, then goes and retrieves the associated SCSI command for you β€” using scsi_host_find_tag. That's it, that's the whole plot πŸ¦‹

No cap, that's literally all it says.


πŸ”₯ RETURN πŸ”₯

A SCSI command reference β€” or NULL 😭 so like, check it before you use it, bestie, fr fr.


πŸ‘‘ SEE ALSO πŸ‘‘

The receipts start with the kernel file it lives in πŸ’€:

  • ./drivers/scsi/mpi3mr/mpi3mr_os.c

And then the entire extended friend group β€” the whole crew, no one left out:


🧚 Sign-off 🧚

That's the whole page, bestie β€” it ships out of the kernel tree at ./drivers/scsi/mpi3mr and it's dated October 2026 ⭐ so it's giving slightly futuristic, we love that for us. Go forth and find those tags πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from