Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/target/iscsi/iscsi_target.c, line 1228
- drivers/target/target_core_transport.c
- drivers/target/target_core_xcopy.c, line 537
Smatch caller information:
drivers/target/iscsi/iscsi_target.c iscsit_setup_scsi_cmd() -> target_cmd_parse_cdb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmd_cnt | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cpuid | 0 |
| PARAM_VALUE | 0 | cmd->data_direction | 1-3 |
| PARAM_VALUE | 0 | cmd->lun_ref_active | 1 |
| PARAM_VALUE | 0 | cmd->map_cpu | 0 |
| PARAM_VALUE | 0 | cmd->map_tag | 0-s32max |
| PARAM_VALUE | 0 | cmd->sam_task_attr | 32-34,36 |
| PARAM_VALUE | 0 | cmd->se_cmd_flags | 0,64-u32max |
| PARAM_VALUE | 0 | cmd->se_delayed_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_delayed_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_lun | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_qf_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_qf_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_sess | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_tfo | 3892190728911122432 |
| PARAM_VALUE | 0 | cmd->sense_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->state_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->state_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_task_cdb | 16,4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->tag | 0-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/target/target_core_xcopy.c target_xcopy_setup_pt_cmd() -> target_cmd_parse_cdb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4021794778315452416,4095826752700821504 |
| PARAM_VALUE | 0 | cmd->cmd_kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | cmd->se_cmd_flags | 64 |
| PARAM_VALUE | 0 | cmd->se_delayed_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_delayed_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_qf_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_qf_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->state_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->state_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_task_cdb | 16,4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->tag | 0 |
| BUF_SIZE | 0 | cmd | 656 |
| BUF_SIZE | 0 | cmd->se_lun | (-1),1240 |
| MEM_ZERO | 0 | cmd | |
| HALF_LOCKED2 | &pool->lock |
drivers/target/target_core_transport.c target_submit_prep() -> target_cmd_parse_cdb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->free_compl | 0 |
| PARAM_VALUE | 0 | cmd->free_compl->wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cmd->free_compl->wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | cmd->free_compl->wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cmd->lun_ref_active | 1 |
| PARAM_VALUE | 0 | cmd->se_cmd_flags | 0,64-u32max |
| PARAM_VALUE | 0 | cmd->se_delayed_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_delayed_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_lun | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_lun->lun_ref.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 0 | cmd->se_qf_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_qf_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_sess | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_sess->se_node_acl | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_sess->se_tpg->tpg_virt_lun0->lun_ref.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 0 | cmd->state_active | 0 |
| PARAM_VALUE | 0 | cmd->state_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->state_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_task_cdb | 16,4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.done | 0 |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->unknown_data_length | 1 |
| BUF_SIZE | 0 | cmd | (-1),656 |
| BUF_SIZE | 0 | cmd | (-1),656 |
| DATA_SOURCE | 0 | cmd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | cmd->data_length | 0-u32max |
| HALF_LOCKED2 | &vq->mutex |