Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/scsi/sd.c sd_check_events() -> scsi_test_unit_ready()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->host 4096-ptr_max
PARAM_VALUE 0 sdev->host->shost_state 0-4,8-u32max
PARAM_VALUE 0 sdev->host->tmf_in_progress 0
PARAM_VALUE 0 sdev->sdev_state 0-3,5,8-u32max
PARAM_VALUE 1 timeout 7500
PARAM_VALUE 3 sshdr 1224765889628639232
PARAM_VALUE 3 sshdr->asc 0
PARAM_VALUE 3 sshdr->ascq 0
PARAM_VALUE 3 sshdr->byte4 0
PARAM_VALUE 3 sshdr->byte5 0
PARAM_VALUE 3 sshdr->byte6 0
PARAM_VALUE 3 sshdr->response_code 0
PARAM_VALUE 3 sshdr->sense_key 0
RX_PATH
TASK_NOT_RUNNING

drivers/scsi/device_handler/scsi_dh_alua.c alua_tur() -> scsi_test_unit_ready()

Type Parameter Key Value
PARAM_VALUE 0 sdev 1-u64max
PARAM_VALUE 1 timeout 63750
PARAM_VALUE 2 retries 5
PARAM_VALUE 3 sshdr 1143465324308078592
DATA_SOURCE 0 sdev $0
HALF_LOCKED2 &pool->lock

drivers/scsi/storvsc_drv.c storvsc_host_scan() -> scsi_test_unit_ready()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->host->hostt->module->refcnt.counter 0-s32max
PARAM_VALUE 0 sdev->lun 0-18446744073709551614
PARAM_VALUE 0 sdev->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sdev->sdev_state 0-2,5-u32max
PARAM_VALUE 1 timeout 1
PARAM_VALUE 2 retries 1
PARAM_VALUE 3 sshdr 0
NOCHECK_CALL
LOCK2 &host->scan_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct Scsi_Host)->scan_mutex

drivers/scsi/scsi_ioctl.c scsi_ioctl() -> scsi_test_unit_ready()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 timeout 2500
PARAM_VALUE 2 retries 5
PARAM_VALUE 3 sshdr 7460313684295778304
DATA_SOURCE 0 sdev $0
UNITS 0 sdev unit_byte
HALF_LOCKED2 &cd->lock

drivers/scsi/sr_ioctl.c sr_drive_status() -> scsi_test_unit_ready()

Type Parameter Key Value
PARAM_VALUE 1 timeout 7500
PARAM_VALUE 2 retries 3
PARAM_VALUE 3 sshdr 6250974710378098688
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cd->lock
HALF_LOCKED2 &disk->open_mutex
TYPE_LOCK (struct scsi_cd)->lock

drivers/scsi/sr.c get_capabilities() -> scsi_test_unit_ready()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->changed 1
PARAM_VALUE 0 sdev->request_queue 4096-ptr_max
PARAM_VALUE 0 sdev->sdev_gendev.bus 0,4096-ptr_max
PARAM_VALUE 0 sdev->sdev_gendev.power.request 0-4
PARAM_VALUE 0 sdev->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 sdev->sdev_gendev.type 0,4096-ptr_max
PARAM_VALUE 0 sdev->type 4-5
PARAM_VALUE 1 timeout 7500
PARAM_VALUE 2 retries 3
PARAM_VALUE 3 sshdr 890892416720814080
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/sr.c sr_check_events() -> scsi_test_unit_ready()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->changed 0
PARAM_VALUE 0 sdev->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 timeout 7500
PARAM_VALUE 2 retries 3
PARAM_VALUE 3 sshdr 6733334197889011712
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &cd->lock

drivers/scsi/sr.c sr_revalidate_disk() -> scsi_test_unit_ready()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sdev->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 timeout 7500
PARAM_VALUE 2 retries 3
PARAM_VALUE 3 sshdr 2842904279917694976
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &disk->open_mutex