mptsas_add_d...t_starget_ir(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mptsas_add_d...t_starget_ir(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” yes that's the manual name, and yes it's giving very "ancient scrolls but make it cute." Today's main character is mptsas_add_d...t_starget_ir, and honestly? She's a helper function with a heart of gold. 🫢


✨ NAME ✨

mptsas_add_device_component_starget_ir β€” she handles Integrated RAID, and what she does is add each individual device to the list. That's it, that's the whole job. Iconic, focused, no notes. πŸ‘‘


🌸 SYNOPSIS 🌸

void mptsas_add_device_component_starget_ir (MPT_ADAPTER *ioc , struct scsi_target *starget );

returns nothing (void, so she's not here to give you a value back, she's here to do the thing), and lowkey the way she takes exactly two arguments and minds her business? chef's kiss. 😭


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ioc β€” a pointer to the MPT_ADAPTER structure. your adapter bestie. she needs to know which one we're talking about. ✨
  • starget β€” the SCSI target for this SCSI device. literally the target in question, the one getting added to the list. no cap. 🎯

πŸŽ€ SEE ALSO πŸŽ€

okay so this is the part where she name-drops her whole friend group and ngl it's a big group chat. every single one, in the order they were introduced, fr fr:

and last but never ever least, the kernel file herself:

  • ./drivers/message/fusion/mptsas.c

that's where the source lives, go read it if you're nosy (respectfully). πŸ•΅οΈβ€β™€οΈ


heads up bestie: every one of those references is a (9) manpage section situation and the file path above is literal. don't go typo-ing them, iykyk. πŸ’€

and that's the whole page!! short, sweet, and to the point β€” just like her. πŸ’–

source: ./drivers/message/fusion Β· datestamp: October 2026 β€” mwah, that's the sign-off bestie, see u in the next manpage πŸŒˆβ­πŸ“

πŸ“¦ where this page comes from