Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/scsi/libsas/sas_expander.c
- drivers/scsi/libsas/sas_init.c
- drivers/scsi/libsas/sas_scsi_host.c, line 811
Smatch caller information:
drivers/scsi/libsas/sas_expander.c sas_ex_to_ata() -> sas_find_dev_by_rphy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rphy | 1-u64max |
| UNITS | 0 | rphy | unit_byte |
| HALF_LOCKED2 | &ha->disco_mutex |
drivers/scsi/libsas/sas_expander.c sas_smp_get_phy_events() -> sas_find_dev_by_rphy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rphy | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | rphy | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/libsas/sas_expander.c sas_smp_handler() -> sas_find_dev_by_rphy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rphy | 4096-ptr_max |
| PARAM_VALUE | 0 | rphy->identify.device_type | 2-3 |
| DATA_SOURCE | 0 | rphy | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/scsi/libsas/sas_init.c sas_phy_enable() -> sas_find_dev_by_rphy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rphy | 4096-ptr_max |
| UNITS | 0 | rphy | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/libsas/sas_init.c sas_phy_reset() -> sas_find_dev_by_rphy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rphy | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | rphy | unit_byte |
drivers/scsi/libsas/sas_init.c sas_set_phy_speed() -> sas_find_dev_by_rphy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rphy | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | rphy | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/libsas/sas_init.c sas_try_ata_reset() -> sas_find_dev_by_rphy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | rphy | unit_byte |
drivers/scsi/libsas/sas_init.c transport_sas_phy_reset() -> sas_find_dev_by_rphy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rphy | 4096-ptr_max |
| UNITS | 0 | rphy | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/libsas/sas_scsi_host.c sas_target_alloc() -> sas_find_dev_by_rphy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | rphy | unit_byte |
| HALF_LOCKED2 | &shost->scan_mutex | ||
| HALF_LOCKED2 | _T->lock |