Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/scsi/isci/task.c isci_task_I_T_nexus_reset() -> isci_put_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | idev->domain_dev | 0 |
| PARAM_VALUE | 0 | idev->isci_port | 0 |
| PARAM_VALUE | 0 | idev->rnc.sm.current_state_id | 0-3,7-u32max |
| PARAM_VALUE | 0 | idev->rnc.suspend_reason | 2 |
| PARAM_VALUE | 0 | idev->rnc.suspend_type | 67108864,83886080 |
| PARAM_VALUE | 0 | idev->rnc.user_callback | 1-u64max |
| CAPPED_DATA | 0 | idev | 1 |
| DATA_SOURCE | 0 | idev | r isci_get_device |
| NOCHECK_CALL |
drivers/scsi/isci/task.c isci_task_abort_task() -> isci_put_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | idev->owning_port->physical_port_index | 0-3,255 |
| CAPPED_DATA | 0 | idev | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | idev->working_request->num_sg_entries | |
| HALF_LOCKED2 | &dev->ex_dev.cmd_mutex |
drivers/scsi/isci/task.c isci_task_execute_task() -> isci_put_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | idev->owning_port->physical_port_index | 0-3,255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | idev->working_request->num_sg_entries | |
| HALF_LOCKED2 | &dev->ex_dev.cmd_mutex | ||
| HALF_LOCKED2 | ap->lock |
drivers/scsi/isci/task.c isci_task_lu_reset() -> isci_put_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | idev->domain_dev | 0 |
| PARAM_VALUE | 0 | idev->isci_port | 0 |
| PARAM_VALUE | 0 | idev->owning_port->physical_port_index | 0-3,255 |
| CAPPED_DATA | 0 | idev | 1 |
| DATA_SOURCE | 0 | idev | r isci_get_device |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | idev->working_request->num_sg_entries |
drivers/scsi/isci/port.c isci_ata_check_ready() -> isci_put_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | idev->kref.refcount.refs.counter | s32min-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ap->host->eh_mutex |
drivers/scsi/isci/remote_device.c isci_remote_device_deconstruct() -> isci_put_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idev | 4096-ptr_max |
| PARAM_VALUE | 0 | idev->isci_port | 0,4096-ptr_max |
| PARAM_VALUE | 0 | idev->node.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | idev->node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | idev->owning_port | 4096-ptr_max |
| PARAM_VALUE | 0 | idev->sm.current_state_id | 0,2-u32max |
| PARAM_VALUE | 0 | idev->sm.previous_state_id | 12 |
| PARAM_VALUE | 0 | idev->started_request_count | 0 |
| DATA_SOURCE | 0 | idev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ihost->scic_lock | ||
| HALF_LOCKED2 | &isci_host->scic_lock | ||
| HALF_LOCKED2 | irq |
drivers/scsi/isci/remote_device.c isci_remote_device_found() -> isci_put_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idev | 4096-ptr_max |
| PARAM_VALUE | 0 | idev->domain_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | idev->domain_dev->port | 4096-ptr_max |
| PARAM_VALUE | 0 | idev->isci_port | 4096-ptr_max |
| PARAM_VALUE | 0 | idev->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | idev->node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | idev->node.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | idev->node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | idev->node.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | idev->owning_port | 4096-ptr_max |
| PARAM_VALUE | 0 | idev->owning_port->hard_reset_status | 0,33 |
| PARAM_VALUE | 0 | idev->owning_port->logical_port_index | 0-3,255 |
| PARAM_VALUE | 0 | idev->owning_port->not_ready_reason | 0-1,3 |
| PARAM_VALUE | 0 | idev->owning_port->physical_port_index | 0-3,255 |
| PARAM_VALUE | 0 | idev->owning_port->remote_dev_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | idev->rnc.destination_state | 0 |
| PARAM_VALUE | 0 | idev->rnc.sm.current_state_id | 0 |
| PARAM_VALUE | 0 | idev->rnc.sm.initial_state_id | 0 |
| PARAM_VALUE | 0 | idev->rnc.sm.previous_state_id | 0 |
| PARAM_VALUE | 0 | idev->rnc.sm.state_table | 8098228910822957056 |
| PARAM_VALUE | 0 | idev->rnc.suspend_count | 0 |
| PARAM_VALUE | 0 | idev->rnc.suspend_reason | 0 |
| PARAM_VALUE | 0 | idev->rnc.suspend_type | 0 |
| PARAM_VALUE | 0 | idev->rnc.user_callback | 0 |
| PARAM_VALUE | 0 | idev->rnc.user_cookie | 0 |
| PARAM_VALUE | 0 | idev->sm.current_state_id | 0 |
| PARAM_VALUE | 0 | idev->sm.initial_state_id | 0 |
| PARAM_VALUE | 0 | idev->sm.previous_state_id | 0 |
| PARAM_VALUE | 0 | idev->sm.state_table | 7149690816887656448 |
| PARAM_VALUE | 0 | idev->sm.state_table->exit_state | 0,4096-ptr_max |
| PARAM_VALUE | 0 | idev->started_request_count | 0 |
| DATA_SOURCE | 0 | idev | r isci_remote_device_alloc |
| MEM_ZERO | 0 | &idev->rnc | |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &isci_host->scic_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct isci_host)->scic_lock |
drivers/scsi/isci/remote_device.c isci_remote_device_terminate_requests() -> isci_put_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idev | 4096-ptr_max |
| PARAM_VALUE | 0 | idev->owning_port | 4096-ptr_max |
| PARAM_VALUE | 0 | idev->owning_port->owning_controller | 4096-ptr_max |
| PARAM_VALUE | 0 | idev->owning_port->physical_port_index | 0-3,255 |
| PARAM_VALUE | 0 | idev->rnc.sm.current_state_id | 0-3,5-u32max |
| CAPPED_DATA | 0 | idev | 1 |
| DATA_SOURCE | 0 | idev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | idev->working_request->num_sg_entries |
drivers/scsi/isci/remote_device.c sci_remote_device_complete_io() -> isci_put_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idev | 4096-ptr_max |
| PARAM_VALUE | 0 | idev->owning_port->ready_exit | 0 |
| PARAM_VALUE | 0 | idev->owning_port->sm.current_state_id | 1-u32max |
| DATA_SOURCE | 0 | idev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ihost->scic_lock | ||
| HALF_LOCKED2 | &isci_host->scic_lock | ||
| HALF_LOCKED2 | irq |