Documented in 1 files:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/scsi/mpi3mr/mpi3mr_transport.c __mpi3mr_get_tgtdev_by_addr() -> mpi3mr_tgtdev_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev_spec.sas_sata_inf.hba_port | 1-u64max |
| PARAM_VALUE | 0 | s->dev_type | 0 |
| CAPPED_DATA | 0 | s->dev_spec.sas_sata_inf.hba_port | 1 |
| CAPPED_DATA | 0 | s->dev_spec.sas_sata_inf.sas_address | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mrioc->tgtdev_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mpi3mr_ioc)->tgtdev_lock |
drivers/scsi/mpi3mr/mpi3mr_transport.c __mpi3mr_get_tgtdev_by_addr_and_rphy() -> mpi3mr_tgtdev_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev_spec.sas_sata_inf.rphy | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev_type | 0 |
| CAPPED_DATA | 0 | s->dev_spec.sas_sata_inf.rphy | 1 |
| CAPPED_DATA | 0 | s->dev_spec.sas_sata_inf.sas_address | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mrioc->tgtdev_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sdev->request_queue->limits_lock | ||
| HALF_LOCKED2 | &shost->scan_mutex | ||
| TYPE_LOCK | (struct mpi3mr_ioc)->tgtdev_lock |
drivers/scsi/mpi3mr/mpi3mr_os.c __mpi3mr_get_tgtdev_by_handle() -> mpi3mr_tgtdev_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| CAPPED_DATA | 0 | s->dev_handle | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mrioc->tgtdev_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct mpi3mr_ioc)->tgtdev_lock |
drivers/scsi/mpi3mr/mpi3mr_os.c __mpi3mr_get_tgtdev_by_perst_id() -> mpi3mr_tgtdev_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| CAPPED_DATA | 0 | s->perst_id | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mrioc->tgtdev_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sdev->request_queue->limits_lock | ||
| HALF_LOCKED2 | &shost->scan_mutex | ||
| TYPE_LOCK | (struct mpi3mr_ioc)->tgtdev_lock |
drivers/scsi/mpi3mr/mpi3mr_os.c __mpi3mr_get_tgtdev_from_tgtpriv() -> mpi3mr_tgtdev_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mrioc->tgtdev_lock | ||
| LOCK2 | flags | ||
| LOCK2 | shost->host_lock | ||
| HALF_LOCKED2 | &shost->scan_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct mpi3mr_ioc)->tgtdev_lock |
drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_tgtdev_add_to_list() -> mpi3mr_tgtdev_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev_spec.pcie_inf.abort_to | 60-255 |
| PARAM_VALUE | 0 | s->dev_spec.pcie_inf.reset_to | 60-255 |
| PARAM_VALUE | 0 | s->dev_spec.vd_inf.abort_to | 60-255 |
| PARAM_VALUE | 0 | s->dev_spec.vd_inf.reset_to | 60-255 |
| PARAM_VALUE | 0 | s->dev_spec.vd_inf.tg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->dev_spec.vd_inf.tg->high | 0-134215680 |
| PARAM_VALUE | 0 | s->dev_spec.vd_inf.tg->id | 0-65534 |
| PARAM_VALUE | 0 | s->dev_spec.vd_inf.tg->io_divert | 0-1 |
| PARAM_VALUE | 0 | s->dev_spec.vd_inf.tg->low | 0-134215680 |
| PARAM_VALUE | 0 | s->dev_spec.vd_inf.tg->need_qd_reduction | 0-1 |
| PARAM_VALUE | 0 | s->dev_spec.vd_inf.tg_high | 0-134215680 |
| PARAM_VALUE | 0 | s->dev_spec.vd_inf.tg_low | 0-134215680 |
| PARAM_VALUE | 0 | s->io_throttle_enabled | 0-1 |
| PARAM_VALUE | 0 | s->is_hidden | 0-1,8 |
| PARAM_VALUE | 0 | s->non_stl | 1 |
| PARAM_VALUE | 0 | s->perst_id | 0-65534 |
| PARAM_VALUE | 0 | s->ref_count.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | s->starget | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->starget->hostdata->dev_handle | 0-u16max |
| PARAM_VALUE | 0 | s->starget->hostdata->dev_type | 0-255 |
| PARAM_VALUE | 0 | s->starget->hostdata->io_throttle_enabled | 0-255 |
| PARAM_VALUE | 0 | s->starget->hostdata->perst_id | 0-65534 |
| PARAM_VALUE | 0 | s->starget->hostdata->throttle_group->high | 0-134215680 |
| PARAM_VALUE | 0 | s->starget->hostdata->throttle_group->id | 0-65534 |
| PARAM_VALUE | 0 | s->starget->hostdata->throttle_group->io_divert | 0-1 |
| PARAM_VALUE | 0 | s->starget->hostdata->throttle_group->low | 0-134215680 |
| PARAM_VALUE | 0 | s->starget->hostdata->throttle_group->need_qd_reduction | 0-1 |
| PARAM_VALUE | 0 | s->starget->hostdata->wslen | 0,256,2048 |
| PARAM_VALUE | 0 | s->wslen | 0,256,2048 |
| BUF_SIZE | 0 | s | 112 |
| DATA_SOURCE | 0 | s | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mrioc->tgtdev_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &drv_cmd->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mpi3mr_ioc)->tgtdev_lock |