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_sas_port_add() -> sas_rphy_add()

Type Parameter Key Value
PARAM_VALUE 0 rphy 4096-ptr_max
PARAM_VALUE 0 rphy->identify.device_type 1-2
BUF_SIZE 0 rphy (-1),1680
BUF_SIZE 0 rphy (-1),1680
HALF_LOCKED2 &pool->lock

drivers/scsi/smartpqi/smartpqi_sas_transport.c pqi_sas_port_add_rphy() -> sas_rphy_add()

Type Parameter Key Value
PARAM_VALUE 0 rphy 4096-ptr_max
PARAM_VALUE 0 rphy->identify.initiator_port_protocols 14
PARAM_VALUE 0 rphy->identify.target_port_protocols 2,4,8
BUF_SIZE 0 rphy 1680
DATA_SOURCE 0 rphy $1
FUZZY_MAX 0 rphy->identify.target_port_protocols 8
HARD_MAX 0 rphy->identify.target_port_protocols 8
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ctrl_info->scan_mutex
HALF_LOCKED2 &ctrl_info->lun_reset_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct pqi_ctrl_info)->scan_mutex

drivers/scsi/libsas/sas_expander.c sas_discover_root_expander() -> sas_rphy_add()

Type Parameter Key Value
UNITS 0 rphy unit_byte

drivers/scsi/libsas/sas_expander.c sas_ex_discover_expander() -> sas_rphy_add()

Type Parameter Key Value
PARAM_VALUE 0 rphy 4096-ptr_max
PARAM_VALUE 0 rphy->identify.device_type 1-3
BUF_SIZE 0 rphy (-1),1680
BUF_SIZE 0 rphy (-1),1680
NOCHECK_CALL
HALF_LOCKED2 &ha->disco_mutex

drivers/scsi/hpsa.c hpsa_sas_port_add_rphy() -> sas_rphy_add()

Type Parameter Key Value
PARAM_VALUE 0 rphy 4096-ptr_max
PARAM_VALUE 0 rphy->identify.device_type 1
PARAM_VALUE 0 rphy->identify.initiator_port_protocols 4
PARAM_VALUE 0 rphy->identify.target_port_protocols 4
BUF_SIZE 0 rphy 1680
DATA_SOURCE 0 rphy $1

drivers/scsi/libsas/sas_discover.c sas_probe_devices() -> sas_rphy_add()

Type Parameter Key Value
PARAM_VALUE 0 rphy->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
NO_OVERFLOW_SIMPLE 0 rphy->q->async_depth
NO_OVERFLOW_SIMPLE 0 rphy->q->nr_requests
UNITS 0 rphy unit_byte

drivers/scsi/leapraid/leapraid_transport.c leapraid_create_and_register_rphy() -> sas_rphy_add()

Type Parameter Key Value
PARAM_VALUE 0 rphy 4096-ptr_max
PARAM_VALUE 0 rphy->identify.device_type 1-3
BUF_SIZE 0 rphy 1680

drivers/scsi/mpt3sas/mpt3sas_transport.c mpt3sas_transport_port_add() -> sas_rphy_add()

Type Parameter Key Value
PARAM_VALUE 0 rphy 4096-ptr_max
PARAM_VALUE 0 rphy->identify.device_type 1-3
BUF_SIZE 0 rphy 1680
RX_PATH
TASK_NOT_RUNNING

drivers/message/fusion/mptsas.c mptsas_add_end_device() -> sas_rphy_add()

Type Parameter Key Value
PARAM_VALUE 0 rphy 4096-ptr_max
PARAM_VALUE 0 rphy->identify.device_type 0-3
PARAM_VALUE 0 rphy->identify.initiator_port_protocols 0-15
PARAM_VALUE 0 rphy->identify.target_port_protocols 0-15
BUF_SIZE 0 rphy 1680
DATA_SOURCE 0 rphy r sas_end_device_alloc
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 rphy 4096-ptr_max
PARAM_VALUE 0 rphy->identify.device_type 1-3
PARAM_VALUE 0 rphy->identify.initiator_port_protocols 0-15
PARAM_VALUE 0 rphy->identify.target_port_protocols 0-15
BUF_SIZE 0 rphy 1680
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock