scsi_is_sas_phy(9)
β¨ scsi_is_sas_phy β¨
okay so real talk bestie, this is a page straight out of the Kernel API Manual and it's genuinely a lil one-function wonder π β it does exactly one thing and it does it iconically.
π NAME
scsi_is_sas_phy β check if a struct device represents a SAS PHY
like yes, that's the whole gig. it's a vibe check for devices β¨
π¦ SYNOPSIS
int scsi_is_sas_phy (const struct device *dev );
πΈ ARGUMENTS
devβ the device you wanna check π that's it, that's the whole arg list, she's low maintenance
π₯ RETURN
1if the device represents a SAS PHY π0else π
so basically a yes/no, no in-between, no "it depends", no drama. she ate and left no crumbs π«Ά
π SEE ALSO
okay this is the part where it gets highkey unhinged, because there are like a zillion friends in the group chat π first up, the kernel file this all lives in:
./drivers/scsi/scsi_transport_sas.c
and then the whole squad, in order, no cap:
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_free(9)sas_phy_delete(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)
like?? that's the entire extended friend group and every single one of them gets a name drop π no one left on read.
ngl, if you came here looking for options or flags or env vars β there are literally none. this page is one function, one argument, one return value, and thirty-one see-also besties. periodt β¨
π and that's the whole page!! mwah π this lil beauty lives in ./drivers/scsi and the manual is dated October 2026 β so yeah, she's from the future, main character energy fr fr π§ββοΈπ¦β
π¦ 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