Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_ublock_io_all_device() -> mpt3sas_get_pdev_by_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->shost->host_lock | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->shost->host_lock->rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | ioc | $0 |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_ublock_io_device_wait() -> mpt3sas_get_pdev_by_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->base_cmds.done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->config_cmds.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->config_cmds.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->config_cmds.mutex.first_waiter->list.prev->prev | 0,5159360019465732096 |
| PARAM_VALUE | 0 | ioc->config_cmds.mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->config_cmds.mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ioc->config_cmds.mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ioc->config_cmds.mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ioc->config_cmds.mutex.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | ioc->config_cmds.mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ioc->ctl_cmds.done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->diag_trigger_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->fw_event_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->fw_event_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->fw_event_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->hostdiag_unlock_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | ioc->port_enable_cmds.done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->port_enable_cmds.done.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->port_enable_cmds.done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->port_enable_cmds.done.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->reset_in_progress_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->reset_in_progress_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->reset_in_progress_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->scsih_cmds.done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->shost->host_lock | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->shost->host_lock->rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->tm_cmds.done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->transport_cmds.done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *ioc->diag_buffer_status | 0-255 |
| PARAM_VALUE | 0 | *ioc->manu_pg0.ChipName | 0-255 |
| DATA_SOURCE | 0 | ioc | $0 |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_ublock_io_device_wait() -> mpt3sas_get_pdev_by_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->base_cmds.done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->config_cmds.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->config_cmds.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->config_cmds.mutex.first_waiter->list.prev->prev | 0,5159360019465732096 |
| PARAM_VALUE | 0 | ioc->config_cmds.mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->config_cmds.mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ioc->config_cmds.mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ioc->config_cmds.mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ioc->config_cmds.mutex.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | ioc->config_cmds.mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ioc->ctl_cmds.done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->diag_trigger_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->fw_event_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->fw_event_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->fw_event_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->hostdiag_unlock_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->pcie_device_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | ioc->port_enable_cmds.done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->port_enable_cmds.done.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->port_enable_cmds.done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->port_enable_cmds.done.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->reset_in_progress_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->reset_in_progress_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->reset_in_progress_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->sas_device_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->scsih_cmds.done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->shost->host_lock | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->shost->host_lock->rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->tm_cmds.done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->transport_cmds.done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *ioc->diag_buffer_status | 0-255 |
| PARAM_VALUE | 0 | *ioc->manu_pg0.ChipName | 0-255 |
| DATA_SOURCE | 0 | ioc | $0 |
drivers/scsi/mpt3sas/mpt3sas_scsih.c scsih_abort() -> mpt3sas_get_pdev_by_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->fwfault_debug | 0 |
| PARAM_VALUE | 0 | ioc->remove_host | 0 |
drivers/scsi/mpt3sas/mpt3sas_scsih.c scsih_dev_reset() -> mpt3sas_get_pdev_by_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->remove_host | 0 |
| PARAM_VALUE | 1 | handle | 1-u16max |
drivers/scsi/mpt3sas/mpt3sas_scsih.c scsih_target_reset() -> mpt3sas_get_pdev_by_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->remove_host | 0 |
| PARAM_VALUE | 1 | handle | 1-u16max |
drivers/scsi/mpt3sas/mpt3sas_ctl.c _ctl_display_some_debug() -> mpt3sas_get_pdev_by_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->logging_level | s32min-(-1),32768-s32max |
| PARAM_VALUE | 0 | ioc->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ioc->sas_device_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->shost | 4096-ptr_max |
| CAPPED_DATA | 0 | ioc->ctl_cmds.smid | 1 |
| CAPPED_DATA | 0 | ioc->hi_priority_smid | 1 |
| DATA_SOURCE | 0 | ioc | $0 |
| STR_LEN | 0 | ioc | 8 |
| STR_LEN | 0 | ioc | 8 |
| STR_LEN | 0 | ioc->tmp_string | 63 |
| BIT_INFO | 0 | ioc->ctl_cmds.status | 0x1,0xffff |
| BIT_INFO | 0 | ioc->logging_level | 0x8000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ioc->tm_cmds.mutex |