Defined in 2 files as a member:

Referenced in 107 files:

Smatch caller information:

drivers/scsi/scsi_error.c scsi_send_eh_cmnd() -> (struct scsi_host_template)->queuecommand()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
PARAM_VALUE 0 shost->eh_action 4467647749774548992
PARAM_VALUE 0 shost->hostt 4096-ptr_max
PARAM_VALUE 1 cmd 4096-ptr_max
PARAM_VALUE 1 cmd->device 4096-ptr_max
PARAM_VALUE 1 cmd->device->state_mutex.dep_map->name 0-255
PARAM_VALUE 1 cmd->device->state_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 cmd->device->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 cmd->device->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 cmd->device->state_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 cmd->device->state_mutex.wait_lock.owner (-1)
PARAM_VALUE 1 cmd->device->state_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 cmd->eh_eflags 0
PARAM_VALUE 1 cmd->flags 0,4-s32max
PARAM_VALUE 1 cmd->prot_op 0
PARAM_VALUE 1 cmd->resid_len 0
PARAM_VALUE 1 cmd->result 0
PARAM_VALUE 1 cmd->sc_data_direction 2-3
PARAM_VALUE 1 cmd->sdb.length 0,8,18,96
PARAM_VALUE 1 cmd->sdb.table.nents 0-1
PARAM_VALUE 1 cmd->sdb.table.orig_nents 0-1
PARAM_VALUE 1 cmd->sdb.table.sgl 0,4096-ptr_max
PARAM_VALUE 1 cmd->submitter 1
PARAM_VALUE 1 cmd->underflow 0
PARAM_VALUE 1 *cmd->cmnd 0-255
BUF_SIZE 0 shost->eh_action 96
DATA_SOURCE 1 cmd $0
CONTAINER 0 -8-416+0 $(-1)
BIT_INFO 1 cmd->flags 0x4,0x7fffffff
MEM_ZERO 1 cmd->sense_buffer
MEM_ZERO 1 &cmd->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 shost 4096-ptr_max
PARAM_VALUE 0 shost->hostt 4096-ptr_max
PARAM_VALUE 0 shost->shost_state 0-3,5-u32max
PARAM_VALUE 1 cmd 4096-ptr_max
PARAM_VALUE 1 cmd->device 4096-ptr_max
PARAM_VALUE 1 cmd->device->host 4096-ptr_max
PARAM_VALUE 1 cmd->device->host->hostt 4096-ptr_max
PARAM_VALUE 1 cmd->device->host->shost_state 0-3,5-u32max
PARAM_VALUE 1 cmd->device->sdev_state 0-3,5-7,10-u32max
PARAM_VALUE 1 cmd->flags 0-23
PARAM_VALUE 1 cmd->resid_len 0
PARAM_VALUE 1 cmd->submitter 0
CAPPED_DATA 1 cmd->cmd_len 1
DATA_SOURCE 1 cmd $0
CONTAINER 0 -8-416+0 $(-1)
PARAM_COMPARE 1 cmd->cmd_len <= $1->device->host->max_cmd_len
BIT_INFO 1 cmd->flags 0x0,0x17
MEM_ZERO 1 cmd->sense_buffer
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read