Lines Matching refs:se_cmd
355 sg = &cmd->se_cmd.t_data_sg[data_offset / PAGE_SIZE]; in cxgbit_map_skb()
400 u32 data_length = cmd->se_cmd.data_length; in cxgbit_tx_datain_iso()
403 bool task_sense = !!(cmd->se_cmd.se_cmd_flags & in cxgbit_tx_datain_iso()
518 u32 data_length = cmd->se_cmd.data_length; in cxgbit_xmit_datain_pdu()
879 if (cmd->se_cmd.se_cmd_flags & SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC) { in cxgbit_handle_immediate_data()
889 cmd->se_cmd.t_data_sg = &ccmd->sg; in cxgbit_handle_immediate_data()
890 cmd->se_cmd.t_data_nents = 1; in cxgbit_handle_immediate_data()
894 struct scatterlist *sg = &cmd->se_cmd.t_data_sg[0]; in cxgbit_handle_immediate_data()
902 if (cmd->write_data_done == cmd->se_cmd.data_length) { in cxgbit_handle_immediate_data()
940 target_put_sess_cmd(&cmd->se_cmd); in cxgbit_get_immediate_data()
979 if (pdu_cb->dlen && (pdu_cb->dlen == cmd->se_cmd.data_length) && in cxgbit_handle_scsi_cmd()
981 cmd->se_cmd.se_cmd_flags |= SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in cxgbit_handle_scsi_cmd()
1052 cmd->se_cmd.data_length); in cxgbit_handle_iscsi_dataout()
1058 sg_start = &cmd->se_cmd.t_data_sg[sg_off]; in cxgbit_handle_iscsi_dataout()
1068 (cmd->se_cmd.data_length == (cmd->write_data_done + data_len))) { in cxgbit_handle_iscsi_dataout()