se_cmd_flags 1141 drivers/infiniband/ulp/isert/ib_isert.c cmd->se_cmd.se_cmd_flags |= SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; se_cmd_flags 1856 drivers/infiniband/ulp/isert/ib_isert.c ((cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || se_cmd_flags 1857 drivers/infiniband/ulp/isert/ib_isert.c (cmd->se_cmd.se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { se_cmd_flags 1393 drivers/infiniband/ulp/srpt/ib_srpt.c if (cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { se_cmd_flags 1403 drivers/infiniband/ulp/srpt/ib_srpt.c } else if (cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { se_cmd_flags 2918 drivers/infiniband/ulp/srpt/ib_srpt.c if (cmd->se_cmd_flags & se_cmd_flags 65 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { se_cmd_flags 75 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c } else if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { se_cmd_flags 2750 drivers/scsi/qla2xxx/qla_target.c if (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { se_cmd_flags 2758 drivers/scsi/qla2xxx/qla_target.c } else if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { se_cmd_flags 3770 drivers/scsi/qla2xxx/qla_target.c cmd->se_cmd.t_state, cmd->se_cmd.se_cmd_flags); se_cmd_flags 295 drivers/scsi/qla2xxx/tcm_qla2xxx.c if ((se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) == 0) { se_cmd_flags 310 drivers/scsi/qla2xxx/tcm_qla2xxx.c if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) { se_cmd_flags 377 drivers/scsi/qla2xxx/tcm_qla2xxx.c cmd->se_cmd.se_cmd_flags); se_cmd_flags 408 drivers/scsi/qla2xxx/tcm_qla2xxx.c if (!(se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB)) { se_cmd_flags 609 drivers/scsi/qla2xxx/tcm_qla2xxx.c if (secmd->se_cmd_flags & SCF_SCSI_TMR_CDB) se_cmd_flags 638 drivers/scsi/qla2xxx/tcm_qla2xxx.c cmd->se_cmd.se_cmd_flags); se_cmd_flags 680 drivers/scsi/qla2xxx/tcm_qla2xxx.c cmd->se_cmd.se_cmd_flags); se_cmd_flags 696 drivers/scsi/qla2xxx/tcm_qla2xxx.c if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { se_cmd_flags 697 drivers/scsi/qla2xxx/tcm_qla2xxx.c se_cmd->se_cmd_flags &= ~SCF_OVERFLOW_BIT; se_cmd_flags 700 drivers/scsi/qla2xxx/tcm_qla2xxx.c se_cmd->se_cmd_flags |= SCF_UNDERFLOW_BIT; se_cmd_flags 420 drivers/target/iscsi/cxgbit/cxgbit_target.c bool task_sense = !!(cmd->se_cmd.se_cmd_flags & se_cmd_flags 896 drivers/target/iscsi/cxgbit/cxgbit_target.c if (cmd->se_cmd.se_cmd_flags & SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC) { se_cmd_flags 998 drivers/target/iscsi/cxgbit/cxgbit_target.c cmd->se_cmd.se_cmd_flags |= SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; se_cmd_flags 1489 drivers/target/iscsi/iscsi_target.c if (!(se_cmd->se_cmd_flags & SCF_SUPPORTED_SAM_OPCODE)) se_cmd_flags 2777 drivers/target/iscsi/iscsi_target.c if (cmd->se_cmd.se_cmd_flags & SCF_OVERFLOW_BIT) { se_cmd_flags 2780 drivers/target/iscsi/iscsi_target.c } else if (cmd->se_cmd.se_cmd_flags & SCF_UNDERFLOW_BIT) { se_cmd_flags 2847 drivers/target/iscsi/iscsi_target.c (cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE)) se_cmd_flags 2867 drivers/target/iscsi/iscsi_target.c eodr = (cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) ? se_cmd_flags 3209 drivers/target/iscsi/iscsi_target.c if (cmd->se_cmd.se_cmd_flags & SCF_OVERFLOW_BIT) { se_cmd_flags 3212 drivers/target/iscsi/iscsi_target.c } else if (cmd->se_cmd.se_cmd_flags & SCF_UNDERFLOW_BIT) { se_cmd_flags 3245 drivers/target/iscsi/iscsi_target.c ((cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || se_cmd_flags 3246 drivers/target/iscsi/iscsi_target.c (cmd->se_cmd.se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { se_cmd_flags 389 drivers/target/iscsi/iscsi_target_tmr.c if (cmd->se_cmd.se_cmd_flags & SCF_SENT_CHECK_CONDITION) { se_cmd_flags 787 drivers/target/iscsi/iscsi_target_tmr.c if (ref_cmd->se_cmd.se_cmd_flags & SCF_SENT_CHECK_CONDITION) se_cmd_flags 559 drivers/target/loopback/tcm_loop.c if ((se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) || se_cmd_flags 560 drivers/target/loopback/tcm_loop.c (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT)) se_cmd_flags 576 drivers/target/loopback/tcm_loop.c ((se_cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || se_cmd_flags 577 drivers/target/loopback/tcm_loop.c (se_cmd->se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { se_cmd_flags 587 drivers/target/loopback/tcm_loop.c if ((se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) || se_cmd_flags 588 drivers/target/loopback/tcm_loop.c (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT)) se_cmd_flags 457 drivers/target/target_core_alua.c cmd->se_cmd_flags |= SCF_ALUA_NON_OPTIMIZED; se_cmd_flags 469 drivers/target/target_core_alua.c if (!(cmd->se_cmd_flags & SCF_SCSI_DATA_CDB)) se_cmd_flags 861 drivers/target/target_core_alua.c if (!(cmd->se_cmd_flags & SCF_ALUA_NON_OPTIMIZED)) se_cmd_flags 78 drivers/target/target_core_device.c se_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; se_cmd_flags 112 drivers/target/target_core_device.c se_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; se_cmd_flags 169 drivers/target/target_core_device.c se_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; se_cmd_flags 1149 drivers/target/target_core_device.c cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; se_cmd_flags 1157 drivers/target/target_core_device.c cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; se_cmd_flags 302 drivers/target/target_core_file.c if (is_write && (cmd->se_cmd_flags & SCF_FUA)) se_cmd_flags 649 drivers/target/target_core_file.c if (ret > 0 && (cmd->se_cmd_flags & SCF_FUA)) { se_cmd_flags 704 drivers/target/target_core_iblock.c if (cmd->se_cmd_flags & SCF_FUA) se_cmd_flags 698 drivers/target/target_core_pscsi.c cmd->se_cmd_flags |= SCF_TREAT_READ_AS_NORMAL; se_cmd_flags 948 drivers/target/target_core_pscsi.c if (cmd->se_cmd_flags & SCF_BIDI) se_cmd_flags 785 drivers/target/target_core_sbc.c cmd->se_cmd_flags |= SCF_FUA; se_cmd_flags 805 drivers/target/target_core_sbc.c cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; se_cmd_flags 819 drivers/target/target_core_sbc.c cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; se_cmd_flags 833 drivers/target/target_core_sbc.c cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; se_cmd_flags 847 drivers/target/target_core_sbc.c cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; se_cmd_flags 853 drivers/target/target_core_sbc.c cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; se_cmd_flags 868 drivers/target/target_core_sbc.c cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; se_cmd_flags 882 drivers/target/target_core_sbc.c cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; se_cmd_flags 897 drivers/target/target_core_sbc.c cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; se_cmd_flags 902 drivers/target/target_core_sbc.c !(cmd->se_cmd_flags & SCF_BIDI)) se_cmd_flags 910 drivers/target/target_core_sbc.c cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; se_cmd_flags 932 drivers/target/target_core_sbc.c cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; se_cmd_flags 990 drivers/target/target_core_sbc.c cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB | SCF_COMPARE_AND_WRITE; se_cmd_flags 1111 drivers/target/target_core_sbc.c if (cmd->se_cmd_flags & SCF_SCSI_DATA_CDB) { se_cmd_flags 1123 drivers/target/target_core_sbc.c if (!(cmd->se_cmd_flags & SCF_COMPARE_AND_WRITE)) se_cmd_flags 40 drivers/target/target_core_tmr.c se_cmd->se_cmd_flags |= SCF_SCSI_TMR_CDB; se_cmd_flags 130 drivers/target/target_core_tmr.c if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) se_cmd_flags 733 drivers/target/target_core_transport.c if (cmd->se_cmd_flags & SCF_SENT_CHECK_CONDITION) se_cmd_flags 755 drivers/target/target_core_transport.c cmd->se_cmd_flags |= SCF_TRANSPORT_TASK_SENSE; se_cmd_flags 764 drivers/target/target_core_transport.c bool ack_kref = cmd->se_cmd_flags & SCF_ACK_KREF; se_cmd_flags 770 drivers/target/target_core_transport.c if (!(cmd->se_cmd_flags & SCF_SCSI_TMR_CDB)) { se_cmd_flags 848 drivers/target/target_core_transport.c if (cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) se_cmd_flags 864 drivers/target/target_core_transport.c if (cmd->se_cmd_flags & SCF_USE_CPUID) se_cmd_flags 874 drivers/target/target_core_transport.c cmd->se_cmd_flags & SCF_TREAT_READ_AS_NORMAL) && se_cmd_flags 876 drivers/target/target_core_transport.c if (cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { se_cmd_flags 879 drivers/target/target_core_transport.c cmd->se_cmd_flags |= SCF_UNDERFLOW_BIT; se_cmd_flags 1257 drivers/target/target_core_transport.c if (cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { se_cmd_flags 1259 drivers/target/target_core_transport.c } else if (cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { se_cmd_flags 1263 drivers/target/target_core_transport.c cmd->se_cmd_flags |= SCF_UNDERFLOW_BIT; se_cmd_flags 1293 drivers/target/target_core_transport.c if (cmd->se_cmd_flags & SCF_SCSI_DATA_CDB) { se_cmd_flags 1328 drivers/target/target_core_transport.c cmd->se_cmd_flags |= SCF_OVERFLOW_BIT; se_cmd_flags 1331 drivers/target/target_core_transport.c cmd->se_cmd_flags |= SCF_UNDERFLOW_BIT; se_cmd_flags 1452 drivers/target/target_core_transport.c cmd->se_cmd_flags |= SCF_SUPPORTED_SAM_OPCODE; se_cmd_flags 1513 drivers/target/target_core_transport.c if (cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { se_cmd_flags 1524 drivers/target/target_core_transport.c cmd->se_cmd_flags |= SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; se_cmd_flags 1581 drivers/target/target_core_transport.c se_cmd->se_cmd_flags |= SCF_USE_CPUID; se_cmd_flags 1600 drivers/target/target_core_transport.c se_cmd->se_cmd_flags |= SCF_BIDI; se_cmd_flags 1624 drivers/target/target_core_transport.c se_cmd->se_cmd_flags |= SCF_PASSTHROUGH_PROT_SG_TO_MEM_NOALLOC; se_cmd_flags 1643 drivers/target/target_core_transport.c if (!(se_cmd->se_cmd_flags & SCF_SCSI_DATA_CDB) && se_cmd_flags 1729 drivers/target/target_core_transport.c if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) se_cmd_flags 2004 drivers/target/target_core_transport.c cmd->se_cmd_flags |= SCF_TASK_ATTR_SET; se_cmd_flags 2118 drivers/target/target_core_transport.c if (!(cmd->se_cmd_flags & SCF_TASK_ATTR_SET)) se_cmd_flags 2135 drivers/target/target_core_transport.c cmd->se_cmd_flags &= ~SCF_TASK_ATTR_SET; se_cmd_flags 2172 drivers/target/target_core_transport.c if (!(cmd->se_cmd_flags & SCF_TREAT_READ_AS_NORMAL) && se_cmd_flags 2173 drivers/target/target_core_transport.c cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) se_cmd_flags 2180 drivers/target/target_core_transport.c !(cmd->se_cmd_flags & SCF_TREAT_READ_AS_NORMAL)) se_cmd_flags 2187 drivers/target/target_core_transport.c if (cmd->se_cmd_flags & SCF_BIDI) { se_cmd_flags 2292 drivers/target/target_core_transport.c if (!(cmd->se_cmd_flags & SCF_TREAT_READ_AS_NORMAL) && se_cmd_flags 2293 drivers/target/target_core_transport.c cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) { se_cmd_flags 2310 drivers/target/target_core_transport.c bool caw = (cmd->se_cmd_flags & SCF_COMPARE_AND_WRITE); se_cmd_flags 2346 drivers/target/target_core_transport.c !(cmd->se_cmd_flags & SCF_TREAT_READ_AS_NORMAL)) se_cmd_flags 2378 drivers/target/target_core_transport.c if (cmd->se_cmd_flags & SCF_BIDI) { se_cmd_flags 2433 drivers/target/target_core_transport.c if (!(cmd->se_cmd_flags & SCF_PASSTHROUGH_PROT_SG_TO_MEM_NOALLOC)) { se_cmd_flags 2439 drivers/target/target_core_transport.c if (cmd->se_cmd_flags & SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC) { se_cmd_flags 2444 drivers/target/target_core_transport.c if (cmd->se_cmd_flags & SCF_COMPARE_AND_WRITE) { se_cmd_flags 2536 drivers/target/target_core_transport.c bool zero_flag = !(cmd->se_cmd_flags & SCF_SCSI_DATA_CDB); se_cmd_flags 2539 drivers/target/target_core_transport.c !(cmd->se_cmd_flags & SCF_PASSTHROUGH_PROT_SG_TO_MEM_NOALLOC)) { se_cmd_flags 2551 drivers/target/target_core_transport.c if (!(cmd->se_cmd_flags & SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC) && se_cmd_flags 2554 drivers/target/target_core_transport.c if ((cmd->se_cmd_flags & SCF_BIDI) || se_cmd_flags 2555 drivers/target/target_core_transport.c (cmd->se_cmd_flags & SCF_COMPARE_AND_WRITE)) { se_cmd_flags 2558 drivers/target/target_core_transport.c if (cmd->se_cmd_flags & SCF_COMPARE_AND_WRITE) se_cmd_flags 2575 drivers/target/target_core_transport.c } else if ((cmd->se_cmd_flags & SCF_COMPARE_AND_WRITE) && se_cmd_flags 2717 drivers/target/target_core_transport.c if (cmd->se_cmd_flags & SCF_SE_LUN_CMD) { se_cmd_flags 2761 drivers/target/target_core_transport.c se_cmd->se_cmd_flags |= SCF_ACK_KREF; se_cmd_flags 2785 drivers/target/target_core_transport.c if (cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) se_cmd_flags 2912 drivers/target/target_core_transport.c if (!(cmd->se_cmd_flags & SCF_SCSI_TMR_CDB)) { se_cmd_flags 2997 drivers/target/target_core_transport.c if (!(cmd->se_cmd_flags & SCF_SE_LUN_CMD) && se_cmd_flags 2998 drivers/target/target_core_transport.c !(cmd->se_cmd_flags & SCF_SCSI_TMR_CDB)) se_cmd_flags 3001 drivers/target/target_core_transport.c if (!(cmd->se_cmd_flags & SCF_SUPPORTED_SAM_OPCODE) && se_cmd_flags 3002 drivers/target/target_core_transport.c !(cmd->se_cmd_flags & SCF_SCSI_TMR_CDB)) se_cmd_flags 3242 drivers/target/target_core_transport.c cmd->se_cmd_flags |= SCF_EMULATED_TASK_SENSE; se_cmd_flags 3258 drivers/target/target_core_transport.c WARN_ON_ONCE(cmd->se_cmd_flags & SCF_SCSI_TMR_CDB); se_cmd_flags 3261 drivers/target/target_core_transport.c if (cmd->se_cmd_flags & SCF_SENT_CHECK_CONDITION) { se_cmd_flags 3265 drivers/target/target_core_transport.c cmd->se_cmd_flags |= SCF_SENT_CHECK_CONDITION; se_cmd_flags 3284 drivers/target/target_core_transport.c WARN_ON_ONCE(cmd->se_cmd_flags & SCF_SCSI_TMR_CDB); se_cmd_flags 554 drivers/target/target_core_user.c if (se_cmd->se_cmd_flags & SCF_BIDI) { se_cmd_flags 1047 drivers/target/target_core_user.c || se_cmd->se_cmd_flags & SCF_BIDI); se_cmd_flags 1055 drivers/target/target_core_user.c if (se_cmd->se_cmd_flags & SCF_BIDI) { se_cmd_flags 1170 drivers/target/target_core_user.c se_cmd->se_cmd_flags |= SCF_TREAT_READ_AS_NORMAL; se_cmd_flags 1172 drivers/target/target_core_user.c if (se_cmd->se_cmd_flags & SCF_BIDI) { se_cmd_flags 536 drivers/target/target_core_xcopy.c cmd->se_cmd_flags |= SCF_SE_LUN_CMD; se_cmd_flags 557 drivers/target/target_core_xcopy.c cmd->se_cmd_flags |= SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; se_cmd_flags 706 drivers/target/target_core_xcopy.c src_cmd->se_cmd_flags &= ~SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; se_cmd_flags 717 drivers/target/target_core_xcopy.c se_cmd->se_cmd_flags &= ~SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; se_cmd_flags 794 drivers/target/target_core_xcopy.c xop->dst_pt_cmd->se_cmd.se_cmd_flags &= ~SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; se_cmd_flags 46 drivers/target/tcm_fc/tfc_cmd.c se_cmd->data_length, se_cmd->se_cmd_flags); se_cmd_flags 138 drivers/target/tcm_fc/tfc_cmd.c if (se_cmd->se_cmd_flags & (SCF_OVERFLOW_BIT | SCF_UNDERFLOW_BIT)) { se_cmd_flags 139 drivers/target/tcm_fc/tfc_cmd.c if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) se_cmd_flags 216 drivers/target/tcm_fc/tfc_cmd.c if ((se_cmd->se_cmd_flags & SCF_SCSI_DATA_CDB) && se_cmd_flags 1432 drivers/xen/xen-scsiback.c ((se_cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || se_cmd_flags 1433 drivers/xen/xen-scsiback.c (se_cmd->se_cmd_flags & SCF_EMULATED_TASK_SENSE))) se_cmd_flags 469 include/target/target_core_base.h u32 se_cmd_flags; se_cmd_flags 221 include/target/target_core_fabric.h if (se_cmd->se_cmd_flags & SCF_BIDI)