Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/esp_scsi.c esp_autosense() -> esp_send_dma_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | esp | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->active_cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->active_cmd->cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->command_block | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | esp->msg_out_len | 0 |
| PARAM_VALUE | 0 | esp->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->ops->dma_error | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->ops->esp_read8 | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->ops->esp_write8 | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->select_state | 1 |
| PARAM_VALUE | 2 | max_len | 16 |
| PARAM_VALUE | 3 | cmd | 66 |
| DATA_SOURCE | 0 | esp | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | esp->active_cmd->cmd->result | 0-255,262144-262399,458752-459007 |
| HOST_DATA | 0 | esp->ireg | 0-255 |
| HOST_DATA | 0 | esp->seqreg | 0-255 |
| HOST_DATA | 0 | esp->sreg2 | 0-255 |
| UNITS | 1 | len | unit_array_size |
| HALF_LOCKED2 | 0 | esp->host->host_lock |
drivers/scsi/esp_scsi.c esp_maybe_execute_command() -> esp_send_dma_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | esp | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->active_cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->active_cmd->cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->active_cmd->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->active_cmd->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->active_cmds.next | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->active_cmds.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->active_cmds.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | esp->msg_out_len | 0,2,4-s32max |
| PARAM_VALUE | 0 | esp->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->ops->dma_error | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->ops->esp_read8 | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->ops->esp_write8 | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->select_state | 1-2 |
| PARAM_VALUE | 0 | esp->target | 4096-ptr_max |
| PARAM_VALUE | 2 | max_len | 16 |
| PARAM_VALUE | 3 | cmd | 66-67,70 |
| BUF_SIZE | 0 | esp->cmd_bytes_ptr | (-1),32 |
| DATA_SOURCE | 0 | esp | $0 |
| FUZZY_MAX | 0 | esp->msg_out_len | 0 |
| FUZZY_MAX | 0 | esp->select_state | 2 |
| BIT_INFO | 0 | esp->flags | 0x0,0xfffffffd |
| BIT_INFO | 3 | cmd | 0x42,0x47 |
| HARD_MAX | 0 | esp->select_state | 2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | esp->active_cmd->cmd->result | 0-255,262144-262399,458752-459007 |
| HOST_DATA | 0 | esp->ireg | 0-255 |
| HOST_DATA | 0 | esp->seqreg | 0-255 |
| HOST_DATA | 0 | esp->sreg2 | 0-255 |
| UNITS | 1 | len | unit_array_size |
| HALF_LOCKED2 | irq_flags | ||
| HALF_LOCKED2 | shost->host_lock | ||
| HALF_LOCKED2 | 0 | esp->host->host_lock |
drivers/scsi/esp_scsi.c esp_process_event() -> esp_send_dma_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | esp | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->cmd_bytes_left | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | esp->dev->driver_data->dma_status | 0-255 |
| PARAM_VALUE | 0 | esp->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | esp->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | esp->event | 1 |
| PARAM_VALUE | 0 | esp->host | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->ops->dma_error | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->ops->esp_read8 | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->ops->esp_write8 | 4096-ptr_max |
| PARAM_VALUE | 0 | esp->regs | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | max_len | 16 |
| PARAM_VALUE | 3 | cmd | 16 |
| DATA_SOURCE | 0 | esp | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | esp->active_cmd->cmd->result | 0-255,262144-262399,458752-459007 |
| HOST_DATA | 0 | esp->active_cmd->status | 0-255 |
| HOST_DATA | 0 | esp->ireg | 0-255 |
| HOST_DATA | 0 | esp->seqreg | 0-255 |
| HOST_DATA | 0 | esp->sreg | 0-255 |
| HOST_DATA | 0 | esp->sreg2 | 0-255 |
| UNITS | 1 | len | unit_byte |
| LOCK2 | 0 | esp->host->host_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |