mptscsih_get...pletion_code(9)
π mptscsih_get_completion_code(9) π
okay so bestie, welcome to the Kernel API Manual!! this one's a tiny lil page but it's lowkey important β it's all about mptscsih_get_completion_code. and yes the header up top does that whole mptscsih_get...pletion_code(9) abbreviation thing, that's just the header being dramatic and saving space, the real name is the full one π
β¨ NAME β¨
mptscsih_get_completion_code β get completion code from MPT request π
like, you hand it an MPT request and it fishes out the completion code for you. that's the whole vibe. no cap.
π¦ SYNOPSIS π¦
int mptscsih_get_completion_code (MPT_ADAPTER *ioc , MPT_FRAME_HDR *req
, MPT_FRAME_HDR *reply );
it returns an int, slay π
πΈ ARGUMENTS πΈ
iocβ Pointer toMPT_ADAPTERstructure. this is your adapter bestie, the main character of the whole operation πreqβ Pointer to original MPT request frame. the request as it was originally sent, fr fr π«Άreplyβ Pointer to MPT reply frame (NULLif TurboReply). yes queen,NULLis a totally valid value here when it's a TurboReply β that's not a bug, that's the spec π
π₯ SEE ALSO π₯
bestie there is so much family here, it's giving found family energy π the kernel file ./drivers/message/fusion/mptscsih.c is the home base, and then we got:
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_get_scsi_lookup(9)mptscsih_getclear_scsi_lookup(9)mptscsih_set_scsi_lookup(9)SCPNT_TO_LOOKUP_IDX(9)mptscsih_do_cmd(9)mptscsih_synchronize_cache(9)
go read them all, iykyk πβ¨
ok that's literally the whole page, it's a short one but she ate π remember: pass a realiocandreq, andreplycan beNULLfor TurboReply. no guessing beyond that, that's what the page says π
sign-off time π«Ά this lil beauty lives under ./drivers/message/fusion and it's dated October 2026 β stay iconic, kernel besties, mwah πβ¨π§
π¦ 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