Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/scsi/scsi_error.c, line 423
- drivers/scsi/scsi_ioctl.c, line 982
- drivers/scsi/sd.c
- drivers/scsi/sg.c
- drivers/scsi/sr.c, line 609
- drivers/scsi/sr_ioctl.c, line 202
- drivers/scsi/st.c
Smatch caller information:
drivers/scsi/sg.c sg_ioctl_common() -> scsi_block_when_processing_errors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | sdev | unit_byte |
drivers/scsi/sg.c sg_open() -> scsi_block_when_processing_errors()
| 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->host->hostt->module->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | sdev->sdev_state | 0-2,5-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sdev | unit_byte |
drivers/scsi/sg.c sg_write() -> scsi_block_when_processing_errors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | sdev | unit_byte |
drivers/scsi/sd.c sd_check_events() -> scsi_block_when_processing_errors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->sdev_state | 0-3,5,8-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/scsi/sd.c sd_open() -> scsi_block_when_processing_errors()
| 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->host->hostt->module->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | sdev->sdev_state | 0-2,5-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &disk->open_mutex | ||
| TYPE_LOCK | (struct gendisk)->open_mutex |
drivers/scsi/sd.c sd_open() -> scsi_block_when_processing_errors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->host | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->host->hostt->module->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | sdev->host->hostt->module->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | sdev->host->shost_state | 0-4,8-u32max |
| PARAM_VALUE | 0 | sdev->host->tmf_in_progress | 0 |
| PARAM_VALUE | 0 | sdev->removable | 1 |
| PARAM_VALUE | 0 | sdev->sdev_state | 0-2,5,8-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &disk->open_mutex | ||
| TYPE_LOCK | (struct gendisk)->open_mutex |
drivers/scsi/sd.c sd_release() -> scsi_block_when_processing_errors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->removable | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &disk->open_mutex | ||
| TYPE_LOCK | (struct gendisk)->open_mutex |
drivers/scsi/scsi_ioctl.c scsi_ioctl_block_when_processing_errors() -> scsi_block_when_processing_errors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | sdev | $0 |
| UNITS | 0 | sdev | unit_byte |
| HALF_LOCKED2 | &cd->lock |
drivers/scsi/sr_ioctl.c sr_do_ioctl() -> scsi_block_when_processing_errors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cd->lock |
drivers/scsi/st.c rw_checks() -> scsi_block_when_processing_errors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &STp->lock | ||
| TYPE_LOCK | (struct scsi_tape)->lock |
drivers/scsi/st.c st_open() -> scsi_block_when_processing_errors()
| 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->host->hostt->module->state | 0-1,3-u32max |
| 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.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sdev->sdev_gendev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sdev->sdev_state | 0-2,5-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/scsi/sr.c sr_open() -> scsi_block_when_processing_errors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cd->lock | ||
| LOCK2 | &disk->open_mutex | ||
| TYPE_LOCK | (struct gendisk)->open_mutex | ||
| TYPE_LOCK | (struct scsi_cd)->lock |