Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/target/
A Dtarget_core_transport.c684 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 Dtarget_core_sbc.c761 cmd->se_cmd_flags |= SCF_FUA; in sbc_check_dpofua()
781 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
795 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
809 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
823 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
829 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
844 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
858 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
873 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in sbc_parse_cdb()
1050 if (cmd->se_cmd_flags & SCF_SCSI_DATA_CDB) { in sbc_parse_cdb()
[all …]
A Dtarget_core_tmr.c40 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 Dtarget_core_device.c87 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()
1185 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in passthrough_parse_cdb()
1193 cmd->se_cmd_flags |= SCF_SCSI_DATA_CDB; in passthrough_parse_cdb()
A Dtarget_core_file.c298 if (is_write && (cmd->se_cmd_flags & SCF_FUA)) in fd_execute_rw_aio()
638 if (ret > 0 && (cmd->se_cmd_flags & SCF_FUA)) { in fd_execute_rw_buffered()
A Dtarget_core_pscsi.c692 cmd->se_cmd_flags |= SCF_TREAT_READ_AS_NORMAL; in pscsi_complete_cmd()
925 if (cmd->se_cmd_flags & SCF_BIDI) in pscsi_parse_cdb()
A Dtarget_core_alua.c444 cmd->se_cmd_flags |= SCF_ALUA_NON_OPTIMIZED; in core_alua_state_nonoptimized()
456 if (!(cmd->se_cmd_flags & SCF_SCSI_DATA_CDB)) in core_alua_state_lba_dependent()
838 if (!(cmd->se_cmd_flags & SCF_ALUA_NON_OPTIMIZED)) in core_alua_check_nonop_delay()
A Dtarget_core_user.c586 if (se_cmd->se_cmd_flags & SCF_BIDI) { in tcmu_cmd_set_block_cnts()
1099 se_cmd->se_cmd_flags & SCF_BIDI) in queue_cmd_ring()
1107 if (se_cmd->se_cmd_flags & SCF_BIDI) { in queue_cmd_ring()
1369 se_cmd->se_cmd_flags |= SCF_TREAT_READ_AS_NORMAL; in tcmu_handle_completion()
1371 if (se_cmd->se_cmd_flags & SCF_BIDI) { in tcmu_handle_completion()
A Dtarget_core_xcopy.c541 cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in target_xcopy_setup_pt_cmd()
A Dtarget_core_iblock.c745 if (cmd->se_cmd_flags & SCF_FUA) in iblock_execute_rw()
/linux-6.3-rc2/drivers/target/tcm_fc/
A Dtfc_cmd.c45 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-6.3-rc2/drivers/scsi/qla2xxx/
A Dtcm_qla2xxx.c323 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-6.3-rc2/drivers/target/loopback/
A Dtcm_loop.c71 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) in tcm_loop_release_cmd()
563 ((se_cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in tcm_loop_queue_data_or_status()
564 (se_cmd->se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in tcm_loop_queue_data_or_status()
573 if ((se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) || in tcm_loop_queue_data_or_status()
574 (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT)) in tcm_loop_queue_data_or_status()
/linux-6.3-rc2/drivers/scsi/elx/efct/
A Defct_lio.c444 cmd->transport_state, cmd->se_cmd_flags); in efct_lio_write_pending()
567 if (cmd->se_cmd_flags & SCF_OVERFLOW_BIT) in efct_lio_send_resp()
569 else if (cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) in efct_lio_send_resp()
677 cmd->scsi_status, cmd->transport_state, cmd->se_cmd_flags, in efct_lio_queue_status()
688 if (cmd->se_cmd_flags & SCF_OVERFLOW_BIT) in efct_lio_queue_status()
690 else if (cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) in efct_lio_queue_status()
/linux-6.3-rc2/include/target/
A Dtarget_core_fabric.h230 if (se_cmd->se_cmd_flags & SCF_BIDI) in target_reverse_dma_direction()
A Dtarget_core_base.h482 u32 se_cmd_flags; member
/linux-6.3-rc2/drivers/target/iscsi/
A 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()
A Discsi_target.c1543 if (!(se_cmd->se_cmd_flags & SCF_SUPPORTED_SAM_OPCODE)) in __iscsit_check_dataout_hdr()
2829 if (cmd->se_cmd.se_cmd_flags & SCF_OVERFLOW_BIT) { in iscsit_build_datain_pdu()
2832 } else if (cmd->se_cmd.se_cmd_flags & SCF_UNDERFLOW_BIT) { in iscsit_build_datain_pdu()
2899 (cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE)) in iscsit_send_datain()
2919 eodr = (cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) ? in iscsit_send_datain()
3261 if (cmd->se_cmd.se_cmd_flags & SCF_OVERFLOW_BIT) { in iscsit_build_rsp_pdu()
3264 } else if (cmd->se_cmd.se_cmd_flags & SCF_UNDERFLOW_BIT) { in iscsit_build_rsp_pdu()
3297 ((cmd->se_cmd.se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in iscsit_send_response()
3298 (cmd->se_cmd.se_cmd_flags & SCF_EMULATED_TASK_SENSE))) { in iscsit_send_response()
/linux-6.3-rc2/drivers/target/iscsi/cxgbit/
A Dcxgbit_ddp.c268 if (cmd->se_cmd.se_cmd_flags & SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC) { in cxgbit_unmap_cmd()
A Dcxgbit_target.c403 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-6.3-rc2/drivers/infiniband/ulp/isert/
A Dib_isert.c1064 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-6.3-rc2/drivers/xen/
A Dxen-scsiback.c1462 ((se_cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) || in scsiback_queue_status()
1463 (se_cmd->se_cmd_flags & SCF_EMULATED_TASK_SENSE))) in scsiback_queue_status()
/linux-6.3-rc2/drivers/infiniband/ulp/srpt/
A Dib_srpt.c1391 if (cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { in srpt_build_cmd_rsp()
1401 } else if (cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in srpt_build_cmd_rsp()
2928 if (cmd->se_cmd_flags & in srpt_queue_status()
/linux-6.3-rc2/drivers/scsi/ibmvscsi_tgt/
A Dibmvscsi_tgt.c66 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-6.3-rc2/drivers/vhost/
A Dscsi.c366 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) { in vhost_scsi_release_cmd()

Completed in 81 milliseconds

12