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/mpi3mr/mpi3mr_app.c mpi3mr_build_nvme_prp() -> mpi3mr_get_tgtdev_by_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mrioc | 4096-ptr_max |
| DATA_SOURCE | 0 | mrioc | $0 |
drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_devinfochg_evt_bh() -> mpi3mr_get_tgtdev_by_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mrioc | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->current_event | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->current_event->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->current_event->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->fwevt_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mrioc->stop_drv_processing | 0 |
| PARAM_VALUE | 0 | mrioc->unrecoverable | 0 |
| DATA_SOURCE | 0 | mrioc | $0 |
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_devstatuschg_evt_bh() -> mpi3mr_get_tgtdev_by_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mrioc | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->current_event | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->current_event->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->current_event->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->fwevt_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mrioc->stop_drv_processing | 0 |
| PARAM_VALUE | 0 | mrioc->unrecoverable | 0 |
| DATA_SOURCE | 0 | mrioc | $0 |
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_devstatuschg_evt_th() -> mpi3mr_get_tgtdev_by_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mrioc | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->admin_pend_isr.counter | 0 |
| PARAM_VALUE | 0 | mrioc->admin_reply_ephase | 0-1 |
| PARAM_VALUE | 0 | mrioc->admin_reply_q_in_use.counter | 0-s32max |
| PARAM_VALUE | 0 | mrioc->fw_release_trigger_active | 1 |
| PARAM_VALUE | 0 | mrioc->fwevt_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->fwevt_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->fwevt_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->fwevt_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mrioc->io_admin_reset_sync | 0 |
| PARAM_VALUE | 0 | mrioc->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | mrioc->pdev->dev.iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | mrioc->stop_drv_processing | 0 |
| PARAM_VALUE | 0 | mrioc->trace_release_trigger_active | 1 |
| PARAM_VALUE | 0 | mrioc->trigger_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mrioc->unrecoverable | 0 |
| DATA_SOURCE | 0 | mrioc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &drv_cmd->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_issue_tm() -> mpi3mr_get_tgtdev_by_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mrioc | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->block_on_pci_err | 0 |
| PARAM_VALUE | 0 | mrioc->reset_in_progress | 0 |
| PARAM_VALUE | 0 | mrioc->unrecoverable | 0 |
| DATA_SOURCE | 0 | mrioc | $0 |
| DATA_SOURCE | 1 | handle | $2 |
| LOCK2 | &drv_cmd->mutex | ||
| TYPE_LOCK | (struct mpi3mr_drv_cmd)->mutex |
drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_pcietopochg_evt_bh() -> mpi3mr_get_tgtdev_by_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mrioc | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->current_event | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->current_event->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->current_event->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->fwevt_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mrioc->stop_drv_processing | 0 |
| PARAM_VALUE | 0 | mrioc->unrecoverable | 0 |
| PARAM_VALUE | 1 | handle | 1-u16max |
| DATA_SOURCE | 0 | mrioc | $0 |
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_pcietopochg_evt_th() -> mpi3mr_get_tgtdev_by_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mrioc | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->admin_pend_isr.counter | 0 |
| PARAM_VALUE | 0 | mrioc->admin_reply_ephase | 0-1 |
| PARAM_VALUE | 0 | mrioc->admin_reply_q_in_use.counter | 0-s32max |
| PARAM_VALUE | 0 | mrioc->fw_release_trigger_active | 1 |
| PARAM_VALUE | 0 | mrioc->fwevt_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->fwevt_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->fwevt_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->fwevt_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mrioc->io_admin_reset_sync | 0 |
| PARAM_VALUE | 0 | mrioc->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | mrioc->pdev->dev.iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | mrioc->stop_drv_processing | 0 |
| PARAM_VALUE | 0 | mrioc->trace_release_trigger_active | 1 |
| PARAM_VALUE | 0 | mrioc->trigger_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mrioc->unrecoverable | 0 |
| PARAM_VALUE | 1 | handle | 1-u16max |
| DATA_SOURCE | 0 | mrioc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &drv_cmd->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_sastopochg_evt_bh() -> mpi3mr_get_tgtdev_by_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mrioc | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->current_event | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->current_event->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->current_event->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->fwevt_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mrioc->stop_drv_processing | 0 |
| PARAM_VALUE | 0 | mrioc->unrecoverable | 0-1 |
| PARAM_VALUE | 1 | handle | 1-u16max |
| DATA_SOURCE | 0 | mrioc | $0 |
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_sastopochg_evt_th() -> mpi3mr_get_tgtdev_by_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mrioc | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->admin_pend_isr.counter | 0 |
| PARAM_VALUE | 0 | mrioc->admin_reply_ephase | 0-1 |
| PARAM_VALUE | 0 | mrioc->admin_reply_q_in_use.counter | 0-s32max |
| PARAM_VALUE | 0 | mrioc->fw_release_trigger_active | 1 |
| PARAM_VALUE | 0 | mrioc->fwevt_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->fwevt_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->fwevt_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mrioc->fwevt_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mrioc->io_admin_reset_sync | 0 |
| PARAM_VALUE | 0 | mrioc->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | mrioc->pdev->dev.iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | mrioc->stop_drv_processing | 0 |
| PARAM_VALUE | 0 | mrioc->trace_release_trigger_active | 1 |
| PARAM_VALUE | 0 | mrioc->trigger_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mrioc->unrecoverable | 0 |
| PARAM_VALUE | 1 | handle | 1-u16max |
| DATA_SOURCE | 0 | mrioc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &drv_cmd->mutex | ||
| HALF_LOCKED2 | &pool->lock |