mptsas_find_...hys_disk_num(9)
πΈ mptsas_find_...hys_disk_num(9) πΈ
okay so bestie, you're in the Kernel API Manual and this page is literally all about mptsas_find_phyinfo_by_phys_disk_num β the manual name got cut off in the header (iykyk, it happens π
), but we're here now and we're gonna learn it together.
β¨ NAME β¨
mptsas_find_phyinfo_by_phys_disk_num β find phyinfo for the specified @phys_disk_num
like, that's the whole vibe. you give it a physical disk number and it goes and finds you the phyinfo. no cap. π¦
π SYNOPSIS π
struct mptsas_phyinfo * mptsas_find_phyinfo_by_phys_disk_num
(MPT_ADAPTER *ioc , u8 phys_disk_num , u8 channel , u8 id );
four args, one pointer back, slay. keep the spacing exactly like that, it's giving "generated by a script and we respect it" π
π ARGUMENTS π
okay these are the four besties you have to hand over when you call this function. let's do a lil vibe check on each one:
iocβ Pointer toMPT_ADAPTERstructure. this is the main character of the whole file honestly, everything points back to it. π₯phys_disk_numβ (hot plug) physical disk number (for RAID support). yes the "(hot plug)" is part of the description, don't come for me, and yes it's specifically for RAID support. π«Άchannelβ channel number. short, sweet, iconic. βidβ Logical Target ID. the target, but make it logical. β¨
π¦ SEE ALSO π¦
the kernel file this bad boy lives in, for when you wanna read the source like the little detective you are:
- Kernel file
./drivers/message/fusion/mptsas.c
and now the MASSIVE friend group of related pages β literally the whole mptsas extended universe, I'm obsessed π:
mptsas_find_portinfo_by_sas_address(9)mptsas_add_device_component(9)mptsas_add_device_component_by_fw(9)mptsas_add_device_component_starget_ir(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_issue_tm(9)mptsas_broadcast_primitive_work(9)
bestie there are like 27 of these, I counted, go read them all or at least pretend you did π
that's the whole page, no cap, nothing skipped π
and before you go β cute lil sign-off: this one lives under ./drivers/message/fusion, it's dated October 2026, and the page name on the tin is mptsas_find_...hys_disk_num(9) (the dots are canon, we don't question the dots π). 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