/Linux-v4.19/drivers/target/ |
D | target_core_transport.c | 701 bool ack_kref = (cmd->se_cmd_flags & SCF_ACK_KREF); in transport_cmd_finish_abort() 707 if (cmd->se_cmd_flags & SCF_SE_LUN_CMD) in transport_cmd_finish_abort() 745 if (cmd->se_cmd_flags & SCF_SENT_CHECK_CONDITION) in transport_get_sense_buffer() 767 cmd->se_cmd_flags |= SCF_TRANSPORT_TASK_SENSE; in transport_copy_sense_to_cmd() 784 if (cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) in target_complete_cmd() 807 if (cmd->se_cmd_flags & SCF_COMPARE_AND_WRITE) { in target_complete_cmd() 822 if (cmd->se_cmd_flags & SCF_USE_CPUID) in target_complete_cmd() 832 cmd->se_cmd_flags & SCF_TREAT_READ_AS_NORMAL) && in target_complete_cmd_with_length() 834 if (cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { in target_complete_cmd_with_length() 837 cmd->se_cmd_flags |= SCF_UNDERFLOW_BIT; in target_complete_cmd_with_length() [all …]
|
D | target_core_sbc.c | 435 cmd->se_cmd_flags |= SCF_COMPARE_AND_WRITE_POST; in compare_and_write_post() 801 cmd->se_cmd_flags |= SCF_FUA; in sbc_check_dpofua() 821 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb() 835 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb() 849 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb() 863 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb() 869 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb() 884 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb() 898 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb() 913 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb() [all …]
|
D | target_core_xcopy.c | 580 pt_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in target_xcopy_init_pt_lun() 622 cmd->se_cmd_flags |= SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in target_xcopy_setup_pt_cmd() 771 src_cmd->se_cmd_flags &= ~SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in target_xcopy_write_destination() 782 se_cmd->se_cmd_flags &= ~SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in target_xcopy_write_destination() 859 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 | 53 se_cmd->se_cmd_flags |= SCF_SCSI_TMR_CDB; in core_tmr_alloc_req() 158 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) in core_tmr_abort_task()
|
D | target_core_device.c | 91 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() 182 se_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in transport_lookup_tmr_lun() 1212 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in passthrough_parse_cdb() 1220 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in passthrough_parse_cdb()
|
D | target_core_file.c | 315 if (is_write && (cmd->se_cmd_flags & SCF_FUA)) in fd_execute_rw_aio() 662 if (ret > 0 && (cmd->se_cmd_flags & SCF_FUA)) { in fd_execute_rw_buffered()
|
D | target_core_user.c | 563 if (se_cmd->se_cmd_flags & SCF_BIDI) { in tcmu_cmd_get_data_length() 1054 || se_cmd->se_cmd_flags & SCF_BIDI); in queue_cmd_ring() 1062 if (se_cmd->se_cmd_flags & SCF_BIDI) { in queue_cmd_ring() 1169 se_cmd->se_cmd_flags |= SCF_TREAT_READ_AS_NORMAL; in tcmu_handle_completion() 1171 if (se_cmd->se_cmd_flags & SCF_BIDI) { in tcmu_handle_completion()
|
D | target_core_pscsi.c | 711 cmd->se_cmd_flags |= SCF_TREAT_READ_AS_NORMAL; in pscsi_complete_cmd() 979 if (cmd->se_cmd_flags & SCF_BIDI) in pscsi_parse_cdb()
|
D | target_core_alua.c | 470 cmd->se_cmd_flags |= SCF_ALUA_NON_OPTIMIZED; in core_alua_state_nonoptimized() 482 if (!(cmd->se_cmd_flags & SCF_SCSI_DATA_CDB)) in core_alua_state_lba_dependent() 874 if (!(cmd->se_cmd_flags & SCF_ALUA_NON_OPTIMIZED)) in core_alua_check_nonop_delay()
|
D | target_core_iblock.c | 705 if (cmd->se_cmd_flags & SCF_FUA) in iblock_execute_rw()
|
/Linux-v4.19/drivers/target/tcm_fc/ |
D | tfc_cmd.c | 58 se_cmd->data_length, se_cmd->se_cmd_flags); in _ft_dump_cmd() 150 if (se_cmd->se_cmd_flags & (SCF_OVERFLOW_BIT | SCF_UNDERFLOW_BIT)) { in ft_queue_status() 151 if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) in ft_queue_status() 235 if ((se_cmd->se_cmd_flags & SCF_SCSI_DATA_CDB) && in ft_write_pending()
|
/Linux-v4.19/drivers/target/loopback/ |
D | tcm_loop.c | 136 se_cmd->se_cmd_flags |= SCF_BIDI; in tcm_loop_submission_work() 584 if ((se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) || in tcm_loop_queue_data_in() 585 (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT)) in tcm_loop_queue_data_in() 601 ((se_cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in tcm_loop_queue_status() 602 (se_cmd->se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in tcm_loop_queue_status() 612 if ((se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) || in tcm_loop_queue_status() 613 (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT)) in tcm_loop_queue_status()
|
/Linux-v4.19/drivers/scsi/qla2xxx/ |
D | tcm_qla2xxx.c | 314 if ((se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) == 0) { in tcm_qla2xxx_check_stop_free() 329 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) { in tcm_qla2xxx_release_cmd() 392 cmd->se_cmd.se_cmd_flags); in tcm_qla2xxx_write_pending() 441 if (!(se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB)) { in tcm_qla2xxx_get_cmd_state() 645 if (secmd->se_cmd_flags & SCF_SCSI_TMR_CDB) in tcm_qla2xxx_find_cmd_by_tag() 673 cmd->se_cmd.se_cmd_flags); in tcm_qla2xxx_queue_data_in() 713 cmd->se_cmd.se_cmd_flags); in tcm_qla2xxx_queue_status() 732 if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in tcm_qla2xxx_queue_status() 733 se_cmd->se_cmd_flags &= ~SCF_OVERFLOW_BIT; in tcm_qla2xxx_queue_status() 736 se_cmd->se_cmd_flags |= SCF_UNDERFLOW_BIT; in tcm_qla2xxx_queue_status()
|
D | qla_target.c | 2706 if (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { in qlt_pre_xmit_response() 2714 } else if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in qlt_pre_xmit_response() 3751 cmd->se_cmd.t_state, cmd->se_cmd.se_cmd_flags); in qlt_abort_cmd()
|
/Linux-v4.19/include/target/ |
D | target_core_fabric.h | 203 if (se_cmd->se_cmd_flags & SCF_BIDI) in target_reverse_dma_direction()
|
D | target_core_base.h | 461 u32 se_cmd_flags; member
|
/Linux-v4.19/drivers/target/iscsi/ |
D | iscsi_target_tmr.c | 397 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()
|
D | iscsi_target.c | 1484 if (!(se_cmd->se_cmd_flags & SCF_SUPPORTED_SAM_OPCODE)) in __iscsit_check_dataout_hdr() 2755 if (cmd->se_cmd.se_cmd_flags & SCF_OVERFLOW_BIT) { in iscsit_build_datain_pdu() 2758 } else if (cmd->se_cmd.se_cmd_flags & SCF_UNDERFLOW_BIT) { in iscsit_build_datain_pdu() 2825 (cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE)) in iscsit_send_datain() 2845 eodr = (cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) ? in iscsit_send_datain() 3181 if (cmd->se_cmd.se_cmd_flags & SCF_OVERFLOW_BIT) { in iscsit_build_rsp_pdu() 3184 } else if (cmd->se_cmd.se_cmd_flags & SCF_UNDERFLOW_BIT) { in iscsit_build_rsp_pdu() 3217 ((cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in iscsit_send_response() 3218 (cmd->se_cmd.se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in iscsit_send_response()
|
/Linux-v4.19/drivers/target/iscsi/cxgbit/ |
D | cxgbit_target.c | 423 bool task_sense = !!(cmd->se_cmd.se_cmd_flags & in cxgbit_tx_datain_iso() 899 if (cmd->se_cmd.se_cmd_flags & SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC) { in cxgbit_handle_immediate_data() 1001 cmd->se_cmd.se_cmd_flags |= SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in cxgbit_handle_scsi_cmd()
|
/Linux-v4.19/drivers/xen/ |
D | xen-scsiback.c | 1437 ((se_cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in scsiback_queue_status() 1438 (se_cmd->se_cmd_flags & SCF_EMULATED_TASK_SENSE))) in scsiback_queue_status()
|
/Linux-v4.19/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 1149 cmd->se_cmd.se_cmd_flags |= SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in isert_handle_scsi_cmd() 1864 ((cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in isert_put_response() 1865 (cmd->se_cmd.se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in isert_put_response()
|
/Linux-v4.19/drivers/scsi/ibmvscsi_tgt/ |
D | ibmvscsi_tgt.c | 74 if (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { in ibmvscsis_determine_resid() 84 } else if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in ibmvscsis_determine_resid()
|
/Linux-v4.19/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 2798 if (cmd->se_cmd_flags & in srpt_queue_status()
|