_transport_..._sas_address(9)
β¨ _transport_..._sas_address(9) β¨
okay so bestie, we're deep in the Kernel API Manual today and this page is literally about _transport_sas_node_find_by_sas_address π
like yes the title is longer than my attention span but we're gonna get through it together, i promise π«Ά
πΈ NAME πΈ
_transport_sas_node_find_by_sas_address β it's a sas node search, that's the whole vibe πβ¨
π SYNOPSIS π
struct _sas_node * _transport_sas_node_find_by_sas_address (struct
MPT3SAS_ADAPTER *ioc , u64 sas_address , struct hba_port *port );
like, look at her. three args, one pointer back. main character energy fr fr π
π¦ ARGUMENTS π¦
iocβ the per adapter object, aka your whole adapter situation π§sas_addressβ the sas address of the expander or sas host, yes that's the thing you're hunting for πportβ the hba port entry, she's just here to be a port π
β CONTEXT β
the calling function should acquire ioc->sas_node_lock π no cap, this is not optional, handle your locking before you come through here bestie π
π DESCRIPTION π
so what does she actually do? she searches for either the hba phys or the expander device based on the handle, and then returns the sas_node object π¦β¨ that's it, that's the whole plot, and honestly? iconic. she finds. she returns. periodt π
π SEE ALSO π
- Kernel file
./drivers/scsi/mpt3sas/mpt3sas_transport.cπ _transport_get_port_id_by_sas_phy(9)_transport_get_port_id_by_rphy(9)_transport_convert_phy_link_rate(9)_transport_set_identify(9)mpt3sas_transport_done(9)_transport_expander_report_manufacture(9)_transport_delete_port(9)_transport_delete_phy(9)_transport_add_phy(9)mpt3sas_transport_add_phy_to_an_existing_port(9)mpt3sas_transport_del_phy_from_an_existing_port(9)_transport_sanity_check(9)mpt3sas_transport_port_add(9)mpt3sas_transport_port_remove(9)mpt3sas_transport_add_host_phy(9)mpt3sas_transport_add_expander_phy(9)mpt3sas_transport_update_links(9)_transport_get_expander_phy_error_log(9)_transport_get_linkerrors(9)_transport_get_enclosure_identifier(9)_transport_get_bay_identifier(9)_transport_expander_phy_control(9)_transport_phy_reset(9)_transport_phy_enable(9)_transport_phy_speed(9)_transport_smp_handler(9)
like yes that's a whole friend group and they all showed up to the function π but they're all valid, check 'em out, iykyk π
and that's the page!! π she lives in ./drivers/scsi/mpt3sas, she was dated October 2026, and she's from the Kernel API Manual β go forth and find those sas nodes bestie, 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