Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/scsi/qla2xxx/tcm_qla2xxx.c, line 297
- drivers/target/iscsi/iscsi_target.c
- drivers/target/target_core_transport.c
Smatch caller information:
drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_get_cmd_ref() -> target_get_sess_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | ack_kref | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/target/iscsi/iscsi_target.c iscsit_handle_task_mgt_cmd() -> target_get_sess_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->cmd_kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | se_cmd->cpuid | 0 |
| PARAM_VALUE | 0 | se_cmd->data_direction | 3 |
| PARAM_VALUE | 0 | se_cmd->map_cpu | 0 |
| PARAM_VALUE | 0 | se_cmd->map_tag | 0-s32max |
| PARAM_VALUE | 0 | se_cmd->sam_task_attr | 32 |
| PARAM_VALUE | 0 | se_cmd->se_cmd_flags | 65536-u32max |
| PARAM_VALUE | 0 | se_cmd->se_delayed_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_delayed_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_qf_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_qf_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_tfo | 3892190728911122432 |
| PARAM_VALUE | 0 | se_cmd->sense_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->state_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->state_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->t_task_cdb | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ack_kref | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/target/iscsi/iscsi_target.c iscsit_setup_scsi_cmd() -> target_get_sess_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->cmd_kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | se_cmd->cpuid | 0 |
| PARAM_VALUE | 0 | se_cmd->data_direction | 1-3 |
| PARAM_VALUE | 0 | se_cmd->map_cpu | 0 |
| PARAM_VALUE | 0 | se_cmd->map_tag | 0-s32max |
| PARAM_VALUE | 0 | se_cmd->sam_task_attr | 32-34,36 |
| PARAM_VALUE | 0 | se_cmd->se_cmd_flags | 65536-u32max |
| PARAM_VALUE | 0 | se_cmd->se_delayed_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_delayed_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_qf_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_qf_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_tfo | 3892190728911122432 |
| PARAM_VALUE | 0 | se_cmd->sense_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->state_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->state_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->t_task_cdb | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ack_kref | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/target/target_core_transport.c target_init_cmd() -> target_get_sess_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->abrt_compl | 0 |
| PARAM_VALUE | 0 | se_cmd->cmd_kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | se_cmd->cpuid | 0 |
| PARAM_VALUE | 0 | se_cmd->free_compl | 0 |
| PARAM_VALUE | 0 | se_cmd->se_cmd_flags | 65536-u32max |
| PARAM_VALUE | 0 | se_cmd->se_delayed_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_delayed_node.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_delayed_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_delayed_node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_delayed_node.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_qf_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_qf_node.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_qf_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_qf_node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_qf_node.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_sess | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->state_active | 0 |
| PARAM_VALUE | 0 | se_cmd->state_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->state_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->state_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->state_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->state_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->t_task_cdb | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.done | 0 |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.task_list.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | se_cmd | (-1),656 |
| BUF_SIZE | 0 | se_cmd | (-1),656 |
| DATA_SOURCE | 0 | se_cmd | $0 |
| BIT_INFO | 1 | ack_kref | 0x0,0x2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | se_cmd->data_length | 0-u32max |
| HALF_LOCKED2 | &vq->mutex |
drivers/target/target_core_transport.c target_submit_tmr() -> target_get_sess_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->abrt_compl | 0 |
| PARAM_VALUE | 0 | se_cmd->cmd_kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | se_cmd->cpuid | 0 |
| PARAM_VALUE | 0 | se_cmd->data_direction | 3 |
| PARAM_VALUE | 0 | se_cmd->data_length | 0 |
| PARAM_VALUE | 0 | se_cmd->free_compl | 0 |
| PARAM_VALUE | 0 | se_cmd->sam_task_attr | 32 |
| PARAM_VALUE | 0 | se_cmd->se_cmd_flags | 0,16-u32max |
| PARAM_VALUE | 0 | se_cmd->se_delayed_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_delayed_node.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_delayed_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_delayed_node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_delayed_node.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_qf_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_qf_node.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_qf_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_qf_node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_qf_node.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_sess | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->se_tmr_req | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->state_active | 0 |
| PARAM_VALUE | 0 | se_cmd->state_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->state_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->state_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->state_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->state_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->t_task_cdb | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.done | 0 |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->t_transport_stop_comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ack_kref | 1 |
| BUF_SIZE | 0 | se_cmd | (-1),656 |
| BUF_SIZE | 0 | se_cmd | (-1),656 |
| DATA_SOURCE | 0 | se_cmd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vq->mutex |