/Linux-v4.19/include/target/ |
D | target_core_fabric.h | 56 int (*check_stop_free)(struct se_cmd *); 57 void (*release_cmd)(struct se_cmd *); 66 int (*write_pending)(struct se_cmd *); 67 int (*write_pending_status)(struct se_cmd *); 69 int (*get_cmd_state)(struct se_cmd *); 70 int (*queue_data_in)(struct se_cmd *); 71 int (*queue_status)(struct se_cmd *); 72 void (*queue_tm_rsp)(struct se_cmd *); 73 void (*aborted_task)(struct se_cmd *); 134 void transport_init_se_cmd(struct se_cmd *, [all …]
|
D | target_core_backend.h | 41 sense_reason_t (*parse_cdb)(struct se_cmd *cmd); 49 unsigned char *(*get_sense_buffer)(struct se_cmd *); 60 sense_reason_t (*execute_rw)(struct se_cmd *cmd, struct scatterlist *, 62 sense_reason_t (*execute_sync_cache)(struct se_cmd *cmd); 63 sense_reason_t (*execute_write_same)(struct se_cmd *cmd); 64 sense_reason_t (*execute_unmap)(struct se_cmd *cmd, 71 void target_complete_cmd(struct se_cmd *, u8); 72 void target_complete_cmd_with_length(struct se_cmd *, u8, int); 74 void transport_copy_sense_to_cmd(struct se_cmd *, unsigned char *); 76 sense_reason_t spc_parse_cdb(struct se_cmd *cmd, unsigned int *size); [all …]
|
/Linux-v4.19/drivers/target/ |
D | target_core_xcopy.c | 114 static int target_xcopy_parse_tiddesc_e4(struct se_cmd *se_cmd, struct xcopy_op *xop, in target_xcopy_parse_tiddesc_e4() argument 174 xop->src_dev = se_cmd->se_dev; in target_xcopy_parse_tiddesc_e4() 191 xop->dst_dev = se_cmd->se_dev; in target_xcopy_parse_tiddesc_e4() 200 static int target_xcopy_parse_target_descriptors(struct se_cmd *se_cmd, in target_xcopy_parse_target_descriptors() argument 204 struct se_device *local_dev = se_cmd->se_dev; in target_xcopy_parse_target_descriptors() 240 rc = target_xcopy_parse_tiddesc_e4(se_cmd, xop, in target_xcopy_parse_target_descriptors() 293 static int target_xcopy_parse_segdesc_02(struct se_cmd *se_cmd, struct xcopy_op *xop, in target_xcopy_parse_segdesc_02() argument 335 static int target_xcopy_parse_segment_descriptors(struct se_cmd *se_cmd, in target_xcopy_parse_segment_descriptors() argument 365 rc = target_xcopy_parse_segdesc_02(se_cmd, xop, desc); in target_xcopy_parse_segment_descriptors() 393 struct se_cmd se_cmd; member [all …]
|
D | target_core_tmr.c | 40 struct se_cmd *se_cmd, in core_tmr_alloc_req() argument 53 se_cmd->se_cmd_flags |= SCF_SCSI_TMR_CDB; in core_tmr_alloc_req() 54 se_cmd->se_tmr_req = tmr; in core_tmr_alloc_req() 55 tmr->task_cmd = se_cmd; in core_tmr_alloc_req() 79 struct se_cmd *cmd) in target_check_cdb_and_preempt() 93 static bool __target_check_io_state(struct se_cmd *se_cmd, in __target_check_io_state() argument 96 struct se_session *sess = se_cmd->se_sess; in __target_check_io_state() 110 spin_lock(&se_cmd->t_state_lock); in __target_check_io_state() 111 if (se_cmd->transport_state & (CMD_T_COMPLETE | CMD_T_FABRIC_STOP)) { in __target_check_io_state() 113 " fabric stop, skipping\n", se_cmd->tag); in __target_check_io_state() [all …]
|
D | target_core_transport.c | 66 static void transport_complete_task_attr(struct se_cmd *cmd); 67 static void translate_sense_reason(struct se_cmd *cmd, sense_reason_t reason); 68 static void transport_handle_queue_full(struct se_cmd *cmd, 626 static void target_remove_from_state_list(struct se_cmd *cmd) in target_remove_from_state_list() 649 static int transport_cmd_check_stop_to_fabric(struct se_cmd *cmd) in transport_cmd_check_stop_to_fabric() 687 static void transport_lun_remove_cmd(struct se_cmd *cmd) in transport_lun_remove_cmd() 698 int transport_cmd_finish_abort(struct se_cmd *cmd) in transport_cmd_finish_abort() 726 struct se_cmd *cmd = container_of(work, struct se_cmd, work); in target_complete_failure_work() 736 static unsigned char *transport_get_sense_buffer(struct se_cmd *cmd) in transport_get_sense_buffer() 755 void transport_copy_sense_to_cmd(struct se_cmd *cmd, unsigned char *sense) in transport_copy_sense_to_cmd() [all …]
|
D | target_core_device.c | 61 transport_lookup_cmd_lun(struct se_cmd *se_cmd, u64 unpacked_lun) in transport_lookup_cmd_lun() argument 64 struct se_session *se_sess = se_cmd->se_sess; in transport_lookup_cmd_lun() 74 if (se_cmd->data_direction == DMA_TO_DEVICE) in transport_lookup_cmd_lun() 75 atomic_long_add(se_cmd->data_length, in transport_lookup_cmd_lun() 77 else if (se_cmd->data_direction == DMA_FROM_DEVICE) in transport_lookup_cmd_lun() 78 atomic_long_add(se_cmd->data_length, in transport_lookup_cmd_lun() 88 se_cmd->se_lun = rcu_dereference(deve->se_lun); in transport_lookup_cmd_lun() 89 se_cmd->pr_res_key = deve->pr_res_key; in transport_lookup_cmd_lun() 90 se_cmd->orig_fe_lun = unpacked_lun; in transport_lookup_cmd_lun() 91 se_cmd->se_cmd_flags |= SCF_SE_LUN_CMD; in transport_lookup_cmd_lun() [all …]
|
D | target_core_pr.h | 61 extern sense_reason_t target_scsi2_reservation_release(struct se_cmd *); 62 extern sense_reason_t target_scsi2_reservation_reserve(struct se_cmd *); 75 extern sense_reason_t target_scsi3_emulate_pr_in(struct se_cmd *); 76 extern sense_reason_t target_scsi3_emulate_pr_out(struct se_cmd *); 77 extern sense_reason_t target_check_reservation(struct se_cmd *);
|
D | target_core_user.c | 180 struct se_cmd *se_cmd; member 560 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in tcmu_cmd_get_data_length() local 561 size_t data_length = round_up(se_cmd->data_length, DATA_BLOCK_SIZE); in tcmu_cmd_get_data_length() 563 if (se_cmd->se_cmd_flags & SCF_BIDI) { in tcmu_cmd_get_data_length() 564 BUG_ON(!(se_cmd->t_bidi_data_sg && se_cmd->t_bidi_data_nents)); in tcmu_cmd_get_data_length() 565 data_length += round_up(se_cmd->t_bidi_data_sg->length, in tcmu_cmd_get_data_length() 579 static struct tcmu_cmd *tcmu_alloc_cmd(struct se_cmd *se_cmd) in tcmu_alloc_cmd() argument 581 struct se_device *se_dev = se_cmd->se_dev; in tcmu_alloc_cmd() 590 tcmu_cmd->se_cmd = se_cmd; in tcmu_alloc_cmd() 750 struct se_cmd *se_cmd = cmd->se_cmd; in gather_data_area() local [all …]
|
D | target_core_alua.h | 85 extern sense_reason_t target_emulate_report_target_port_groups(struct se_cmd *); 86 extern sense_reason_t target_emulate_set_target_port_groups(struct se_cmd *); 87 extern sense_reason_t target_emulate_report_referrals(struct se_cmd *); 88 extern int core_alua_check_nonop_delay(struct se_cmd *); 149 extern sense_reason_t target_alua_state_check(struct se_cmd *cmd);
|
D | target_core_spc.c | 64 spc_emulate_inquiry_std(struct se_cmd *cmd, unsigned char *buf) in spc_emulate_inquiry_std() 125 spc_emulate_evpd_80(struct se_cmd *cmd, unsigned char *buf) in spc_emulate_evpd_80() 174 spc_emulate_evpd_83(struct se_cmd *cmd, unsigned char *buf) in spc_emulate_evpd_83() 441 spc_emulate_evpd_86(struct se_cmd *cmd, unsigned char *buf) in spc_emulate_evpd_86() 483 spc_emulate_evpd_b0(struct se_cmd *cmd, unsigned char *buf) in spc_emulate_evpd_b0() 577 spc_emulate_evpd_b1(struct se_cmd *cmd, unsigned char *buf) in spc_emulate_evpd_b1() 590 spc_emulate_evpd_b2(struct se_cmd *cmd, unsigned char *buf) in spc_emulate_evpd_b2() 654 spc_emulate_evpd_b3(struct se_cmd *cmd, unsigned char *buf) in spc_emulate_evpd_b3() 667 spc_emulate_evpd_00(struct se_cmd *cmd, unsigned char *buf); 671 sense_reason_t (*emulate)(struct se_cmd *, unsigned char *); [all …]
|
D | target_core_internal.h | 116 struct list_head *, struct se_cmd *); 141 int transport_cmd_finish_abort(struct se_cmd *); 142 unsigned char *transport_dump_cmd_direction(struct se_cmd *); 151 void transport_send_task_abort(struct se_cmd *); 152 sense_reason_t target_cmd_size_check(struct se_cmd *cmd, unsigned int size); 156 void __target_execute_cmd(struct se_cmd *, bool);
|
/Linux-v4.19/drivers/target/tcm_fc/ |
D | tfc_cmd.c | 48 struct se_cmd *se_cmd; in _ft_dump_cmd() local 52 se_cmd = &cmd->se_cmd; in _ft_dump_cmd() 54 caller, cmd, cmd->sess, cmd->seq, se_cmd); in _ft_dump_cmd() 57 caller, cmd, se_cmd->t_data_nents, in _ft_dump_cmd() 58 se_cmd->data_length, se_cmd->se_cmd_flags); in _ft_dump_cmd() 60 for_each_sg(se_cmd->t_data_sg, sg, se_cmd->t_data_nents, count) in _ft_dump_cmd() 94 target_free_tag(sess->se_sess, &cmd->se_cmd); in ft_free_cmd() 98 void ft_release_cmd(struct se_cmd *se_cmd) in ft_release_cmd() argument 100 struct ft_cmd *cmd = container_of(se_cmd, struct ft_cmd, se_cmd); in ft_release_cmd() 105 int ft_check_stop_free(struct se_cmd *se_cmd) in ft_check_stop_free() argument [all …]
|
D | tfc_io.c | 54 int ft_queue_data_in(struct se_cmd *se_cmd) in ft_queue_data_in() argument 56 struct ft_cmd *cmd = container_of(se_cmd, struct ft_cmd, se_cmd); in ft_queue_data_in() 80 if (se_cmd->scsi_status == SAM_STAT_TASK_SET_FULL) in ft_queue_data_in() 87 remaining = se_cmd->data_length; in ft_queue_data_in() 92 BUG_ON(remaining && !se_cmd->t_data_sg); in ft_queue_data_in() 94 sg = se_cmd->t_data_sg; in ft_queue_data_in() 191 se_cmd->scsi_status = SAM_STAT_TASK_SET_FULL; in ft_queue_data_in() 196 return ft_queue_status(se_cmd); in ft_queue_data_in() 203 target_execute_cmd(&cmd->se_cmd); in ft_execute_work() 211 struct se_cmd *se_cmd = &cmd->se_cmd; in ft_recv_write_data() local [all …]
|
D | tcm_fc.h | 121 struct se_cmd se_cmd; /* Local TCM I/O descriptor */ member 156 int ft_check_stop_free(struct se_cmd *); 157 void ft_release_cmd(struct se_cmd *); 158 int ft_queue_status(struct se_cmd *); 159 int ft_queue_data_in(struct se_cmd *); 160 int ft_write_pending(struct se_cmd *); 161 int ft_write_pending_status(struct se_cmd *); 162 int ft_get_cmd_state(struct se_cmd *); 163 void ft_queue_tm_resp(struct se_cmd *); 164 void ft_aborted_task(struct se_cmd *);
|
/Linux-v4.19/drivers/scsi/qla2xxx/ |
D | tcm_qla2xxx.c | 263 transport_generic_free_cmd(&mcmd->se_cmd, 0); in tcm_qla2xxx_complete_mcmd() 287 transport_generic_free_cmd(&cmd->se_cmd, 0); in tcm_qla2xxx_complete_free() 310 static int tcm_qla2xxx_check_stop_free(struct se_cmd *se_cmd) in tcm_qla2xxx_check_stop_free() argument 314 if ((se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) == 0) { in tcm_qla2xxx_check_stop_free() 315 cmd = container_of(se_cmd, struct qla_tgt_cmd, se_cmd); in tcm_qla2xxx_check_stop_free() 319 return target_put_sess_cmd(se_cmd); in tcm_qla2xxx_check_stop_free() 325 static void tcm_qla2xxx_release_cmd(struct se_cmd *se_cmd) in tcm_qla2xxx_release_cmd() argument 329 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) { in tcm_qla2xxx_release_cmd() 330 struct qla_tgt_mgmt_cmd *mcmd = container_of(se_cmd, in tcm_qla2xxx_release_cmd() 331 struct qla_tgt_mgmt_cmd, se_cmd); in tcm_qla2xxx_release_cmd() [all …]
|
/Linux-v4.19/drivers/target/loopback/ |
D | tcm_loop.c | 47 static int tcm_loop_queue_status(struct se_cmd *se_cmd); 52 static int tcm_loop_check_stop_free(struct se_cmd *se_cmd) in tcm_loop_check_stop_free() argument 54 return transport_generic_free_cmd(se_cmd, 0); in tcm_loop_check_stop_free() 57 static void tcm_loop_release_cmd(struct se_cmd *se_cmd) in tcm_loop_release_cmd() argument 59 struct tcm_loop_cmd *tl_cmd = container_of(se_cmd, in tcm_loop_release_cmd() 100 struct se_cmd *se_cmd = &tl_cmd->tl_se_cmd; in tcm_loop_submission_work() local 136 se_cmd->se_cmd_flags |= SCF_BIDI; in tcm_loop_submission_work() 143 se_cmd->prot_pto = true; in tcm_loop_submission_work() 152 se_cmd->tag = tl_cmd->sc_cmd_tag; in tcm_loop_submission_work() 153 rc = target_submit_cmd_map_sgls(se_cmd, tl_nexus->se_sess, sc->cmnd, in tcm_loop_submission_work() [all …]
|
/Linux-v4.19/drivers/usb/gadget/function/ |
D | f_tcm.c | 64 transport_generic_free_cmd(&cmd->se_cmd, 0); in bot_status_complete() 152 if (cmd->se_cmd.scsi_status == SAM_STAT_GOOD) { in bot_send_status() 205 struct se_cmd *se_cmd = &cmd->se_cmd; in bot_send_read_response() local 216 cmd->data_buf = kmalloc(se_cmd->data_length, GFP_ATOMIC); in bot_send_read_response() 220 sg_copy_to_buffer(se_cmd->t_data_sg, in bot_send_read_response() 221 se_cmd->t_data_nents, in bot_send_read_response() 223 se_cmd->data_length); in bot_send_read_response() 228 fu->bot_req_in->num_sgs = se_cmd->t_data_nents; in bot_send_read_response() 229 fu->bot_req_in->sg = se_cmd->t_data_sg; in bot_send_read_response() 233 fu->bot_req_in->length = se_cmd->data_length; in bot_send_read_response() [all …]
|
/Linux-v4.19/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 65 isert_prot_cmd(struct isert_conn *conn, struct se_cmd *cmd) in isert_prot_cmd() 1146 data_len = cmd->se_cmd.data_length; in isert_handle_scsi_cmd() 1149 cmd->se_cmd.se_cmd_flags |= SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC; in isert_handle_scsi_cmd() 1163 sg_copy_from_buffer(cmd->se_cmd.t_data_sg, sg_nents, in isert_handle_scsi_cmd() 1169 cmd->se_cmd.t_data_sg = &isert_cmd->sg; in isert_handle_scsi_cmd() 1170 cmd->se_cmd.t_data_nents = 1; in isert_handle_scsi_cmd() 1178 if (cmd->write_data_done == cmd->se_cmd.data_length) { in isert_handle_scsi_cmd() 1191 target_put_sess_cmd(&cmd->se_cmd); in isert_handle_scsi_cmd() 1224 cmd->se_cmd.data_length); in isert_handle_iscsi_dataout() 1227 sg_start = &cmd->se_cmd.t_data_sg[sg_off]; in isert_handle_iscsi_dataout() [all …]
|
/Linux-v4.19/drivers/target/iscsi/ |
D | iscsi_target_tmr.c | 45 struct se_tmr_req *se_tmr = cmd->se_cmd.se_tmr_req; in iscsit_tmr_abort_task() 121 struct se_tmr_req *se_tmr = cmd->se_cmd.se_tmr_req; in iscsit_tmr_task_reassign() 165 if (ref_lun != ref_cmd->se_cmd.orig_fe_lun) { in iscsit_tmr_task_reassign() 168 ref_lun, ref_cmd->se_cmd.orig_fe_lun); in iscsit_tmr_task_reassign() 241 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_task_reassign_complete_write() local 260 if (!(cmd->se_cmd.transport_state & CMD_T_SENT)) { in iscsit_task_reassign_complete_write() 263 cmd->init_task_tag, cmd->se_cmd.t_state); in iscsit_task_reassign_complete_write() 264 target_execute_cmd(se_cmd); in iscsit_task_reassign_complete_write() 283 cmd->se_cmd.data_length) { in iscsit_task_reassign_complete_write() 285 length = (cmd->se_cmd.data_length - offset); in iscsit_task_reassign_complete_write() [all …]
|
D | iscsi_target_configfs.c | 1351 static int iscsi_get_cmd_state(struct se_cmd *se_cmd) in iscsi_get_cmd_state() argument 1353 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in iscsi_get_cmd_state() 1377 static int lio_queue_data_in(struct se_cmd *se_cmd) in lio_queue_data_in() argument 1379 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_queue_data_in() 1386 static int lio_write_pending(struct se_cmd *se_cmd) in lio_write_pending() argument 1388 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_write_pending() 1397 static int lio_write_pending_status(struct se_cmd *se_cmd) in lio_write_pending_status() argument 1399 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_write_pending_status() 1409 static int lio_queue_status(struct se_cmd *se_cmd) in lio_queue_status() argument 1411 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_queue_status() [all …]
|
D | iscsi_target_seq_pdu_list.c | 221 if (cmd->se_cmd.data_direction == DMA_TO_DEVICE) in iscsit_determine_counts_for_list() 232 unsolicited_data_length = min(cmd->se_cmd.data_length, in iscsit_determine_counts_for_list() 235 while (offset < cmd->se_cmd.data_length) { in iscsit_determine_counts_for_list() 248 if ((offset + mdsl) >= cmd->se_cmd.data_length) { in iscsit_determine_counts_for_list() 250 (cmd->se_cmd.data_length - offset); in iscsit_determine_counts_for_list() 251 offset += (cmd->se_cmd.data_length - offset); in iscsit_determine_counts_for_list() 270 if ((offset + mdsl) >= cmd->se_cmd.data_length) { in iscsit_determine_counts_for_list() 271 offset += (cmd->se_cmd.data_length - offset); in iscsit_determine_counts_for_list() 304 if (cmd->se_cmd.data_direction == DMA_TO_DEVICE) in iscsit_do_build_pdu_and_seq_lists() 318 unsolicited_data_length = min(cmd->se_cmd.data_length, in iscsit_do_build_pdu_and_seq_lists() [all …]
|
/Linux-v4.19/drivers/xen/ |
D | xen-scsiback.c | 136 struct se_cmd se_cmd; member 379 resid = pending_req->se_cmd.residual_count; in scsiback_cmd_done() 393 target_put_sess_cmd(&pending_req->se_cmd); in scsiback_cmd_done() 398 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_cmd_exec() local 403 se_cmd->tag = pending_req->rqid; in scsiback_cmd_exec() 404 rc = target_submit_cmd_map_sgls(se_cmd, sess, pending_req->cmnd, in scsiback_cmd_exec() 411 transport_send_check_condition_and_sense(se_cmd, in scsiback_cmd_exec() 413 transport_generic_free_cmd(se_cmd, 0); in scsiback_cmd_exec() 598 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_device_action() local 604 rc = target_submit_tmr(&pending_req->se_cmd, nexus->tvn_se_sess, in scsiback_device_action() [all …]
|
/Linux-v4.19/drivers/target/sbp/ |
D | sbp_target.c | 936 req->se_cmd.map_tag = tag; in sbp_mgt_get_req() 937 req->se_cmd.map_cpu = cpu; in sbp_mgt_get_req() 938 req->se_cmd.tag = next_orb; in sbp_mgt_get_req() 1233 req->se_cmd.tag = req->orb_pointer; in sbp_handle_command() 1234 if (target_submit_cmd(&req->se_cmd, sess->se_sess, req->cmd_buf, in sbp_handle_command() 1265 if (req->se_cmd.data_direction == DMA_FROM_DEVICE) { in sbp_rw_data() 1299 length = req->se_cmd.data_length; in sbp_rw_data() 1302 sg_miter_start(&iter, req->se_cmd.t_data_sg, req->se_cmd.t_data_nents, in sbp_rw_data() 1367 target_put_sess_cmd(&req->se_cmd); in sbp_send_status() 1373 struct se_cmd *se_cmd = &req->se_cmd; in sbp_sense_mangle() local [all …]
|
/Linux-v4.19/drivers/scsi/ibmvscsi_tgt/ |
D | ibmvscsi_tgt.c | 66 static void ibmvscsis_determine_resid(struct se_cmd *se_cmd, in ibmvscsis_determine_resid() argument 69 u32 residual_count = se_cmd->residual_count; in ibmvscsis_determine_resid() 74 if (se_cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) { in ibmvscsis_determine_resid() 75 if (se_cmd->data_direction == DMA_TO_DEVICE) { in ibmvscsis_determine_resid() 79 } else if (se_cmd->data_direction == DMA_FROM_DEVICE) { in ibmvscsis_determine_resid() 84 } else if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) { in ibmvscsis_determine_resid() 85 if (se_cmd->data_direction == DMA_TO_DEVICE) { in ibmvscsis_determine_resid() 89 } else if (se_cmd->data_direction == DMA_FROM_DEVICE) { in ibmvscsis_determine_resid() 1298 memset(&cmd->se_cmd, 0, sizeof(cmd->se_cmd)); in ibmvscsis_get_free_cmd() 1917 if (cmd->se_cmd.transport_state & CMD_T_ABORTED && in ibmvscsis_send_messages() [all …]
|
/Linux-v4.19/drivers/vhost/ |
D | scsi.c | 98 struct se_cmd tvc_se_cmd; 309 static void vhost_scsi_release_cmd(struct se_cmd *se_cmd) in vhost_scsi_release_cmd() argument 311 struct vhost_scsi_cmd *tv_cmd = container_of(se_cmd, in vhost_scsi_release_cmd() 326 target_free_tag(se_sess, se_cmd); in vhost_scsi_release_cmd() 334 static int vhost_scsi_write_pending(struct se_cmd *se_cmd) in vhost_scsi_write_pending() argument 337 target_execute_cmd(se_cmd); in vhost_scsi_write_pending() 341 static int vhost_scsi_write_pending_status(struct se_cmd *se_cmd) in vhost_scsi_write_pending_status() argument 351 static int vhost_scsi_get_cmd_state(struct se_cmd *se_cmd) in vhost_scsi_get_cmd_state() argument 365 static int vhost_scsi_queue_data_in(struct se_cmd *se_cmd) in vhost_scsi_queue_data_in() argument 367 struct vhost_scsi_cmd *cmd = container_of(se_cmd, in vhost_scsi_queue_data_in() [all …]
|