Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/vmw_pvscsi.c pvscsi_complete_request() -> pvscsi_release_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->rings_state | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->rings_state->cmpConsIdx | 1-u32max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->sglPA | 0 |
| DATA_SOURCE | 0 | adapter | $0 |
| DATA_SOURCE | 1 | ctx | r pvscsi_get_context |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &adapter->hw_lock |
drivers/scsi/vmw_pvscsi.c pvscsi_queue_lck() -> pvscsi_release_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->rings_state | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->rings_state->reqNumEntriesLog2 | 0 |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->cmd->device | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->cmd->flags | 0-s32max |
| PARAM_VALUE | 1 | ctx->cmd->resid_len | 0 |
| PARAM_VALUE | 1 | ctx->cmd->submitter | 0-1 |
| DATA_SOURCE | 1 | ctx | r pvscsi_acquire_context |
| PARAM_COMPARE | 0 | &adapter->cmd_pool | != $0->cmd_pool.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | irq_flags | ||
| LOCK2 | shost->host_lock | ||
| LOCK2 | 0 | &adapter->hw_lock | |
| HALF_LOCKED2 | &sdev->state_mutex | ||
| TYPE_LOCK | (struct pvscsi_adapter)->hw_lock |
drivers/scsi/vmw_pvscsi.c pvscsi_reset_all() -> pvscsi_release_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->cmd_map | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->cmd_pool.next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->cmd_pool.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->cmd_pool.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->req_depth | 1-u32max |
| PARAM_VALUE | 0 | adapter->rings_state | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->rings_state->cmpConsIdx | 0 |
| PARAM_VALUE | 0 | adapter->rings_state->cmpNumEntriesLog2 | 0 |
| PARAM_VALUE | 0 | adapter->use_msg | 0 |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->cmd->sense_buffer | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ctx->sglPA | 0 |
| CAPPED_DATA | 0 | adapter->rings_state->cmpProdIdx | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &adapter->hw_lock | |
| TYPE_LOCK | (struct pvscsi_adapter)->hw_lock |