Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_alloc_vphy() -> mpt3sas_get_vphy_by_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 4096-ptr_max |
| PARAM_VALUE | 2 | phy | 0-254 |
| BUF_SIZE | 0 | ioc->sas_hba.parent_dev | (-1),1616 |
| BUF_SIZE | 0 | ioc->sas_hba.phy | (-1),3328-26520 |
| BUF_SIZE | 1 | port | (-1),56 |
| BUF_SIZE | 1 | port | (-1),56 |
| CAPPED_DATA | 1 | port->port_id | 1 |
| CAPPED_DATA | 2 | phy | 1 |
| DATA_SOURCE | 0 | ioc | $0 |
| DATA_SOURCE | 1 | port | r mpt3sas_get_port_by_id |
| DATA_SOURCE | 2 | phy | $2 |
| NO_OVERFLOW_SIMPLE | 0 | ioc->sas_hba.nr_phys_allocated | |
| NO_OVERFLOW_SIMPLE | 0 | ioc->sas_hba.num_phys | |
| NO_OVERFLOW_SIMPLE | 2 | phy | |
| UNITS | 2 | phy | unit_array_size |
drivers/scsi/mpt3sas/mpt3sas_transport.c mpt3sas_transport_port_add() -> mpt3sas_get_vphy_by_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 1-u64max |
| PARAM_VALUE | 2 | phy | 0-254 |
| BUF_SIZE | 1 | port | (-1),56 |
| BUF_SIZE | 1 | port | (-1),56 |
| CAPPED_DATA | 1 | port | 1 |
| CAPPED_DATA | 2 | phy | 1 |
| DATA_SOURCE | 0 | ioc | $0 |
| DATA_SOURCE | 1 | port | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ioc->pdev->dev.cma_area->available_count | |
| NO_OVERFLOW_SIMPLE | 0 | ioc->sas_hba.nr_phys_allocated | |
| NO_OVERFLOW_SIMPLE | 0 | ioc->sas_hba.num_phys | |
| UNITS | 2 | phy | unit_array_size |