Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_abort_task() -> hisi_sas_do_release_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hisi_hba | 4096-ptr_max |
| PARAM_VALUE | 1 | task | 4096-ptr_max |
| PARAM_VALUE | 1 | task->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | task->dev->port | 4096-ptr_max |
| PARAM_VALUE | 1 | task->dev->port->ha | 4096-ptr_max |
| PARAM_VALUE | 1 | task->dev->port->ha->shost | 4096-ptr_max |
| PARAM_VALUE | 1 | task->dev->tproto | 8-u32max |
| PARAM_VALUE | 1 | task->lldd_task | 4096-ptr_max |
| PARAM_VALUE | 1 | task->task_proto | 8-u32max |
| PARAM_VALUE | 1 | task->task_state_flags | 0,4-u32max |
| PARAM_VALUE | 1 | task->task_state_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | task->uldd_task | 4096-ptr_max |
| PARAM_VALUE | 1 | task->uldd_task->device | 4096-ptr_max |
| PARAM_VALUE | 2 | slot | 4096-ptr_max |
| PARAM_VALUE | 3 | need_lock | 1 |
| BUF_SIZE | 0 | hisi_hba | 64,19840,57064,65584 |
| BUF_SIZE | 0 | hisi_hba | 64,19840,57064,65584 |
| BUF_SIZE | 1 | task | (-1),144 |
| BUF_SIZE | 1 | task | (-1),144 |
| DATA_SOURCE | 1 | task | $0 |
| PARAM_COMPARE | 0 | hisi_hba | == $1->dev->port->ha->lldd_ha |
| PARAM_COMPARE | 0 | hisi_hba | == $1->dev->port->ha->lldd_ha |
| BIT_INFO | 1 | task->task_proto | 0x8,0xffffffffffffffff |
| BIT_INFO | 1 | task->task_state_flags | 0x4,0xfffffffd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->ex_dev.cmd_mutex |
drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_abort_task() -> hisi_sas_do_release_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hisi_hba | 4096-ptr_max |
| PARAM_VALUE | 0 | hisi_hba->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hisi_hba->hw->dereg_device | 0,4096-ptr_max |
| PARAM_VALUE | 1 | task | 4096-ptr_max |
| PARAM_VALUE | 1 | task->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | task->dev->dev_type | 5 |
| PARAM_VALUE | 1 | task->dev->port | 4096-ptr_max |
| PARAM_VALUE | 1 | task->dev->port->ha | 4096-ptr_max |
| PARAM_VALUE | 1 | task->lldd_task | 1-u64max |
| PARAM_VALUE | 1 | task->task_proto | 1-u32max |
| PARAM_VALUE | 1 | task->task_state_flags | 0,4-u32max |
| PARAM_VALUE | 1 | task->task_state_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | task->uldd_task | 4096-ptr_max |
| PARAM_VALUE | 2 | slot | 1-u64max |
| PARAM_VALUE | 3 | need_lock | 1 |
| BUF_SIZE | 0 | hisi_hba | 64,19840,57064,65584 |
| BUF_SIZE | 0 | hisi_hba | 64,19840,57064,65584 |
| BUF_SIZE | 1 | task | (-1),144 |
| BUF_SIZE | 1 | task | (-1),144 |
| DATA_SOURCE | 1 | task | $0 |
| PARAM_COMPARE | 0 | hisi_hba | == $1->dev->port->ha->lldd_ha |
| PARAM_COMPARE | 0 | hisi_hba | == $1->dev->port->ha->lldd_ha |
| BIT_INFO | 1 | task->task_proto | 0x0,0xfffffff7 |
| BIT_INFO | 1 | task->task_state_flags | 0x4,0xfffffffd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->ex_dev.cmd_mutex |
drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_release_task() -> hisi_sas_do_release_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hisi_hba->hw->dereg_device | 0,4096-ptr_max |
| PARAM_VALUE | 2 | slot | 4096-ptr_max |
| PARAM_VALUE | 3 | need_lock | 0 |
| BUF_SIZE | 0 | hisi_hba | 64,19840,57064,65584 |
| BUF_SIZE | 0 | hisi_hba | 64,19840,57064,65584 |
| CAPPED_DATA | 2 | &slot->entry | 1 |
| DATA_SOURCE | 0 | hisi_hba | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sas_dev->lock | ||
| TYPE_LOCK | (struct hisi_sas_device)->lock |