Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/smartpqi/smartpqi_init.c pqi_device_reset_handler() -> pqi_find_scsi_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | &ctrl_info->lun_reset_mutex | 1 |
| DATA_SOURCE | 0 | ctrl_info | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| UNITS | 2 | target | unit_array_size |
| LOCK2 | flags | ||
| LOCK2 | 0 | &ctrl_info->lun_reset_mutex | |
| LOCK2 | 0 | &ctrl_info->scsi_device_list_lock | |
| TYPE_LOCK | (struct pqi_ctrl_info)->lun_reset_mutex | ||
| TYPE_LOCK | (struct pqi_ctrl_info)->scsi_device_list_lock |
drivers/scsi/smartpqi/smartpqi_init.c pqi_sdev_init() -> pqi_find_scsi_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bus | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ctrl_info | r shost_to_hba |
| NOSPEC | 1 | bus | |
| NOSPEC | 1 | bus | |
| NOSPEC | 2 | target | |
| NOSPEC | 2 | target | |
| NOSPEC | 3 | lun | |
| NOSPEC | 3 | lun | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | bus | 2-s32max[c] |
| USER_DATA | 2 | target | 1-s32max[c] |
| USER_DATA | 3 | lun | 0-s32max[c] |
| LOCK2 | &shost->scan_mutex | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &ctrl_info->scsi_device_list_lock | |
| TYPE_LOCK | (struct Scsi_Host)->scan_mutex | ||
| TYPE_LOCK | (struct pqi_ctrl_info)->scsi_device_list_lock |