Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/target/target_core_xcopy.c target_xcopy_setup_pt_cmd() -> transport_generic_map_mem_to_cmd()

Type Parameter Key Value
PARAM_VALUE 0 cmd 4021794778315452416,4095826752700821504
PARAM_VALUE 0 cmd->cmd_kref.refcount.refs.counter 1
PARAM_VALUE 0 cmd->execute_cmd 4096-ptr_max
PARAM_VALUE 0 cmd->prot_checks 0-1,4-5
PARAM_VALUE 0 cmd->prot_op 1-2,4,8,16,32
PARAM_VALUE 0 cmd->protocol_data 52755395483332608,5021708104736653312,7513459227993153536
PARAM_VALUE 0 cmd->sam_task_attr 33
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_dev->transport 4096-ptr_max
PARAM_VALUE 0 cmd->se_dev->transport->parse_cdb 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_task_nolb 0-1
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
PARAM_VALUE 0 cmd->transport_complete_callback 7644162514940215296
PARAM_VALUE 3 sgl_bidi 0
PARAM_VALUE 4 sgl_bidi_count 0
BUF_SIZE 0 cmd 656
BUF_SIZE 0 cmd->se_lun (-1),1240
MEM_ZERO 0 cmd
NO_OVERFLOW_SIMPLE 0 cmd->reftag_seed
NO_OVERFLOW_SIMPLE 0 cmd->t_task_lba
HALF_LOCKED2 &pool->lock

drivers/target/target_core_transport.c target_submit_prep() -> transport_generic_map_mem_to_cmd()

Type Parameter Key Value
PARAM_VALUE 0 cmd 4096-ptr_max
PARAM_VALUE 0 cmd->abrt_compl 0
PARAM_VALUE 0 cmd->abrt_compl->wait.lock.dep_map->name 0-255
PARAM_VALUE 0 cmd->abrt_compl->wait.lock.owner (-1)
PARAM_VALUE 0 cmd->abrt_compl->wait.lock.owner_cpu u32max
PARAM_VALUE 0 cmd->cmd_cnt->refcnt.percpu_count_ptr 1-u64max
PARAM_VALUE 0 cmd->execute_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->prot_checks 0-1,4-5
PARAM_VALUE 0 cmd->prot_op 1-2,4,8,16,32
PARAM_VALUE 0 cmd->protocol_data 52755395483332608,5021708104736653312,7513459227993153536
PARAM_VALUE 0 cmd->se_delayed_node.next 4096-ptr_max
PARAM_VALUE 0 cmd->se_delayed_node.next->next 4096-ptr_max
PARAM_VALUE 0 cmd->se_delayed_node.prev 4096-ptr_max
PARAM_VALUE 0 cmd->se_delayed_node.prev->next 4096-ptr_max
PARAM_VALUE 0 cmd->se_delayed_node.prev->prev 4096-ptr_max
PARAM_VALUE 0 cmd->se_dev 4096-ptr_max
PARAM_VALUE 0 cmd->se_dev->transport 4096-ptr_max
PARAM_VALUE 0 cmd->se_dev->transport->parse_cdb 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.next->next 4096-ptr_max
PARAM_VALUE 0 cmd->se_qf_node.prev 4096-ptr_max
PARAM_VALUE 0 cmd->se_qf_node.prev->next 4096-ptr_max
PARAM_VALUE 0 cmd->se_qf_node.prev->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.next->next 4096-ptr_max
PARAM_VALUE 0 cmd->state_list.prev 4096-ptr_max
PARAM_VALUE 0 cmd->state_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cmd->state_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 cmd->t_task_cdb 16,4096-ptr_max
PARAM_VALUE 0 cmd->t_task_nolb 0-1
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.next->next 4096-ptr_max
PARAM_VALUE 0 cmd->t_transport_stop_comp.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 cmd->t_transport_stop_comp.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cmd->t_transport_stop_comp.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 cmd->transport_complete_callback 7644162514940215296
PARAM_VALUE 0 cmd->unknown_data_length 1
PARAM_VALUE 1 sgl 1-u64max
PARAM_VALUE 2 sgl_count 1-u32max
PARAM_VALUE 3 sgl_bidi 0
PARAM_VALUE 4 sgl_bidi_count 0
BUF_SIZE 0 cmd 656
DATA_SOURCE 0 cmd $0
DATA_SOURCE 1 sgl $2
DATA_SOURCE 2 sgl_count $3
DATA_SOURCE 3 sgl_bidi $4
DATA_SOURCE 4 sgl_bidi_count $5
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 cmd->residual_count 1-u32max
NO_OVERFLOW_SIMPLE 0 cmd->reftag_seed
NO_OVERFLOW_SIMPLE 0 cmd->t_task_lba
UNITS 1 sgl unit_byte
UNITS 2 sgl_count unit_array_size
HALF_LOCKED2 &vq->mutex