sas_phy_free(9)
β¨ sas_phy_free β¨
okay so this is a page straight out of the Kernel API Manual β it's sas_phy_free(9), bestie, and it's honestly so short and so real. let's get into it π
πΈ NAME πΈ
sas_phy_free β free a SAS PHY. that's it. that's the whole vibe. π¦
β¨ SYNOPSIS β¨
void sas_phy_free (struct sas_phy *phy );
like, no return value, no drama, it just does the thing and dips. periodt.
π ARGUMENTS π
phyβ the SAS PHY you wanna free. the one. the main character. hand it over and it's gone π¨
π DESCRIPTION π
Frees the specified SAS PHY. literally that's it, that's the function. no cap. π«Ά
π₯ NOTE π₯
okay this is the important part, so listen up bestie π
This function must only be called on a PHY that has not successfully been added using sas_phy_add.
like, if you already added it with sas_phy_add and it worked? do not come here. that's not this function's moment. this is a very specific lane, and we stay in it. respect the rules or the kernel will disrespect you back ππ
π SEE ALSO π
the whole friend group, no one left out, all of them tagged with (9) because we're consistent:
sas_remove_children(9)sas_remove_host(9)sas_get_address(9)sas_tlr_supported(9)sas_disable_tlr(9)sas_enable_tlr(9)sas_ata_ncq_prio_supported(9)sas_phy_alloc(9)sas_phy_add(9)sas_phy_delete(9)scsi_is_sas_phy(9)sas_port_alloc(9)sas_port_alloc_num(9)sas_port_add(9)sas_port_free(9)sas_port_delete(9)scsi_is_sas_port(9)sas_port_get_phy(9)sas_port_add_phy(9)sas_port_delete_phy(9)sas_rphy_initialize(9)sas_end_device_alloc(9)sas_expander_alloc(9)sas_rphy_add(9)sas_rphy_free(9)sas_rphy_delete(9)sas_rphy_unlink(9)sas_rphy_remove(9)scsi_is_sas_rphy(9)sas_attach_transport(9)sas_release_transport(9)
and if you're wondering where all this lives β it's the kernel file ./drivers/scsi/scsi_transport_sas.c. note it, screenshot it, put it on your fridge π§ββοΈ
kisses and goodbyes β this page comes to you from ./drivers/scsi, dated October 2026, and it's filed under sas_phy_free(9) forever and ever. 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