Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/scsi/scsi_lib.c
- drivers/scsi/scsi_pm.c, line 58
- drivers/scsi/scsi_transport_spi.c, line 1032
- drivers/ufs/core/ufshcd.c, line 10862
Smatch caller information:
drivers/ufs/core/ufshcd.c ufshcd_wl_shutdown() -> scsi_device_quiesce()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->host->hostdata->dev_info.wspecversion | 1280-u16max |
| PARAM_VALUE | 0 | sdev->host->hostdata->host_sem.first_waiter->up | 1 |
| PARAM_VALUE | 0 | sdev->host->hostdata->host_sem.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sdev->host->hostdata->host_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | sdev->host->hostdata->host_sem.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sdev->host->hostdata->shutting_down | 1 |
| PARAM_VALUE | 0 | sdev->host->hostdata->ufs_device_wlun | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->host->hostdata->ufs_device_wlun->sdev_gendev.power.request | 0-4 |
| PARAM_VALUE | 0 | sdev->host->hostdata->ufs_device_wlun->sdev_gendev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | sdev->host->hostdata->ufs_device_wlun->sdev_gendev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sdev->host->hostdata->ufs_version | 1280-u32max |
| DATA_SOURCE | 0 | sdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| HALF_LOCKED2 | &parent->mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/scsi/scsi_lib.c device_quiesce_fn() -> scsi_device_quiesce()
| 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->sdev_state | 0-2,5-u32max |
| CAPPED_DATA | 0 | sdev->channel | 1 |
| CAPPED_DATA | 0 | sdev->id | 1 |
| DATA_SOURCE | 0 | sdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mrioc->tgtdev_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &system_transition_mutex |
drivers/scsi/scsi_pm.c scsi_dev_type_suspend() -> scsi_device_quiesce()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/scsi/scsi_transport_spi.c spi_dv_device() -> scsi_device_quiesce()
| 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->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sdev->sdev_dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | sdev->sdev_dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | sdev->sdev_dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | sdev->sdev_gendev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sdev->sdev_gendev.dma_io_tlb_mem->nslabs | 0-s64max |
| 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 |
| BUF_SIZE | 0 | sdev | (-1),4232-s32max |
| BUF_SIZE | 0 | sdev | (-1),4232-s32max |
| BUF_SIZE | 0 | sdev->inquiry | (-1),36-255 |
| DATA_SOURCE | 0 | sdev | $0 |
| FUZZY_MAX | 0 | sdev->sdev_state | 8 |
| NOSPEC | 0 | sdev->channel | |
| NOSPEC | 0 | sdev->id | |
| NOSPEC | 0 | sdev->sdev_target->channel | |
| NOSPEC | 0 | sdev->sdev_target->id | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | sdev->budget_map.depth | 1-4095[c] |
| USER_DATA | 0 | sdev->channel | 1-s32max[c] |
| USER_DATA | 0 | sdev->id | 0-s32max[c] |
| USER_DATA | 0 | sdev->lun | 0-18446744073709551614[c] |
| USER_DATA | 0 | sdev->queue_depth | 1-4095[c] |
| USER_DATA | 0 | sdev->request_queue->queue_depth | 1-4095[c] |
| USER_DATA | 0 | sdev->sdev_target->channel | 1-s32max[c] |
| USER_DATA | 0 | sdev->sdev_target->id | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->limits.max_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->limits.max_open_zones | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->nr_requests | |
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &shost->scan_mutex | ||
| HALF_LOCKED2 | 0 | &sdev->request_queue->limits_lock |