/linux/drivers/target/ |
A D | target_core_transport.c | 684 if (cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) in target_remove_from_tmr_list() 929 cmd->se_cmd_flags |= SCF_UNDERFLOW_BIT; in target_set_cmd_data_length() 1371 cmd->se_cmd_flags |= SCF_OVERFLOW_BIT; in target_cmd_size_check() 1646 se_cmd->se_cmd_flags |= SCF_USE_CPUID; in target_init_cmd() 1651 se_cmd->se_cmd_flags |= SCF_BIDI; in target_init_cmd() 2184 cmd->se_cmd_flags |= SCF_TASK_ATTR_SET; in target_handle_task_attr() 2346 cmd->se_cmd_flags &= ~SCF_TASK_ATTR_SET; in transport_complete_task_attr() 2399 if (cmd->se_cmd_flags & SCF_BIDI) { in transport_complete_qf() 2590 if (cmd->se_cmd_flags & SCF_BIDI) { in target_complete_ok_work() 2766 if ((cmd->se_cmd_flags & SCF_BIDI) || in transport_generic_new_cmd() [all …]
|
A D | target_core_sbc.c | 815 cmd->se_cmd_flags |= SCF_FUA; in sbc_check_dpofua() 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() 877 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb() 883 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() 912 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb() 927 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb() 932 !(cmd->se_cmd_flags & SCF_BIDI)) in sbc_parse_cdb() [all …]
|
A 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()
|
A D | target_core_device.c | 87 se_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in transport_lookup_cmd_lun() 120 se_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in transport_lookup_cmd_lun() 164 se_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in transport_lookup_tmr_lun() 1171 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in passthrough_parse_cdb() 1179 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in passthrough_parse_cdb()
|
A D | target_core_file.c | 297 if (is_write && (cmd->se_cmd_flags & SCF_FUA)) in fd_execute_rw_aio() 642 if (ret > 0 && (cmd->se_cmd_flags & SCF_FUA)) { in fd_execute_rw_buffered()
|
A D | target_core_pscsi.c | 697 cmd->se_cmd_flags |= SCF_TREAT_READ_AS_NORMAL; in pscsi_complete_cmd() 954 if (cmd->se_cmd_flags & SCF_BIDI) in pscsi_parse_cdb()
|
A D | target_core_alua.c | 441 cmd->se_cmd_flags |= SCF_ALUA_NON_OPTIMIZED; in core_alua_state_nonoptimized() 453 if (!(cmd->se_cmd_flags & SCF_SCSI_DATA_CDB)) in core_alua_state_lba_dependent() 835 if (!(cmd->se_cmd_flags & SCF_ALUA_NON_OPTIMIZED)) in core_alua_check_nonop_delay()
|
A D | target_core_user.c | 584 if (se_cmd->se_cmd_flags & SCF_BIDI) { in tcmu_cmd_set_block_cnts() 1097 se_cmd->se_cmd_flags & SCF_BIDI) in queue_cmd_ring() 1105 if (se_cmd->se_cmd_flags & SCF_BIDI) { in queue_cmd_ring() 1367 se_cmd->se_cmd_flags |= SCF_TREAT_READ_AS_NORMAL; in tcmu_handle_completion() 1369 if (se_cmd->se_cmd_flags & SCF_BIDI) { in tcmu_handle_completion()
|
A D | target_core_iblock.c | 742 if (cmd->se_cmd_flags & SCF_FUA) in iblock_execute_rw()
|
A D | target_core_xcopy.c | 541 cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in target_xcopy_setup_pt_cmd()
|
/linux/drivers/target/tcm_fc/ |
A D | tfc_cmd.c | 45 se_cmd->data_length, se_cmd->se_cmd_flags); in _ft_dump_cmd() 137 if (se_cmd->se_cmd_flags & (SCF_OVERFLOW_BIT | SCF_UNDERFLOW_BIT)) { in ft_queue_status() 138 if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) in ft_queue_status() 215 if ((se_cmd->se_cmd_flags & SCF_SCSI_DATA_CDB) && in ft_write_pending()
|
/linux/drivers/scsi/qla2xxx/ |
A D | tcm_qla2xxx.c | 323 if ((se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) == 0) { in tcm_qla2xxx_check_stop_free() 338 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() 667 cmd->se_cmd.se_cmd_flags); in tcm_qla2xxx_queue_data_in() 707 cmd->se_cmd.se_cmd_flags); in tcm_qla2xxx_queue_status() 722 if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in tcm_qla2xxx_queue_status() 723 se_cmd->se_cmd_flags &= ~SCF_OVERFLOW_BIT; in tcm_qla2xxx_queue_status() 726 se_cmd->se_cmd_flags |= SCF_UNDERFLOW_BIT; in tcm_qla2xxx_queue_status() 776 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) in tcm_qla2xxx_aborted_task()
|
/linux/drivers/target/loopback/ |
A D | tcm_loop.c | 71 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) in tcm_loop_release_cmd() 562 ((se_cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in tcm_loop_queue_data_or_status() 563 (se_cmd->se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in tcm_loop_queue_data_or_status() 572 if ((se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) || in tcm_loop_queue_data_or_status() 573 (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT)) in tcm_loop_queue_data_or_status()
|
/linux/drivers/scsi/elx/efct/ |
A D | efct_lio.c | 447 cmd->transport_state, cmd->se_cmd_flags); in efct_lio_write_pending() 570 if (cmd->se_cmd_flags & SCF_OVERFLOW_BIT) in efct_lio_send_resp() 572 else if (cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) in efct_lio_send_resp() 680 cmd->scsi_status, cmd->transport_state, cmd->se_cmd_flags, in efct_lio_queue_status() 691 if (cmd->se_cmd_flags & SCF_OVERFLOW_BIT) in efct_lio_queue_status() 693 else if (cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) in efct_lio_queue_status()
|
/linux/include/target/ |
A D | target_core_fabric.h | 230 if (se_cmd->se_cmd_flags & SCF_BIDI) in target_reverse_dma_direction()
|
A D | target_core_base.h | 480 u32 se_cmd_flags; member
|
/linux/drivers/target/iscsi/ |
A 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()
|
A D | iscsi_target.c | 1505 if (!(se_cmd->se_cmd_flags & SCF_SUPPORTED_SAM_OPCODE)) in __iscsit_check_dataout_hdr() 2791 if (cmd->se_cmd.se_cmd_flags & SCF_OVERFLOW_BIT) { in iscsit_build_datain_pdu() 2794 } else if (cmd->se_cmd.se_cmd_flags & SCF_UNDERFLOW_BIT) { in iscsit_build_datain_pdu() 2861 (cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE)) in iscsit_send_datain() 2881 eodr = (cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) ? in iscsit_send_datain() 3223 if (cmd->se_cmd.se_cmd_flags & SCF_OVERFLOW_BIT) { in iscsit_build_rsp_pdu() 3226 } else if (cmd->se_cmd.se_cmd_flags & SCF_UNDERFLOW_BIT) { in iscsit_build_rsp_pdu() 3259 ((cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in iscsit_send_response() 3260 (cmd->se_cmd.se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in iscsit_send_response()
|
/linux/drivers/target/iscsi/cxgbit/ |
A D | cxgbit_ddp.c | 268 if (cmd->se_cmd.se_cmd_flags & SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC) { in cxgbit_unmap_cmd()
|
A D | cxgbit_target.c | 403 bool task_sense = !!(cmd->se_cmd.se_cmd_flags & in cxgbit_tx_datain_iso() 879 if (cmd->se_cmd.se_cmd_flags & SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC) { in cxgbit_handle_immediate_data() 981 cmd->se_cmd.se_cmd_flags |= SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in cxgbit_handle_scsi_cmd()
|
/linux/drivers/infiniband/ulp/isert/ |
A D | ib_isert.c | 1064 cmd->se_cmd.se_cmd_flags |= SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in isert_handle_scsi_cmd() 1773 ((cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in isert_put_response() 1774 (cmd->se_cmd.se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in isert_put_response()
|
/linux/drivers/xen/ |
A D | xen-scsiback.c | 1400 ((se_cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in scsiback_queue_status() 1401 (se_cmd->se_cmd_flags & SCF_EMULATED_TASK_SENSE))) in scsiback_queue_status()
|
/linux/drivers/infiniband/ulp/srpt/ |
A D | ib_srpt.c | 1394 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() 2927 if (cmd->se_cmd_flags & in srpt_queue_status()
|
/linux/drivers/scsi/ibmvscsi_tgt/ |
A D | ibmvscsi_tgt.c | 66 if (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { in ibmvscsis_determine_resid() 76 } else if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in ibmvscsis_determine_resid()
|
/linux/drivers/vhost/ |
A D | scsi.c | 360 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) { in vhost_scsi_release_cmd()
|