mptsas_add_d...t_starget_ir(9)
π 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 theMPT_ADAPTERstructure. 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:
mptsas_find_portinfo_by_sas_address(9)mptsas_add_device_component(9)mptsas_add_device_component_by_fw(9)mptsas_add_device_component_starget(9)mptsas_del_device_component_by_os(9)mptsas_del_device_components(9)mptsas_find_vtarget(9)mptsas_target_reset(9)mptsas_target_reset_queue(9)mptsas_schedule_target_reset(9)mptsas_taskmgmt_complete(9)mptsas_ioc_reset(9)enum device_state(9)mptsas_add_end_device(9)mptsas_del_end_device(9)mptsas_firmware_event_work(9)mptsas_eh_timed_out(9)mptsas_exp_repmanufacture_info(9)mptsas_delete_expander_siblings(9)mptsas_expander_delete(9)mptsas_send_expander_event(9)mptsas_expander_add(9)mptsas_probe_expanders(9)mptsas_scan_sas_topology(9)mptsas_find_phyinfo_by_phys_disk_num(9)mptsas_issue_tm(9)mptsas_broadcast_primitive_work(9)
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
- 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