Lines Matching refs:se_cmd
171 cmd->se_cmd.map_tag = tag; in iscsit_allocate_cmd()
172 cmd->se_cmd.map_cpu = cpu; in iscsit_allocate_cmd()
339 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_check_unsolicited_dataout() local
346 transport_send_check_condition_and_sense(se_cmd, in iscsit_check_unsolicited_dataout()
357 transport_send_check_condition_and_sense(se_cmd, in iscsit_check_unsolicited_dataout()
365 if (((cmd->first_burst_len + payload_length) != cmd->se_cmd.data_length) && in iscsit_check_unsolicited_dataout()
372 conn->sess->sess_ops->FirstBurstLength, cmd->se_cmd.data_length); in iscsit_check_unsolicited_dataout()
373 transport_send_check_condition_and_sense(se_cmd, in iscsit_check_unsolicited_dataout()
700 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_release_cmd() local
719 target_free_tag(sess->se_sess, se_cmd); in iscsit_release_cmd()
747 struct se_cmd *se_cmd = cmd->se_cmd.se_tfo ? &cmd->se_cmd : NULL; in iscsit_free_cmd() local
753 if (se_cmd) { in iscsit_free_cmd()
754 rc = transport_generic_free_cmd(se_cmd, shutdown); in iscsit_free_cmd()
755 if (!rc && shutdown && se_cmd->se_sess) { in iscsit_free_cmd()
757 target_put_sess_cmd(se_cmd); in iscsit_free_cmd()