Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/esp_scsi.c esp_process_event() -> (struct esp_driver_ops)->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->data_dma_len 1-16777216
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 3-4
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->dma_length_limit 5464416086880067584
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 2 esp_count 1-16777216
PARAM_VALUE 3 dma_count 1-16777216
PARAM_VALUE 4 write 0-1
PARAM_VALUE 5 cmd 144
CAPPED_DATA 0 esp->data_dma_len 1
CAPPED_DATA 2 esp_count 1
CAPPED_DATA 3 dma_count 1
DATA_SOURCE 0 esp $0
DATA_SOURCE 1 addr r esp_cur_dma_addr
FUZZY_MAX 4 write 1
CONTAINER 0 -56-16+0 $(-1)
HARD_MAX 4 write 1
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
LOCK2 0 esp->host->host_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags

drivers/scsi/esp_scsi.c esp_process_event() -> (struct esp_driver_ops)->send_dma_cmd()

Type Parameter Key Value
PARAM_VALUE 0 esp 4096-ptr_max
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->esp_event_cur 0-31
PARAM_VALUE 0 esp->event 9
PARAM_VALUE 0 esp->host 4096-ptr_max
PARAM_VALUE 0 esp->msg_out_len s32min-0,2-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->regs 4096-ptr_max
PARAM_VALUE 0 esp->rev 0-7,9-u32max
PARAM_VALUE 2 esp_count 0,2-u32max
PARAM_VALUE 3 dma_count 0,2-u32max
PARAM_VALUE 4 write 0
PARAM_VALUE 5 cmd 144
DATA_SOURCE 0 esp $0
CONTAINER 0 -56-16+0 $(-1)
CONTAINER 1 *(-56-16+88) $(-1)
CONTAINER 2 *(-56-16+704) $(-1)
CONTAINER 3 *(-56-16+704) $(-1)
BIT_INFO 0 esp->flags 0x0,0xffffffbf
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->sreg2 0-255
LOCK2 0 esp->host->host_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags

drivers/scsi/esp_scsi.c esp_reconnect_with_tag() -> (struct esp_driver_ops)->send_dma_cmd()

Type Parameter Key Value
PARAM_VALUE 0 esp 4096-ptr_max
PARAM_VALUE 0 esp->active_cmd 0
PARAM_VALUE 0 esp->command_block 4096-ptr_max
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->esp_event_cur 0-31
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 0 esp->target 4096-ptr_max
PARAM_VALUE 2 esp_count 2
PARAM_VALUE 3 dma_count 2
PARAM_VALUE 4 write 1
PARAM_VALUE 5 cmd 144
DATA_SOURCE 0 esp $0
CONTAINER 0 -56-16+0 $(-1)
CONTAINER 1 *(-56-16+88) $(-1)
BIT_INFO 0 esp->ireg 0x0,0xdf
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
LOCK2 0 esp->host->host_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags

drivers/scsi/esp_scsi.c esp_send_dma_cmd() -> (struct esp_driver_ops)->send_dma_cmd()

Type Parameter Key Value
PARAM_VALUE 0 esp 4096-ptr_max
PARAM_VALUE 0 esp->dev->dma_io_tlb_mem->can_grow 0-1
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 3 dma_count 16
PARAM_VALUE 4 write 0
PARAM_VALUE 5 cmd 144,194-195,198
BUF_SIZE 0 esp->cmd_bytes_ptr (-1),32
DATA_SOURCE 0 esp $0
DATA_SOURCE 2 esp_count $1
DATA_SOURCE 3 dma_count $2
DATA_SOURCE 5 cmd $3 [m]
CONTAINER 0 -56-16+0 $(-1)
CONTAINER 1 *(-56-16+88) $(-1)
BIT_INFO 0 esp->flags 0x0,0xffffffbf
BIT_INFO 5 cmd 0x80,0xd7
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
HALF_LOCKED2 0 esp->host->host_lock