| /Linux-v5.4/drivers/target/ |
| D | target_core_transport.c | 702 if (cmd->se_cmd_flags & SCF_SENT_CHECK_CONDITION) in transport_get_sense_buffer() 724 cmd->se_cmd_flags |= SCF_TRANSPORT_TASK_SENSE; in transport_copy_sense_to_cmd() 733 bool ack_kref = cmd->se_cmd_flags & SCF_ACK_KREF; in target_handle_abort() 739 if (!(cmd->se_cmd_flags & SCF_SCSI_TMR_CDB)) { in target_handle_abort() 815 if (cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) in target_complete_cmd() 831 if (cmd->se_cmd_flags & SCF_USE_CPUID) in target_complete_cmd() 841 cmd->se_cmd_flags & SCF_TREAT_READ_AS_NORMAL) && in target_complete_cmd_with_length() 843 if (cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { in target_complete_cmd_with_length() 846 cmd->se_cmd_flags |= SCF_UNDERFLOW_BIT; in target_complete_cmd_with_length() 1224 if (cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in target_check_max_data_sg_nents() [all …]
|
| D | target_core_sbc.c | 785 cmd->se_cmd_flags |= SCF_FUA; in sbc_check_dpofua() 805 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb() 819 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb() 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() 853 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb() 868 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb() 882 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb() 897 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb() 902 !(cmd->se_cmd_flags & SCF_BIDI)) in sbc_parse_cdb() [all …]
|
| D | target_core_xcopy.c | 536 cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in target_xcopy_setup_pt_cmd() 557 cmd->se_cmd_flags |= SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in target_xcopy_setup_pt_cmd() 706 src_cmd->se_cmd_flags &= ~SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in target_xcopy_write_destination() 717 se_cmd->se_cmd_flags &= ~SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in target_xcopy_write_destination() 794 xop->dst_pt_cmd->se_cmd.se_cmd_flags &= ~SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in target_xcopy_do_work()
|
| D | target_core_tmr.c | 40 se_cmd->se_cmd_flags |= SCF_SCSI_TMR_CDB; in core_tmr_alloc_req() 130 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) in core_tmr_abort_task()
|
| D | target_core_device.c | 78 se_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in transport_lookup_cmd_lun() 112 se_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in transport_lookup_cmd_lun() 169 se_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in transport_lookup_tmr_lun() 1149 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in passthrough_parse_cdb() 1157 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in passthrough_parse_cdb()
|
| D | target_core_file.c | 302 if (is_write && (cmd->se_cmd_flags & SCF_FUA)) in fd_execute_rw_aio() 649 if (ret > 0 && (cmd->se_cmd_flags & SCF_FUA)) { in fd_execute_rw_buffered()
|
| D | target_core_user.c | 554 if (se_cmd->se_cmd_flags & SCF_BIDI) { in tcmu_cmd_get_data_length() 1047 || se_cmd->se_cmd_flags & SCF_BIDI); in queue_cmd_ring() 1055 if (se_cmd->se_cmd_flags & SCF_BIDI) { in queue_cmd_ring() 1170 se_cmd->se_cmd_flags |= SCF_TREAT_READ_AS_NORMAL; in tcmu_handle_completion() 1172 if (se_cmd->se_cmd_flags & SCF_BIDI) { in tcmu_handle_completion()
|
| D | target_core_pscsi.c | 698 cmd->se_cmd_flags |= SCF_TREAT_READ_AS_NORMAL; in pscsi_complete_cmd() 948 if (cmd->se_cmd_flags & SCF_BIDI) in pscsi_parse_cdb()
|
| D | target_core_alua.c | 457 cmd->se_cmd_flags |= SCF_ALUA_NON_OPTIMIZED; in core_alua_state_nonoptimized() 469 if (!(cmd->se_cmd_flags & SCF_SCSI_DATA_CDB)) in core_alua_state_lba_dependent() 861 if (!(cmd->se_cmd_flags & SCF_ALUA_NON_OPTIMIZED)) in core_alua_check_nonop_delay()
|
| D | target_core_iblock.c | 702 if (cmd->se_cmd_flags & SCF_FUA) in iblock_execute_rw()
|
| /Linux-v5.4/drivers/target/tcm_fc/ |
| D | tfc_cmd.c | 46 se_cmd->data_length, se_cmd->se_cmd_flags); in _ft_dump_cmd() 138 if (se_cmd->se_cmd_flags & (SCF_OVERFLOW_BIT | SCF_UNDERFLOW_BIT)) { in ft_queue_status() 139 if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) in ft_queue_status() 216 if ((se_cmd->se_cmd_flags & SCF_SCSI_DATA_CDB) && in ft_write_pending()
|
| /Linux-v5.4/drivers/target/loopback/ |
| D | tcm_loop.c | 559 if ((se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) || in tcm_loop_queue_data_in() 560 (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT)) in tcm_loop_queue_data_in() 576 ((se_cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in tcm_loop_queue_status() 577 (se_cmd->se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in tcm_loop_queue_status() 587 if ((se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) || in tcm_loop_queue_status() 588 (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT)) in tcm_loop_queue_status()
|
| /Linux-v5.4/drivers/scsi/qla2xxx/ |
| D | tcm_qla2xxx.c | 293 if ((se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) == 0) { in tcm_qla2xxx_check_stop_free() 308 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) { in tcm_qla2xxx_release_cmd() 374 cmd->se_cmd.se_cmd_flags); in tcm_qla2xxx_write_pending() 405 if (!(se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB)) { in tcm_qla2xxx_get_cmd_state() 606 if (secmd->se_cmd_flags & SCF_SCSI_TMR_CDB) in tcm_qla2xxx_find_cmd_by_tag() 635 cmd->se_cmd.se_cmd_flags); in tcm_qla2xxx_queue_data_in() 677 cmd->se_cmd.se_cmd_flags); in tcm_qla2xxx_queue_status() 693 if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in tcm_qla2xxx_queue_status() 694 se_cmd->se_cmd_flags &= ~SCF_OVERFLOW_BIT; in tcm_qla2xxx_queue_status() 697 se_cmd->se_cmd_flags |= SCF_UNDERFLOW_BIT; in tcm_qla2xxx_queue_status()
|
| D | qla_target.c | 2750 if (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { in qlt_pre_xmit_response() 2758 } else if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in qlt_pre_xmit_response() 3770 cmd->se_cmd.t_state, cmd->se_cmd.se_cmd_flags); in qlt_abort_cmd()
|
| /Linux-v5.4/include/target/ |
| D | target_core_fabric.h | 221 if (se_cmd->se_cmd_flags & SCF_BIDI) in target_reverse_dma_direction()
|
| D | target_core_base.h | 469 u32 se_cmd_flags; member
|
| /Linux-v5.4/drivers/target/iscsi/ |
| D | iscsi_target_tmr.c | 389 if (cmd->se_cmd.se_cmd_flags & SCF_SENT_CHECK_CONDITION) { in iscsit_task_reassign_complete_scsi_cmnd() 787 if (ref_cmd->se_cmd.se_cmd_flags & SCF_SENT_CHECK_CONDITION) in iscsit_check_task_reassign_expdatasn()
|
| D | iscsi_target.c | 1489 if (!(se_cmd->se_cmd_flags & SCF_SUPPORTED_SAM_OPCODE)) in __iscsit_check_dataout_hdr() 2777 if (cmd->se_cmd.se_cmd_flags & SCF_OVERFLOW_BIT) { in iscsit_build_datain_pdu() 2780 } else if (cmd->se_cmd.se_cmd_flags & SCF_UNDERFLOW_BIT) { in iscsit_build_datain_pdu() 2847 (cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE)) in iscsit_send_datain() 2867 eodr = (cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) ? in iscsit_send_datain() 3209 if (cmd->se_cmd.se_cmd_flags & SCF_OVERFLOW_BIT) { in iscsit_build_rsp_pdu() 3212 } else if (cmd->se_cmd.se_cmd_flags & SCF_UNDERFLOW_BIT) { in iscsit_build_rsp_pdu() 3245 ((cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in iscsit_send_response() 3246 (cmd->se_cmd.se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in iscsit_send_response()
|
| /Linux-v5.4/drivers/target/iscsi/cxgbit/ |
| D | cxgbit_target.c | 420 bool task_sense = !!(cmd->se_cmd.se_cmd_flags & in cxgbit_tx_datain_iso() 896 if (cmd->se_cmd.se_cmd_flags & SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC) { in cxgbit_handle_immediate_data() 998 cmd->se_cmd.se_cmd_flags |= SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in cxgbit_handle_scsi_cmd()
|
| /Linux-v5.4/drivers/xen/ |
| D | xen-scsiback.c | 1432 ((se_cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in scsiback_queue_status() 1433 (se_cmd->se_cmd_flags & SCF_EMULATED_TASK_SENSE))) in scsiback_queue_status()
|
| /Linux-v5.4/drivers/infiniband/ulp/isert/ |
| D | ib_isert.c | 1141 cmd->se_cmd.se_cmd_flags |= SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in isert_handle_scsi_cmd() 1856 ((cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in isert_put_response() 1857 (cmd->se_cmd.se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in isert_put_response()
|
| /Linux-v5.4/drivers/scsi/ibmvscsi_tgt/ |
| D | ibmvscsi_tgt.c | 65 if (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { in ibmvscsis_determine_resid() 75 } else if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in ibmvscsis_determine_resid()
|
| /Linux-v5.4/drivers/infiniband/ulp/srpt/ |
| D | ib_srpt.c | 2894 if (cmd->se_cmd_flags & in srpt_queue_status()
|