Defined in 2 files as a function:
- drivers/message/fusion/mptsas.c, line 389 (as a function)
- drivers/scsi/mpt3sas/mpt3sas_transport.c, line 1217 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/scsi/mpt3sas/mpt3sas_transport.c _transport_get_linkerrors() -> phy_to_ioc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev.parent | 4096-ptr_max |
| DATA_SOURCE | 0 | phy | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/mpt3sas/mpt3sas_transport.c _transport_phy_enable() -> phy_to_ioc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev.parent | 4096-ptr_max |
| DATA_SOURCE | 0 | phy | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/mpt3sas/mpt3sas_transport.c _transport_phy_reset() -> phy_to_ioc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev.parent | 4096-ptr_max |
| DATA_SOURCE | 0 | phy | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/mpt3sas/mpt3sas_transport.c _transport_phy_speed() -> phy_to_ioc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev.parent | 4096-ptr_max |
| DATA_SOURCE | 0 | phy | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/message/fusion/mptsas.c mptsas_get_linkerrors() -> phy_to_ioc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev.parent | 4096-ptr_max |
| DATA_SOURCE | 0 | phy | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/message/fusion/mptsas.c mptsas_phy_reset() -> phy_to_ioc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev.parent | 4096-ptr_max |
| DATA_SOURCE | 0 | phy | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/message/fusion/mptsas.c mptsas_probe_one_phy() -> phy_to_ioc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 1-u64max |
| BUF_SIZE | 0 | phy | (-1),1720 |
| BUF_SIZE | 0 | phy | (-1),1720 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |