Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/libsas/sas_host_smp.c sas_phy_control() -> (struct sas_domain_function_template)->lldd_control_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | func | 0-3,5-7 |
| PARAM_VALUE | 2 | buf | 3736600145732268032 |
| BUF_SIZE | 2 | buf | 8 |
| DATA_SOURCE | 1 | func | $2 |
| FUZZY_MAX | 1 | func | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/scsi/libsas/sas_init.c sas_get_linkerrors() -> (struct sas_domain_function_template)->lldd_control_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | func | 18 |
| PARAM_VALUE | 2 | buf | 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/libsas/sas_init.c sas_phy_enable() -> (struct sas_domain_function_template)->lldd_control_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | func | 3 |
| PARAM_VALUE | 2 | buf | 0 |
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/libsas/sas_init.c sas_phy_reset() -> (struct sas_domain_function_template)->lldd_control_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | func | 1-2 |
| PARAM_VALUE | 2 | buf | 0 |
| FUZZY_MAX | 1 | func | 2 |
| HARD_MAX | 1 | func | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/scsi/libsas/sas_init.c sas_set_phy_speed() -> (struct sas_domain_function_template)->lldd_control_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | func | 17 |
| PARAM_VALUE | 2 | buf | 1746286536265719808,8489245564099506176 |
| DATA_SOURCE | 2 | buf | $1 |
| 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/libsas/sas_init.c transport_sas_phy_reset() -> (struct sas_domain_function_template)->lldd_control_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | func | 1-2 |
| PARAM_VALUE | 2 | buf | 0 |
| FUZZY_MAX | 1 | func | 2 |
| HARD_MAX | 1 | func | 2 |
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/libsas/sas_phy.c sas_phye_oob_error() -> (struct sas_domain_function_template)->lldd_control_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sas_phy | 4096-ptr_max |
| PARAM_VALUE | 0 | sas_phy->enabled | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | sas_phy->error | 1-2 |
| PARAM_VALUE | 0 | sas_phy->ha | 4096-ptr_max |
| PARAM_VALUE | 0 | sas_phy->ha->shost | 4096-ptr_max |
| PARAM_VALUE | 0 | sas_phy->port | 0 |
| PARAM_VALUE | 1 | func | 2 |
| PARAM_VALUE | 2 | buf | 0 |
| NOCHECK_CALL |
drivers/scsi/libsas/sas_phy.c sas_phye_oob_error() -> (struct sas_domain_function_template)->lldd_control_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sas_phy | 4096-ptr_max |
| PARAM_VALUE | 0 | sas_phy->enabled | 0 |
| PARAM_VALUE | 0 | sas_phy->error | 0 |
| PARAM_VALUE | 0 | sas_phy->ha | 4096-ptr_max |
| PARAM_VALUE | 0 | sas_phy->ha->shost | 4096-ptr_max |
| PARAM_VALUE | 0 | sas_phy->port | 0 |
| PARAM_VALUE | 1 | func | 3 |
| PARAM_VALUE | 2 | buf | 0 |
| NOCHECK_CALL |
drivers/scsi/libsas/sas_phy.c sas_phye_shutdown() -> (struct sas_domain_function_template)->lldd_control_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sas_phy | 4096-ptr_max |
| PARAM_VALUE | 0 | sas_phy->enabled | 0 |
| PARAM_VALUE | 0 | sas_phy->error | 0 |
| PARAM_VALUE | 0 | sas_phy->ha | 4096-ptr_max |
| PARAM_VALUE | 0 | sas_phy->ha->shost | 4096-ptr_max |
| PARAM_VALUE | 1 | func | 3 |
| PARAM_VALUE | 2 | buf | 0 |
drivers/scsi/libsas/sas_phy.c sas_phye_spinup_hold() -> (struct sas_domain_function_template)->lldd_control_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sas_phy | 4096-ptr_max |
| PARAM_VALUE | 0 | sas_phy->error | 0 |
| PARAM_VALUE | 0 | sas_phy->ha | 4096-ptr_max |
| PARAM_VALUE | 0 | sas_phy->ha->shost | 4096-ptr_max |
| PARAM_VALUE | 1 | func | 16 |
| PARAM_VALUE | 2 | buf | 0 |
| NOCHECK_CALL |