Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/scsi/scsi_lib.c, line 3152
- drivers/scsi/scsi_transport_fc.c
- drivers/scsi/scsi_transport_iscsi.c
- drivers/scsi/scsi_transport_srp.c
- drivers/scsi/snic/snic_disc.c, line 223
Smatch caller information:
drivers/scsi/snic/snic_disc.c snic_tgt_del() -> scsi_target_unblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent | 4096-ptr_max |
| PARAM_VALUE | 1 | new_state | 7 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/scsi_transport_iscsi.c __iscsi_unblock_session() -> scsi_target_unblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | new_state | 2 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/scsi_transport_iscsi.c iscsi_remove_session() -> scsi_target_unblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | new_state | 7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/scsi/scsi_transport_iscsi.c session_recovery_timedout() -> scsi_target_unblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | new_state | 7 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/scsi_transport_srp.c __rport_fail_io_fast() -> scsi_target_unblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | new_state | 7 |
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &rport->mutex | ||
| TYPE_LOCK | (struct srp_rport)->mutex |
drivers/scsi/scsi_transport_srp.c rport_dev_loss_timedout() -> scsi_target_unblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | new_state | 7 |
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &rport->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct srp_rport)->mutex |
drivers/scsi/scsi_transport_srp.c srp_reconnect_rport() -> scsi_target_unblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | new_state | 2 |
| NOCHECK_CALL | |||
| LOCK2 | &rport->mutex | ||
| TYPE_LOCK | (struct srp_rport)->mutex |
drivers/scsi/scsi_transport_srp.c srp_reconnect_rport() -> scsi_target_unblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | new_state | 7 |
| NOCHECK_CALL | |||
| LOCK2 | &rport->mutex | ||
| TYPE_LOCK | (struct srp_rport)->mutex |
drivers/scsi/scsi_transport_fc.c fc_remote_port_add() -> scsi_target_unblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | new_state | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fnic->fnic_lock |
drivers/scsi/scsi_transport_fc.c fc_remote_port_rolechg() -> scsi_target_unblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent | 4096-ptr_max |
| PARAM_VALUE | 1 | new_state | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/scsi_transport_fc.c fc_terminate_rport_io() -> scsi_target_unblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent | 4096-ptr_max |
| PARAM_VALUE | 1 | new_state | 7 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/scsi_transport_fc.c fc_timeout_deleted_rport() -> scsi_target_unblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent | 4096-ptr_max |
| PARAM_VALUE | 1 | new_state | 7 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |