Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/scsi/aic94xx/aic94xx_scb.c
- drivers/scsi/hisi_sas/hisi_sas_main.c
- drivers/scsi/isci/port.c, line 274
- drivers/scsi/libsas/sas_event.c, line 216
- drivers/scsi/libsas/sas_init.c
- drivers/scsi/mvsas/mv_sas.c
- drivers/scsi/pm8001/pm8001_hwi.c
- drivers/scsi/pm8001/pm8001_sas.c
- drivers/scsi/pm8001/pm80xx_hwi.c
Smatch caller information:
drivers/scsi/pm8001/pm8001_hwi.c hw_event_sas_phy_up() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->oob_mode | 2 |
| PARAM_VALUE | 1 | event | 1 |
| PARAM_VALUE | 2 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pm8001_ha->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct pm8001_hba_info)->lock |
drivers/scsi/pm8001/pm8001_hwi.c hw_event_sata_phy_up() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->linkrate | 8-11 |
| PARAM_VALUE | 0 | phy->oob_mode | 1 |
| PARAM_VALUE | 0 | phy->phy | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 1 |
| PARAM_VALUE | 2 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pm8001_ha->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct pm8001_hba_info)->lock |
drivers/scsi/pm8001/pm8001_hwi.c mpi_hw_event() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 3 |
| PARAM_VALUE | 2 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pm8001_ha->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct pm8001_hba_info)->lock |
drivers/scsi/pm8001/pm8001_hwi.c mpi_hw_event() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 0 |
| PARAM_VALUE | 2 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pm8001_ha->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct pm8001_hba_info)->lock |
drivers/scsi/pm8001/pm8001_hwi.c mpi_hw_event() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->linkrate | 0 |
| PARAM_VALUE | 0 | phy->oob_mode | 0 |
| PARAM_VALUE | 1 | event | 2 |
| PARAM_VALUE | 2 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pm8001_ha->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct pm8001_hba_info)->lock |
drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_bytes_dmaed() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 1 |
| PARAM_VALUE | 2 | gfp_flags | 2080,3264 |
| BUF_SIZE | 0 | phy | 280 |
| DATA_SOURCE | 2 | gfp_flags | $2 |
| HARD_MAX | 2 | gfp_flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_phy_down() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 0 |
| PARAM_VALUE | 2 | gfp_flags | 2080,3264 |
| BUF_SIZE | 0 | phy | 280 |
| DATA_SOURCE | 2 | gfp_flags | $3 |
| HARD_MAX | 2 | gfp_flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/libsas/sas_init.c sas_alloc_event() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->event_nr.counter | (-2147483647)-s32max |
| PARAM_VALUE | 0 | phy->ha | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->ha->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | phy->ha->event_thres | s32min-2147483646 |
| PARAM_VALUE | 0 | phy->ha->shost | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 5 |
| BUF_SIZE | 0 | phy | (-1),280 |
| BUF_SIZE | 0 | phy | (-1),280 |
| CAPPED_DATA | 0 | phy->ha->event_thres | 1 |
| DATA_SOURCE | 0 | phy | $0 |
| DATA_SOURCE | 2 | gfp_flags | $1 |
| CONSTRAINT | 0 | phy->ha->event_thres | <4136 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &circularQ->oq_lock | ||
| HALF_LOCKED2 | &mvi->lock | ||
| HALF_LOCKED2 | &pm8001_ha->lock | ||
| HALF_LOCKED2 | circularQ->lock_flags | ||
| HALF_LOCKED2 | flags |
drivers/scsi/libsas/sas_init.c sas_resume_ha() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->phy->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->phy->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->phy->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->suspended | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | event | 4 |
| PARAM_VALUE | 2 | gfp_flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/aic94xx/aic94xx_scb.c asd_phy_event_tasklet() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->linkrate | 0 |
| PARAM_VALUE | 0 | phy->oob_mode | 0 |
| PARAM_VALUE | 1 | event | 0 |
| PARAM_VALUE | 2 | gfp_flags | 2080 |
| NOCHECK_CALL |
drivers/scsi/aic94xx/aic94xx_scb.c asd_phy_event_tasklet() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->linkrate | 8-10 |
| PARAM_VALUE | 0 | phy->oob_mode | 1-2 |
| PARAM_VALUE | 0 | phy->phy | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 1 |
| PARAM_VALUE | 2 | gfp_flags | 2080 |
| NOCHECK_CALL |
drivers/scsi/aic94xx/aic94xx_scb.c asd_phy_event_tasklet() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 3 |
| PARAM_VALUE | 2 | gfp_flags | 2080 |
| NOCHECK_CALL |
drivers/scsi/aic94xx/aic94xx_scb.c asd_phy_event_tasklet() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->linkrate | 0 |
| PARAM_VALUE | 0 | phy->oob_mode | 0 |
| PARAM_VALUE | 1 | event | 2 |
| PARAM_VALUE | 2 | gfp_flags | 2080 |
| NOCHECK_CALL |
drivers/scsi/mvsas/mv_sas.c mvs_bytes_dmaed() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 1 |
| PARAM_VALUE | 2 | gfp_flags | 2080,3264 |
| BUF_SIZE | 0 | phy | 280 |
| DATA_SOURCE | 2 | gfp_flags | $2 |
| HARD_MAX | 2 | gfp_flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mvi->lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/mvsas/mv_sas.c mvs_work_queue() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->linkrate | 0 |
| PARAM_VALUE | 0 | phy->oob_mode | 0 |
| PARAM_VALUE | 1 | event | 0 |
| PARAM_VALUE | 2 | gfp_flags | 2080 |
| BUF_SIZE | 0 | phy | 280 |
| NOCHECK_CALL | |||
| LOCK2 | &mvi->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mvs_info)->lock |
drivers/scsi/pm8001/pm8001_sas.c pm8001_phy_control() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->linkrate | 0 |
| PARAM_VALUE | 0 | phy->oob_mode | 0 |
| PARAM_VALUE | 1 | event | 0 |
| PARAM_VALUE | 2 | gfp_flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/pm8001/pm8001_sas.c pm8001_phy_control() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->linkrate | 0 |
| PARAM_VALUE | 0 | phy->oob_mode | 0 |
| PARAM_VALUE | 1 | event | 0 |
| PARAM_VALUE | 2 | gfp_flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/pm8001/pm80xx_hwi.c hw_event_phy_down() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 0 |
| PARAM_VALUE | 2 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &circularQ->oq_lock | ||
| LOCK2 | circularQ->lock_flags | ||
| TYPE_LOCK | (struct outbound_queue_table)->oq_lock |
drivers/scsi/pm8001/pm80xx_hwi.c hw_event_sas_phy_up() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->oob_mode | 2 |
| PARAM_VALUE | 1 | event | 1 |
| PARAM_VALUE | 2 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &circularQ->oq_lock | ||
| LOCK2 | circularQ->lock_flags | ||
| TYPE_LOCK | (struct outbound_queue_table)->oq_lock |
drivers/scsi/pm8001/pm80xx_hwi.c hw_event_sata_phy_up() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->linkrate | 8-11 |
| PARAM_VALUE | 0 | phy->oob_mode | 1 |
| PARAM_VALUE | 0 | phy->phy | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 1 |
| PARAM_VALUE | 2 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &circularQ->oq_lock | ||
| LOCK2 | circularQ->lock_flags | ||
| TYPE_LOCK | (struct outbound_queue_table)->oq_lock |
drivers/scsi/pm8001/pm80xx_hwi.c mpi_hw_event() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 3 |
| PARAM_VALUE | 2 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &circularQ->oq_lock | ||
| LOCK2 | circularQ->lock_flags | ||
| TYPE_LOCK | (struct outbound_queue_table)->oq_lock |
drivers/scsi/pm8001/pm80xx_hwi.c mpi_hw_event() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->linkrate | 0 |
| PARAM_VALUE | 0 | phy->oob_mode | 0 |
| PARAM_VALUE | 1 | event | 2 |
| PARAM_VALUE | 2 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &circularQ->oq_lock | ||
| LOCK2 | circularQ->lock_flags | ||
| TYPE_LOCK | (struct outbound_queue_table)->oq_lock |
drivers/scsi/pm8001/pm80xx_hwi.c mpi_hw_event() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 0 |
| PARAM_VALUE | 2 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &circularQ->oq_lock | ||
| LOCK2 | circularQ->lock_flags | ||
| TYPE_LOCK | (struct outbound_queue_table)->oq_lock |
drivers/scsi/isci/port.c isci_port_link_down() -> sas_notify_phy_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->linkrate | 0 |
| PARAM_VALUE | 0 | phy->oob_mode | 0 |
| PARAM_VALUE | 1 | event | 0 |
| PARAM_VALUE | 2 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ihost->scic_lock | ||
| HALF_LOCKED2 | &isci_host->scic_lock | ||
| HALF_LOCKED2 | irq |