Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_tm_display_info() -> __mpt3sas_get_pdev_from_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_priv->flags | 16-u32max |
| BUF_SIZE | 1 | tgt_priv | 16,24,48,56,64 |
| BUF_SIZE | 1 | tgt_priv | 16,24,48,56,64 |
| DATA_SOURCE | 0 | ioc | $0 |
| BIT_INFO | 1 | tgt_priv->flags | 0x10,0xfffffffd |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &ioc->pcie_device_lock | |
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->pcie_device_lock |
drivers/scsi/mpt3sas/mpt3sas_scsih.c mpt3sas_get_pdev_from_target() -> __mpt3sas_get_pdev_from_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->logging_level | s32min-(-1),512-s32max |
| PARAM_VALUE | 0 | ioc->shost | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->shost->tag_set.nr_hw_queues | 1-u32max |
| PARAM_VALUE | 0 | ioc->tmp_string | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_priv->flags | 16-u32max |
| BUF_SIZE | 1 | tgt_priv | 16,24,48,56,64 |
| BUF_SIZE | 1 | tgt_priv | 16,24,48,56,64 |
| CAPPED_DATA | 0 | ioc->hi_priority_smid | 1 |
| CAPPED_DATA | 0 | ioc->shost->tag_set.nr_hw_queues | 1 |
| DATA_SOURCE | 0 | ioc | $0 |
| DATA_SOURCE | 1 | tgt_priv | $1 |
| BIT_INFO | 0 | ioc->logging_level | 0x200,0xffffffff |
| BIT_INFO | 1 | tgt_priv->flags | 0x10,0xfffffffd |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &ioc->pcie_device_lock | |
| HALF_LOCKED2 | &ioc->tm_cmds.mutex | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->pcie_device_lock |
drivers/scsi/mpt3sas/mpt3sas_scsih.c scsih_sdev_destroy() -> __mpt3sas_get_pdev_from_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tgt_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_priv->flags | 16-u32max |
| BUF_SIZE | 1 | tgt_priv | 16,24,48,56,64 |
| BUF_SIZE | 1 | tgt_priv | 16,24,48,56,64 |
| BIT_INFO | 1 | tgt_priv->flags | 0x10,0xffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &shost->scan_mutex | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &ioc->pcie_device_lock | |
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->pcie_device_lock | ||
| TYPE_LOCK | (struct Scsi_Host)->scan_mutex |
drivers/scsi/mpt3sas/mpt3sas_scsih.c scsih_target_destroy() -> __mpt3sas_get_pdev_from_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tgt_priv | 1-u64max |
| BUF_SIZE | 1 | tgt_priv | 16,24,48,56,64 |
| BUF_SIZE | 1 | tgt_priv | 16,24,48,56,64 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | flags | ||
| LOCK2 | shost->host_lock | ||
| LOCK2 | 0 | &ioc->pcie_device_lock | |
| HALF_LOCKED2 | &shost->scan_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->pcie_device_lock |