_transport_delete_phy(9)
π _transport_delete_phy(9) π
okay so this is a page from the Kernel API Manual, and bestie, we are about to learn how to yeet a single phy out of a port. it's giving "small but mighty helper function" energy β¨
πΈ NAME πΈ
_transport_delete_phy β the helper function that handles removing one single phy from a port. one. singular. not a whole port, just the phy. she's very specific about that π
π¦ SYNOPSIS π¦
void _transport_delete_phy (struct MPT3SAS_ADAPTER *ioc , struct
_sas_port *mpt3sas_port , struct _sas_phy *mpt3sas_phy );
returns void, meaning she does the work and does not report back. no return value, no drama, no notes. icon behavior honestly π
π ARGUMENTS π
iocβ the per-adapter object. like, the big picture context of the whole adapter, iykyk π«Άmpt3sas_portβ the mpt3sas per-port object. this is the port our little phy is getting removed from, the main character location πmpt3sas_phyβ the mpt3sas per-phy object. this is the actual phy being deleted, the star of the show π
β SEE ALSO β
first up, the kernel file where all this lives, no cap:
- Kernel file
./drivers/scsi/mpt3sas/mpt3sas_transport.c
and now the whole friend group, fr fr β every single one of these is linked, we do not leave a single reference behind:
_transport_get_port_id_by_sas_phy(9)_transport_sas_node_find_by_sas_address(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_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, that's the whole squad right there. go read them too if you want the full lore π§
okay that's the whole page, bestie β you ate that π this was brought to you by the source tree at ./drivers/scsi/mpt3sas, dated October 2026, and yes it's still called _transport_delete_phy(9) in case you forgot already π mwah, study well, slay ππ
π¦ 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