mptscsih_get_scsi_lookup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– mptscsih_get_scsi_lookup(9) πŸ’–

okay bestie, welcome to the Kernel API Manual ✨ β€” this one's from the fusion driver corner of the kernel and it's lowkey one of the tiny little helpers that keeps everything glued together. sit down, get comfy, let's go 🫢


🌸 NAME 🌸

mptscsih_get_scsi_lookup β€” literally just retrieves a scmd entry. that's it. that's the whole vibe πŸ’…


✨ SYNOPSIS ✨

struct scsi_cmnd * mptscsih_get_scsi_lookup (MPT_ADAPTER *ioc , int i );

no cap, that's the exact signature β€” don't come for me about the spacing, it's canon πŸ“œ


πŸŽ€ ARGUMENTS πŸŽ€

  • ioc β€” a pointer to the MPT_ADAPTER structure. she's giving main character energy, this is the adapter we're poking at πŸ”₯
  • i β€” an index into the array. yeah. just an int. it goes in, you get something back πŸ¦‹

πŸ’œ DESCRIPTION πŸ’œ

Returns the scsi_cmd pointer. that's the entire plot fr fr β€” you hand it the adapter and an index, it hands you back the pointer. short king behavior, we love it πŸ‘‘


🌈 SEE ALSO 🌈

Kernel file ./drivers/message/fusion/mptscsih.c β€” and the whole friend group:

iykyk πŸ’« all of them live in ./drivers/message/fusion, the little neighborhood this page calls home 🏑


ok that's the whole page, no skips, no cuts, every reference accounted for πŸ™ˆ go read the source, bestie, it's giving educational πŸ’–

kisses and see-you-laters πŸ’‹ β€” this came out of ./drivers/message/fusion, dated October 2026, and yes the page is literally called mptscsih_get_scsi_lookup(9). periodt. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from