mptscsih_get_scsi_lookup(9)
π 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 theMPT_ADAPTERstructure. 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:
mptscsih_info_scsiio(9)mptscsih_info(9)mptscsih_qcmd(9)mptscsih_IssueTaskMgmt(9)mptscsih_abort(9)mptscsih_dev_reset(9)mptscsih_bus_reset(9)mptscsih_host_reset(9)mptscsih_taskmgmt_complete(9)mptscsih_getclear_scsi_lookup(9)mptscsih_set_scsi_lookup(9)SCPNT_TO_LOOKUP_IDX(9)mptscsih_get_completion_code(9)mptscsih_do_cmd(9)mptscsih_synchronize_cache(9)
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
- 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