Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/target/
Dtarget_core_transport.c738 if (cmd->se_cmd_flags & SCF_SENT_CHECK_CONDITION) in transport_get_sense_buffer()
760 cmd->se_cmd_flags |= SCF_TRANSPORT_TASK_SENSE; in transport_copy_sense_to_cmd()
769 bool ack_kref = cmd->se_cmd_flags & SCF_ACK_KREF; in target_handle_abort()
775 if (!(cmd->se_cmd_flags & SCF_SCSI_TMR_CDB)) { in target_handle_abort()
853 if (cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) in target_complete_cmd()
869 if (cmd->se_cmd_flags & SCF_USE_CPUID) in target_complete_cmd()
879 cmd->se_cmd_flags & SCF_TREAT_READ_AS_NORMAL) && in target_complete_cmd_with_length()
881 if (cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { in target_complete_cmd_with_length()
884 cmd->se_cmd_flags |= SCF_UNDERFLOW_BIT; in target_complete_cmd_with_length()
1262 if (cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in target_check_max_data_sg_nents()
[all …]
Dtarget_core_sbc.c785 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 …]
Dtarget_core_tmr.c40 se_cmd->se_cmd_flags |= SCF_SCSI_TMR_CDB; in core_tmr_alloc_req()
132 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) in core_tmr_abort_task()
Dtarget_core_device.c77 se_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in transport_lookup_cmd_lun()
111 se_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in transport_lookup_cmd_lun()
167 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()
Dtarget_core_file.c302 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()
Dtarget_core_pscsi.c698 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()
Dtarget_core_alua.c457 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()
Dtarget_core_user.c578 if (se_cmd->se_cmd_flags & SCF_BIDI) { in tcmu_cmd_set_block_cnts()
1074 se_cmd->se_cmd_flags & SCF_BIDI) in queue_cmd_ring()
1082 if (se_cmd->se_cmd_flags & SCF_BIDI) { in queue_cmd_ring()
1334 se_cmd->se_cmd_flags |= SCF_TREAT_READ_AS_NORMAL; in tcmu_handle_completion()
1336 if (se_cmd->se_cmd_flags & SCF_BIDI) { in tcmu_handle_completion()
Dtarget_core_xcopy.c534 cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in target_xcopy_setup_pt_cmd()
Dtarget_core_iblock.c703 if (cmd->se_cmd_flags & SCF_FUA) in iblock_execute_rw()
/Linux-v5.10/drivers/target/tcm_fc/
Dtfc_cmd.c46 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.10/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c318 if ((se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) == 0) { in tcm_qla2xxx_check_stop_free()
333 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) { in tcm_qla2xxx_release_cmd()
400 cmd->se_cmd.se_cmd_flags); in tcm_qla2xxx_write_pending()
431 if (!(se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB)) { in tcm_qla2xxx_get_cmd_state()
632 if (secmd->se_cmd_flags & SCF_SCSI_TMR_CDB) in tcm_qla2xxx_find_cmd_by_tag()
661 cmd->se_cmd.se_cmd_flags); in tcm_qla2xxx_queue_data_in()
703 cmd->se_cmd.se_cmd_flags); in tcm_qla2xxx_queue_status()
719 if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in tcm_qla2xxx_queue_status()
720 se_cmd->se_cmd_flags &= ~SCF_OVERFLOW_BIT; in tcm_qla2xxx_queue_status()
723 se_cmd->se_cmd_flags |= SCF_UNDERFLOW_BIT; in tcm_qla2xxx_queue_status()
Dqla_target.c2762 if (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { in qlt_pre_xmit_response()
2770 } else if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in qlt_pre_xmit_response()
3786 cmd->se_cmd.t_state, cmd->se_cmd.se_cmd_flags); in qlt_abort_cmd()
/Linux-v5.10/drivers/target/loopback/
Dtcm_loop.c559 ((se_cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in tcm_loop_queue_data_or_status()
560 (se_cmd->se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in tcm_loop_queue_data_or_status()
570 if ((se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) || in tcm_loop_queue_data_or_status()
571 (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT)) in tcm_loop_queue_data_or_status()
/Linux-v5.10/include/target/
Dtarget_core_fabric.h222 if (se_cmd->se_cmd_flags & SCF_BIDI) in target_reverse_dma_direction()
Dtarget_core_base.h475 u32 se_cmd_flags; member
/Linux-v5.10/drivers/target/iscsi/
Discsi_target_tmr.c389 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()
Discsi_target.c1504 if (!(se_cmd->se_cmd_flags & SCF_SUPPORTED_SAM_OPCODE)) in __iscsit_check_dataout_hdr()
2790 if (cmd->se_cmd.se_cmd_flags & SCF_OVERFLOW_BIT) { in iscsit_build_datain_pdu()
2793 } else if (cmd->se_cmd.se_cmd_flags & SCF_UNDERFLOW_BIT) { in iscsit_build_datain_pdu()
2860 (cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE)) in iscsit_send_datain()
2880 eodr = (cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) ? in iscsit_send_datain()
3222 if (cmd->se_cmd.se_cmd_flags & SCF_OVERFLOW_BIT) { in iscsit_build_rsp_pdu()
3225 } else if (cmd->se_cmd.se_cmd_flags & SCF_UNDERFLOW_BIT) { in iscsit_build_rsp_pdu()
3258 ((cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in iscsit_send_response()
3259 (cmd->se_cmd.se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in iscsit_send_response()
/Linux-v5.10/drivers/target/iscsi/cxgbit/
Dcxgbit_target.c404 bool task_sense = !!(cmd->se_cmd.se_cmd_flags & in cxgbit_tx_datain_iso()
880 if (cmd->se_cmd.se_cmd_flags & SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC) { in cxgbit_handle_immediate_data()
982 cmd->se_cmd.se_cmd_flags |= SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in cxgbit_handle_scsi_cmd()
/Linux-v5.10/drivers/infiniband/ulp/isert/
Dib_isert.c1039 cmd->se_cmd.se_cmd_flags |= SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in isert_handle_scsi_cmd()
1748 ((cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in isert_put_response()
1749 (cmd->se_cmd.se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in isert_put_response()
/Linux-v5.10/drivers/xen/
Dxen-scsiback.c1405 ((se_cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in scsiback_queue_status()
1406 (se_cmd->se_cmd_flags & SCF_EMULATED_TASK_SENSE))) in scsiback_queue_status()
/Linux-v5.10/drivers/infiniband/ulp/srpt/
Dib_srpt.c1394 if (cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { in srpt_build_cmd_rsp()
1404 } else if (cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in srpt_build_cmd_rsp()
2923 if (cmd->se_cmd_flags & in srpt_queue_status()
/Linux-v5.10/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c65 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.10/drivers/vhost/
Dscsi.c376 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) { in vhost_scsi_release_cmd()