Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/infiniband/ulp/iser/iscsi_iser.c, line 958
- drivers/scsi/be2iscsi/be_main.c, line 405
- drivers/scsi/bnx2i/bnx2i_iscsi.c, line 2257
- drivers/scsi/cxgbi/cxgb3i/cxgb3i.c, line 88
- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c, line 106
- drivers/scsi/iscsi_tcp.c, line 1031
- drivers/scsi/libiscsi.c, line 1888
- drivers/scsi/qedi/qedi_iscsi.c, line 47
Smatch caller information:
drivers/scsi/scsi_error.c scsi_send_eh_cmnd() -> (struct scsi_host_template)->queuecommand()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->eh_action | 4467647749774548992 |
| PARAM_VALUE | 0 | host->hostt | 4096-ptr_max |
| PARAM_VALUE | 1 | sc | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->device | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->device->state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sc->device->state_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sc->device->state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | sc->device->state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | sc->device->state_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sc->device->state_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | sc->device->state_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | sc->eh_eflags | 0 |
| PARAM_VALUE | 1 | sc->flags | 0,4-s32max |
| PARAM_VALUE | 1 | sc->prot_op | 0 |
| PARAM_VALUE | 1 | sc->resid_len | 0 |
| PARAM_VALUE | 1 | sc->result | 0 |
| PARAM_VALUE | 1 | sc->sc_data_direction | 2-3 |
| PARAM_VALUE | 1 | sc->sdb.length | 0,8,18,96 |
| PARAM_VALUE | 1 | sc->sdb.table.nents | 0-1 |
| PARAM_VALUE | 1 | sc->sdb.table.orig_nents | 0-1 |
| PARAM_VALUE | 1 | sc->sdb.table.sgl | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sc->submitter | 1 |
| PARAM_VALUE | 1 | sc->underflow | 0 |
| PARAM_VALUE | 1 | *sc->cmnd | 0-255 |
| BUF_SIZE | 0 | host->eh_action | 96 |
| DATA_SOURCE | 1 | sc | $0 |
| CONTAINER | 0 | -8-416+0 | $(-1) |
| BIT_INFO | 1 | sc->flags | 0x4,0x7fffffff |
| MEM_ZERO | 1 | sc->sense_buffer | |
| MEM_ZERO | 1 | &sc->sdb | |
| LOCK2 | &sdev->state_mutex | ||
| TYPE_LOCK | (struct scsi_device)->state_mutex |
drivers/scsi/scsi_lib.c scsi_dispatch_cmd() -> (struct scsi_host_template)->queuecommand()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->hostt | 4096-ptr_max |
| PARAM_VALUE | 0 | host->shost_state | 0-3,5-u32max |
| PARAM_VALUE | 1 | sc | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->device | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->device->host | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->device->host->hostt | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->device->host->shost_state | 0-3,5-u32max |
| PARAM_VALUE | 1 | sc->device->sdev_state | 0-3,5-7,10-u32max |
| PARAM_VALUE | 1 | sc->flags | 0-23 |
| PARAM_VALUE | 1 | sc->resid_len | 0 |
| PARAM_VALUE | 1 | sc->submitter | 0 |
| CAPPED_DATA | 1 | sc->cmd_len | 1 |
| DATA_SOURCE | 1 | sc | $0 |
| CONTAINER | 0 | -8-416+0 | $(-1) |
| PARAM_COMPARE | 1 | sc->cmd_len | <= $1->device->host->max_cmd_len |
| BIT_INFO | 1 | sc->flags | 0x0,0x17 |
| MEM_ZERO | 1 | sc->sense_buffer | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |