Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/scsi/leapraid/leapraid_os.c leapraid_target_alloc_sas() -> leapraid_hold_lock_get_sas_dev_by_addr_and_rphy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | rphy | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | sas_address | unit_array_size |
| UNITS | 2 | rphy | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 0 | &adapter->dev_topo.sas_dev_lock | |
| HALF_LOCKED2 | &shost->scan_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct leapraid_dev_topo)->sas_dev_lock |
drivers/scsi/leapraid/leapraid_transport.c leapraid_get_port_id_by_end_dev() -> leapraid_hold_lock_get_sas_dev_by_addr_and_rphy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 2 | rphy | 4096-ptr_max |
| PARAM_VALUE | 2 | rphy->identify.device_type | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| DATA_SOURCE | 2 | rphy | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| UNITS | 1 | sas_address | unit_array_size |
| LOCK2 | flags | ||
| LOCK2 | 0 | &adapter->dev_topo.sas_dev_lock | |
| TYPE_LOCK | (struct leapraid_dev_topo)->sas_dev_lock |