Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/target/
Dtarget_core_transport.c621 bool ack_kref = (cmd->se_cmd_flags & SCF_ACK_KREF); in transport_cmd_finish_abort()
623 if (cmd->se_cmd_flags & SCF_SE_LUN_CMD) in transport_cmd_finish_abort()
659 if (cmd->se_cmd_flags & SCF_SENT_CHECK_CONDITION) in transport_get_sense_buffer()
685 if (cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) in target_complete_cmd()
724 if (cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { in target_complete_cmd_with_length()
727 cmd->se_cmd_flags |= SCF_UNDERFLOW_BIT; in target_complete_cmd_with_length()
1104 if (cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in target_check_max_data_sg_nents()
1106 } else if (cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { in target_check_max_data_sg_nents()
1110 cmd->se_cmd_flags |= SCF_UNDERFLOW_BIT; in target_check_max_data_sg_nents()
1140 cmd->se_cmd_flags & SCF_SCSI_DATA_CDB) { in target_cmd_size_check()
[all …]
Dtarget_core_sbc.c453 cmd->se_cmd_flags |= SCF_COMPARE_AND_WRITE_POST; in compare_and_write_post()
813 cmd->se_cmd_flags |= SCF_FUA; in sbc_check_dpofua()
833 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
847 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
861 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()
881 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
896 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
910 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
924 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
[all …]
Dtarget_core_xcopy.c534 pt_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in target_xcopy_init_pt_lun()
576 cmd->se_cmd_flags |= SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in target_xcopy_setup_pt_cmd()
722 src_cmd->se_cmd_flags &= ~SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in target_xcopy_write_destination()
732 se_cmd->se_cmd_flags &= ~SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in target_xcopy_write_destination()
798 xop->dst_pt_cmd->se_cmd.se_cmd_flags &= ~SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in target_xcopy_do_work()
Dtarget_core_tmr.c53 se_cmd->se_cmd_flags |= SCF_SCSI_TMR_CDB; in core_tmr_alloc_req()
168 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) in core_tmr_abort_task()
Dtarget_core_device.c83 se_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in transport_lookup_cmd_lun()
118 se_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in transport_lookup_cmd_lun()
1088 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in passthrough_parse_cdb()
1096 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in passthrough_parse_cdb()
Dtarget_core_user.c172 if (se_cmd->se_cmd_flags & SCF_BIDI) { in tcmu_alloc_cmd()
470 || se_cmd->se_cmd_flags & SCF_BIDI); in tcmu_queue_cmd_ring()
548 } else if (se_cmd->se_cmd_flags & SCF_BIDI) { in tcmu_handle_completion()
Dtarget_core_pscsi.c714 cmd->se_cmd_flags |= SCF_TRANSPORT_TASK_SENSE; in pscsi_transport_complete()
984 if (cmd->se_cmd_flags & SCF_BIDI) in pscsi_parse_cdb()
Dtarget_core_alua.c468 cmd->se_cmd_flags |= SCF_ALUA_NON_OPTIMIZED; in core_alua_state_nonoptimized()
480 if (!(cmd->se_cmd_flags & SCF_SCSI_DATA_CDB)) in core_alua_state_lba_dependent()
869 if (!(cmd->se_cmd_flags & SCF_ALUA_NON_OPTIMIZED)) in core_alua_check_nonop_delay()
Dtarget_core_file.c573 if (ret > 0 && (cmd->se_cmd_flags & SCF_FUA)) { in fd_execute_rw()
Dtarget_core_iblock.c657 if (cmd->se_cmd_flags & SCF_FUA) in iblock_execute_rw()
/linux-4.4.14/drivers/target/loopback/
Dtcm_loop.c59 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) in tcm_loop_check_stop_free()
148 se_cmd->se_cmd_flags |= SCF_BIDI; in tcm_loop_submission_work()
645 if ((se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) || in tcm_loop_queue_data_in()
646 (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT)) in tcm_loop_queue_data_in()
662 ((se_cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in tcm_loop_queue_status()
663 (se_cmd->se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in tcm_loop_queue_status()
673 if ((se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) || in tcm_loop_queue_status()
674 (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT)) in tcm_loop_queue_status()
/linux-4.4.14/drivers/target/tcm_fc/
Dtfc_cmd.c59 se_cmd->data_length, se_cmd->se_cmd_flags); in _ft_dump_cmd()
154 if (se_cmd->se_cmd_flags & (SCF_OVERFLOW_BIT | SCF_UNDERFLOW_BIT)) { in ft_queue_status()
155 if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) in ft_queue_status()
233 if ((se_cmd->se_cmd_flags & SCF_SCSI_DATA_CDB) && in ft_write_pending()
/linux-4.4.14/include/target/
Dtarget_core_fabric.h193 if (se_cmd->se_cmd_flags & SCF_BIDI) in target_reverse_dma_direction()
Dtarget_core_base.h458 u32 se_cmd_flags; member
/linux-4.4.14/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c310 if ((se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) == 0) { in tcm_qla2xxx_check_stop_free()
325 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) { in tcm_qla2xxx_release_cmd()
421 if (!(se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB)) { in tcm_qla2xxx_get_cmd_state()
587 if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in tcm_qla2xxx_queue_status()
588 se_cmd->se_cmd_flags &= ~SCF_OVERFLOW_BIT; in tcm_qla2xxx_queue_status()
591 se_cmd->se_cmd_flags |= SCF_UNDERFLOW_BIT; in tcm_qla2xxx_queue_status()
Dqla_target.c1946 if (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { in qlt_pre_xmit_response()
1954 } else if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in qlt_pre_xmit_response()
/linux-4.4.14/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.c1329 if (!(se_cmd->se_cmd_flags & SCF_SUPPORTED_SAM_OPCODE)) in iscsit_check_dataout_hdr()
2592 if (cmd->se_cmd.se_cmd_flags & SCF_OVERFLOW_BIT) { in iscsit_build_datain_pdu()
2595 } else if (cmd->se_cmd.se_cmd_flags & SCF_UNDERFLOW_BIT) { in iscsit_build_datain_pdu()
2663 (cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE)) in iscsit_send_datain()
2738 eodr = (cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) ? in iscsit_send_datain()
3179 if (cmd->se_cmd.se_cmd_flags & SCF_OVERFLOW_BIT) { in iscsit_build_rsp_pdu()
3182 } else if (cmd->se_cmd.se_cmd_flags & SCF_UNDERFLOW_BIT) { in iscsit_build_rsp_pdu()
3221 ((cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in iscsit_send_response()
3222 (cmd->se_cmd.se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in iscsit_send_response()
/linux-4.4.14/drivers/xen/
Dxen-scsiback.c1349 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) in scsiback_check_stop_free()
1416 ((se_cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in scsiback_queue_status()
1417 (se_cmd->se_cmd_flags & SCF_EMULATED_TASK_SENSE))) in scsiback_queue_status()
/linux-4.4.14/drivers/infiniband/ulp/isert/
Dib_isert.c1299 cmd->se_cmd.se_cmd_flags |= SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in isert_handle_scsi_cmd()
2165 ((cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in isert_put_response()
2166 (cmd->se_cmd.se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in isert_put_response()
/linux-4.4.14/drivers/infiniband/ulp/srpt/
Dib_srpt.c3042 if (cmd->se_cmd_flags & in srpt_queue_status()