sas_expander_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

sas_expander_alloc β€” allocate an rphy for an end device. Bestie, this is the sas_expander_alloc(9) page from the Kernel API Manual, and it’s giving β€œsmall function, big kernel energy” ✨


✨ SYNOPSIS ✨

Exact shape, no cap:

struct sas_rphy * sas_expander_alloc (struct sas_port *parent , enum
sas_device_type type );

πŸŽ€ ARGUMENTS πŸŽ€

  • parent β€” which port. That’s the one, bestie 🫢
  • type β€” SAS_EDGE_EXPANDER_DEVICE or SAS_FANOUT_EXPANDER_DEVICE. Pick your fighter, but those are the two in the docs πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

Allocates an SAS remote PHY structure, connected to parent. It’s literally the allocation moment, so treat it with main character energy πŸ’…


🌸 RETURN 🌸

SAS PHY allocated, or NULL if the allocation failed. Check for that NULL, bestie β€” allocation can fail and that is not the vibe 😭


🌈 SEE ALSO 🌈

Kernel file: ./drivers/scsi/scsi_transport_sas.c

The whole squad, in order:


okay that’s the whole page, bestie 🫢 This iconic little manpage is sourced from ./drivers/scsi, dated October 2026, and it’s literally sas_expander_alloc(9). periodt πŸ’…βœ¨

πŸ“¦ where this page comes from