Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

drivers/scsi/mpi3mr/mpi3mr_transport.c mpi3mr_add_expander_phy() -> sas_phy_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 number 0-254
BUF_SIZE 0 parent 1616
DATA_SOURCE 0 parent $3
UNITS 1 number unit_array_size
HALF_LOCKED2 &pool->lock

drivers/scsi/mpi3mr/mpi3mr_transport.c mpi3mr_add_host_phy() -> sas_phy_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 number 0-254
BUF_SIZE 0 parent 1616
DATA_SOURCE 0 parent $3
UNITS 1 number unit_array_size
HALF_LOCKED2 &pool->lock

drivers/scsi/smartpqi/smartpqi_sas_transport.c pqi_alloc_sas_phy() -> sas_phy_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/scsi/libsas/sas_expander.c sas_set_ex_phy() -> sas_phy_alloc()

Type Parameter Key Value
PARAM_VALUE 1 number (-2147483633)-(-2),0-254
CAPPED_DATA 1 number 1
DATA_SOURCE 1 number $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 number unit_array_size
HALF_LOCKED2 &ha->disco_mutex

drivers/scsi/hpsa.c hpsa_alloc_sas_phy() -> sas_phy_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max

drivers/scsi/libsas/sas_phy.c sas_register_phys() -> sas_phy_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 number 0-s32max
CAPPED_DATA 1 number 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 number unit_array_size

drivers/scsi/leapraid/leapraid_transport.c leapraid_transport_add_card_phy() -> sas_phy_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 number 0-254
DATA_SOURCE 0 parent $3

drivers/scsi/leapraid/leapraid_transport.c leapraid_transport_add_exp_phy() -> sas_phy_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 1-u64max
PARAM_VALUE 1 number 0-254
BUF_SIZE 0 parent 1616
DATA_SOURCE 0 parent $3

drivers/scsi/mpt3sas/mpt3sas_transport.c mpt3sas_transport_add_expander_phy() -> sas_phy_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 number 0-254
BUF_SIZE 0 parent 1616
DATA_SOURCE 0 parent $3
UNITS 1 number unit_array_size

drivers/scsi/mpt3sas/mpt3sas_transport.c mpt3sas_transport_add_host_phy() -> sas_phy_alloc()

Type Parameter Key Value
PARAM_VALUE 1 number 0-254
BUF_SIZE 0 parent (-1),1616
BUF_SIZE 0 parent (-1),1616
DATA_SOURCE 0 parent $3
UNITS 1 number unit_array_size

drivers/message/fusion/mptsas.c mptsas_probe_one_phy() -> sas_phy_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 1-u64max
BUF_SIZE 0 parent (-1)-0,1616
BUF_SIZE 0 parent (-1)-0,1616
DATA_SOURCE 0 parent $0
DATA_SOURCE 1 number $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock