---
name: "sas_expander_alloc"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/sas_expander_alloc"
---

# sas\_expander\_alloc(9)

allocate an rphy for an end device

## NAME

sas\_expander\_alloc - allocate an rphy for an end device

## SYNOPSIS

**struct sas\_rphy \* sas\_expander\_alloc(struct sas\_port \*** *parent***, enum sas\_device\_type** *type***);**

## ARGUMENTS

*parent*

which port

*type*

SAS\_EDGE\_EXPANDER\_DEVICE or SAS\_FANOUT\_EXPANDER\_DEVICE

## DESCRIPTION

Allocates an SAS remote PHY structure, connected to *parent*.

## RETURN

SAS PHY allocated or **NULL** if the allocation failed.

## AUTHORS

**James Bottomley** \<James.Bottomley@hansenpartnership.com\>

Author.

**Rob Landley** \<rob@landley.net\>

Author.

## COPYRIGHT
