Home
last modified time | relevance | path

Searched refs:se_cmd_flags (Results 1 – 20 of 20) sorted by relevance

/linux-4.1.27/drivers/target/
Dtarget_core_transport.c649 bool ack_kref = (cmd->se_cmd_flags & SCF_ACK_KREF); in transport_cmd_finish_abort()
651 if (cmd->se_cmd_flags & SCF_SE_LUN_CMD) in transport_cmd_finish_abort()
687 if (cmd->se_cmd_flags & SCF_SENT_CHECK_CONDITION) in transport_get_sense_buffer()
713 if (cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) in target_complete_cmd()
752 if (cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { in target_complete_cmd_with_length()
755 cmd->se_cmd_flags |= SCF_UNDERFLOW_BIT; in target_complete_cmd_with_length()
1141 cmd->se_cmd_flags |= SCF_OVERFLOW_BIT; in target_cmd_size_check()
1144 cmd->se_cmd_flags |= SCF_UNDERFLOW_BIT; in target_cmd_size_check()
1282 cmd->se_cmd_flags |= SCF_SUPPORTED_SAM_OPCODE; in target_setup_cmd_from_cdb()
1347 if (cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in transport_generic_map_mem_to_cmd()
[all …]
Dtarget_core_sbc.c401 cmd->se_cmd_flags |= SCF_COMPARE_AND_WRITE_POST; in compare_and_write_post()
759 cmd->se_cmd_flags |= SCF_FUA; in sbc_check_dpofua()
777 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
792 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
807 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
822 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
829 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
845 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
860 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
875 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
[all …]
Dtarget_core_xcopy.c557 pt_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in target_xcopy_init_pt_lun()
598 cmd->se_cmd_flags |= SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in target_xcopy_setup_pt_cmd()
744 src_cmd->se_cmd_flags &= ~SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in target_xcopy_write_destination()
754 se_cmd->se_cmd_flags &= ~SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in target_xcopy_write_destination()
820 xop->dst_pt_cmd->se_cmd.se_cmd_flags &= ~SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in target_xcopy_do_work()
Dtarget_core_tmr.c56 se_cmd->se_cmd_flags |= SCF_SCSI_TMR_CDB; in core_tmr_alloc_req()
172 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) in core_tmr_abort_task()
Dtarget_core_device.c95 se_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in transport_lookup_cmd_lun()
125 se_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in transport_lookup_cmd_lun()
1766 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in passthrough_parse_cdb()
1774 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in passthrough_parse_cdb()
Dtarget_core_pscsi.c709 cmd->se_cmd_flags |= SCF_TRANSPORT_TASK_SENSE; in pscsi_transport_complete()
979 if (cmd->se_cmd_flags & SCF_BIDI) in pscsi_parse_cdb()
Dtarget_core_alua.c482 cmd->se_cmd_flags |= SCF_ALUA_NON_OPTIMIZED; in core_alua_state_nonoptimized()
494 if (!(cmd->se_cmd_flags & SCF_SCSI_DATA_CDB)) in core_alua_state_lba_dependent()
891 if (!(cmd->se_cmd_flags & SCF_ALUA_NON_OPTIMIZED)) in core_alua_check_nonop_delay()
Dtarget_core_iblock.c697 if (cmd->se_cmd_flags & SCF_FUA) in iblock_execute_rw()
Dtarget_core_file.c683 (cmd->se_cmd_flags & SCF_FUA)) { in fd_execute_rw()
/linux-4.1.27/drivers/target/loopback/
Dtcm_loop.c63 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) in tcm_loop_check_stop_free()
152 se_cmd->se_cmd_flags |= SCF_BIDI; in tcm_loop_submission_work()
802 if ((se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) || in tcm_loop_queue_data_in()
803 (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT)) in tcm_loop_queue_data_in()
819 ((se_cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in tcm_loop_queue_status()
820 (se_cmd->se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in tcm_loop_queue_status()
830 if ((se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) || in tcm_loop_queue_status()
831 (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT)) in tcm_loop_queue_status()
/linux-4.1.27/drivers/target/tcm_fc/
Dtfc_cmd.c65 se_cmd->data_length, se_cmd->se_cmd_flags); in _ft_dump_cmd()
160 if (se_cmd->se_cmd_flags & (SCF_OVERFLOW_BIT | SCF_UNDERFLOW_BIT)) { in ft_queue_status()
161 if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) in ft_queue_status()
239 if ((se_cmd->se_cmd_flags & SCF_SCSI_DATA_CDB) && in ft_write_pending()
/linux-4.1.27/include/target/
Dtarget_core_fabric.h228 if (se_cmd->se_cmd_flags & SCF_BIDI) in target_reverse_dma_direction()
Dtarget_core_base.h501 u32 se_cmd_flags; member
/linux-4.1.27/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c427 if ((se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) == 0) { in tcm_qla2xxx_check_stop_free()
442 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) { in tcm_qla2xxx_release_cmd()
541 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) in tcm_qla2xxx_get_task_tag()
712 if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in tcm_qla2xxx_queue_status()
713 se_cmd->se_cmd_flags &= ~SCF_OVERFLOW_BIT; in tcm_qla2xxx_queue_status()
716 se_cmd->se_cmd_flags |= SCF_UNDERFLOW_BIT; in tcm_qla2xxx_queue_status()
Dqla_target.c1948 if (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { in qlt_pre_xmit_response()
1956 } else if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in qlt_pre_xmit_response()
/linux-4.1.27/drivers/target/iscsi/
Discsi_target_tmr.c397 if (cmd->se_cmd.se_cmd_flags & SCF_SENT_CHECK_CONDITION) { in iscsit_task_reassign_complete_scsi_cmnd()
795 if (ref_cmd->se_cmd.se_cmd_flags & SCF_SENT_CHECK_CONDITION) in iscsit_check_task_reassign_expdatasn()
Discsi_target.c1336 if (!(se_cmd->se_cmd_flags & SCF_SUPPORTED_SAM_OPCODE)) in iscsit_check_dataout_hdr()
2599 if (cmd->se_cmd.se_cmd_flags & SCF_OVERFLOW_BIT) { in iscsit_build_datain_pdu()
2602 } else if (cmd->se_cmd.se_cmd_flags & SCF_UNDERFLOW_BIT) { in iscsit_build_datain_pdu()
2670 (cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE)) in iscsit_send_datain()
2749 eodr = (cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) ? in iscsit_send_datain()
3190 if (cmd->se_cmd.se_cmd_flags & SCF_OVERFLOW_BIT) { in iscsit_build_rsp_pdu()
3193 } else if (cmd->se_cmd.se_cmd_flags & SCF_UNDERFLOW_BIT) { in iscsit_build_rsp_pdu()
3232 ((cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in iscsit_send_response()
3233 (cmd->se_cmd.se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in iscsit_send_response()
/linux-4.1.27/drivers/xen/
Dxen-scsiback.c1482 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) in scsiback_check_stop_free()
1557 ((se_cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in scsiback_queue_status()
1558 (se_cmd->se_cmd_flags & SCF_EMULATED_TASK_SENSE))) in scsiback_queue_status()
/linux-4.1.27/drivers/infiniband/ulp/isert/
Dib_isert.c2183 ((cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in isert_put_response()
2184 (cmd->se_cmd.se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in isert_put_response()
/linux-4.1.27/drivers/infiniband/ulp/srpt/
Dib_srpt.c3049 if (cmd->se_cmd_flags & in srpt_queue_status()