Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/scsi_error.c scsi_decide_disposition() -> scsi_check_sense()

Type Parameter Key Value
PARAM_VALUE 0 scmd 4096-ptr_max
PARAM_VALUE 0 scmd->cmnd 4096-ptr_max
PARAM_VALUE 0 scmd->device 4096-ptr_max
PARAM_VALUE 0 scmd->device->host 4096-ptr_max
PARAM_VALUE 0 scmd->device->sdev_state 0-3,5,8-u32max
PARAM_VALUE 0 scmd->sense_buffer 4096-ptr_max
DATA_SOURCE 0 scmd $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/scsi_error.c scsi_decide_disposition() -> scsi_check_sense()

Type Parameter Key Value
PARAM_VALUE 0 scmd 4096-ptr_max
PARAM_VALUE 0 scmd->device 4096-ptr_max
PARAM_VALUE 0 scmd->device->sdev_state 0-3,5,8-u32max
DATA_SOURCE 0 scmd $0
RX_PATH
TASK_NOT_RUNNING

drivers/scsi/scsi_error.c scsi_eh_completed_normally() -> scsi_check_sense()

Type Parameter Key Value
PARAM_VALUE 0 scmd 4096-ptr_max
PARAM_VALUE 0 scmd->device 4096-ptr_max
PARAM_VALUE 0 scmd->device->host->tag_set.tags_srcu.dep_map->name 0-255
PARAM_VALUE 0 scmd->device->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 scmd->device->state_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 scmd->device->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 scmd->device->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 scmd->device->state_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 scmd->eh_eflags 0
PARAM_VALUE 0 scmd->flags 0,4-s32max
PARAM_VALUE 0 scmd->prot_op 0
PARAM_VALUE 0 scmd->resid_len 0
PARAM_VALUE 0 scmd->result 0
PARAM_VALUE 0 scmd->sc_data_direction 2-3
PARAM_VALUE 0 scmd->sdb.length 0,8,18,96
PARAM_VALUE 0 scmd->sdb.table.nents 0-1
PARAM_VALUE 0 scmd->sdb.table.orig_nents 0-1
PARAM_VALUE 0 scmd->sdb.table.sgl 0,4096-ptr_max
PARAM_VALUE 0 scmd->submitter 1
PARAM_VALUE 0 scmd->underflow 0
PARAM_VALUE 0 *scmd->cmnd 0-255
DATA_SOURCE 0 scmd $0
BIT_INFO 0 scmd->flags 0x4,0x7fffffff
MEM_ZERO 0 scmd->sense_buffer
MEM_ZERO 0 &scmd->sdb

drivers/scsi/scsi_error.c scsi_eh_completed_normally() -> scsi_check_sense()

Type Parameter Key Value
PARAM_VALUE 0 scmd 4096-ptr_max
PARAM_VALUE 0 scmd->device 4096-ptr_max
PARAM_VALUE 0 scmd->device->host 4096-ptr_max
PARAM_VALUE 0 scmd->device->host->tag_set.tags_srcu.dep_map->name 0-255
PARAM_VALUE 0 scmd->device->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 scmd->device->state_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 scmd->device->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 scmd->device->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 scmd->device->state_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 scmd->eh_eflags 0
PARAM_VALUE 0 scmd->flags 0,4-s32max
PARAM_VALUE 0 scmd->prot_op 0
PARAM_VALUE 0 scmd->resid_len 0
PARAM_VALUE 0 scmd->result 0
PARAM_VALUE 0 scmd->sc_data_direction 2-3
PARAM_VALUE 0 scmd->sdb.length 0,8,18,96
PARAM_VALUE 0 scmd->sdb.table.nents 0-1
PARAM_VALUE 0 scmd->sdb.table.orig_nents 0-1
PARAM_VALUE 0 scmd->sdb.table.sgl 0,4096-ptr_max
PARAM_VALUE 0 scmd->submitter 1
PARAM_VALUE 0 scmd->underflow 0
PARAM_VALUE 0 *scmd->cmnd 0-255
DATA_SOURCE 0 scmd $0
BIT_INFO 0 scmd->flags 0x4,0xffffffffffffffff
MEM_ZERO 0 scmd->sense_buffer
MEM_ZERO 0 &scmd->sdb
NOCHECK_CALL

drivers/scsi/scsi_error.c scsi_eh_completed_normally() -> scsi_check_sense()

Type Parameter Key Value
PARAM_VALUE 0 scmd 4096-ptr_max
PARAM_VALUE 0 scmd->device 4096-ptr_max
PARAM_VALUE 0 scmd->device->host->tag_set.tags_srcu.dep_map->name 0-255
PARAM_VALUE 0 scmd->device->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 scmd->device->state_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 scmd->device->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 scmd->device->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 scmd->device->state_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 scmd->eh_eflags 0
PARAM_VALUE 0 scmd->flags 0,4-s32max
PARAM_VALUE 0 scmd->prot_op 0
PARAM_VALUE 0 scmd->resid_len 0
PARAM_VALUE 0 scmd->result 0
PARAM_VALUE 0 scmd->sc_data_direction 2-3
PARAM_VALUE 0 scmd->sdb.length 0,8,18,96
PARAM_VALUE 0 scmd->sdb.table.nents 0-1
PARAM_VALUE 0 scmd->sdb.table.orig_nents 0-1
PARAM_VALUE 0 scmd->sdb.table.sgl 0,4096-ptr_max
PARAM_VALUE 0 scmd->submitter 1
PARAM_VALUE 0 scmd->underflow 0
PARAM_VALUE 0 *scmd->cmnd 0-255
DATA_SOURCE 0 scmd $0
BIT_INFO 0 scmd->flags 0x4,0xffffffffffffffff
MEM_ZERO 0 scmd->sense_buffer
MEM_ZERO 0 &scmd->sdb

drivers/scsi/scsi_error.c scsi_eh_stu() -> scsi_check_sense()

Type Parameter Key Value
PARAM_VALUE 0 scmd 4096-ptr_max
PARAM_VALUE 0 scmd->device 4096-ptr_max
PARAM_VALUE 0 scmd->sense_buffer 4096-ptr_max
CAPPED_DATA 0 scmd->device 1
CAPPED_DATA 0 &scmd->eh_entry 1

drivers/ata/libata-eh.c ata_eh_decide_disposition() -> scsi_check_sense()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ap->host->eh_mutex
TYPE_LOCK (struct ata_host)->eh_mutex