Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/scsi/aic94xx/aic94xx_init.c, line 923
- drivers/scsi/hisi_sas/hisi_sas_main.c, line 934
- drivers/scsi/isci/host.c, line 660
- drivers/scsi/libsas/sas_event.c, line 84
- drivers/scsi/libsas/sas_init.c
- drivers/scsi/mvsas/mv_sas.c, line 284
- drivers/scsi/pm8001/pm8001_sas.c, line 371
Smatch caller information:
drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_scan_finished() -> sas_drain_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| BUF_SIZE | 0 | ha | 712 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/libsas/sas_init.c queue_phy_enable() -> sas_drain_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ha->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ha->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | ha->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | ha->dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ha->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ha->dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ha->lock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &d->event_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct sas_phy_data)->event_lock |
drivers/scsi/libsas/sas_init.c queue_phy_reset() -> sas_drain_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ha->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ha->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | ha->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | ha->dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ha->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ha->dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ha->lock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &d->event_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct sas_phy_data)->event_lock |
drivers/scsi/libsas/sas_init.c sas_resume_ha() -> sas_drain_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->shost | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->shost->host_lock | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->shost->host_lock->rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ha->shost->host_self_blocked | 0 |
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ha | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | ha->num_phys | 1 |
| DATA_SOURCE | 0 | ha | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ha | unit_byte |
drivers/scsi/mvsas/mv_sas.c mvs_scan_finished() -> sas_drain_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->lldd_ha | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/pm8001/pm8001_sas.c pm8001_scan_finished() -> sas_drain_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/isci/host.c isci_host_scan_finished() -> sas_drain_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ha | 4096-ptr_max |
| PARAM_VALUE | 0 | ha->lldd_ha | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/aic94xx/aic94xx_init.c asd_scan_finished() -> sas_drain_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |