/drivers/target/iscsi/ |
H A D | iscsi_target_tmr.c | 45 struct se_tmr_req *se_tmr = cmd->se_cmd.se_tmr_req; 121 struct se_tmr_req *se_tmr = cmd->se_cmd.se_tmr_req; 165 if (ref_lun != ref_cmd->se_cmd.orig_fe_lun) { 168 ref_lun, ref_cmd->se_cmd.orig_fe_lun); 241 struct se_cmd *se_cmd = &cmd->se_cmd; local 260 if (!(cmd->se_cmd.transport_state & CMD_T_SENT)) { 263 cmd->init_task_tag, cmd->se_cmd.t_state); 264 target_execute_cmd(se_cmd); 312 struct se_cmd *se_cmd = &cmd->se_cmd; local [all...] |
H A D | iscsi_target_erl1.c | 413 struct se_cmd *se_cmd = &cmd->se_cmd; local 415 if (!(se_cmd->transport_state & CMD_T_COMPLETE)) { 924 struct se_cmd *se_cmd = &cmd->se_cmd; local 954 if (transport_check_aborted_status(se_cmd, 961 return transport_send_check_condition_and_sense(se_cmd, 971 target_execute_cmd(&cmd->se_cmd); [all...] |
H A D | iscsi_target_util.c | 169 cmd->se_cmd.map_tag = tag; 333 struct se_cmd *se_cmd = &cmd->se_cmd; local 340 transport_send_check_condition_and_sense(se_cmd, 351 transport_send_check_condition_and_sense(se_cmd, 359 if (((cmd->first_burst_len + payload_length) != cmd->se_cmd.data_length) && 366 conn->sess->sess_ops->FirstBurstLength, cmd->se_cmd.data_length); 367 transport_send_check_condition_and_sense(se_cmd, 690 struct se_cmd *se_cm local 732 struct se_cmd *se_cmd = NULL; local [all...] |
H A D | iscsi_target.c | 711 * Perform the kref_put now if se_cmd has already been setup by 714 if (cmd->se_cmd.se_tfo != NULL) { 716 target_put_sess_cmd(conn->sess->se_sess, &cmd->se_cmd); 749 sg = &cmd->se_cmd.t_data_sg[data_offset / PAGE_SIZE]; 815 u32 iov_count = max(1UL, DIV_ROUND_UP(cmd->se_cmd.data_length, PAGE_SIZE)); 994 * Initialize struct se_cmd descriptor from target_core_mod infrastructure 996 transport_init_se_cmd(&cmd->se_cmd, &lio_target_fabric_configfs->tf_ops, 1006 target_get_sess_cmd(conn->sess->se_sess, &cmd->se_cmd, true); 1008 cmd->sense_reason = transport_lookup_cmd_lun(&cmd->se_cmd, 1013 cmd->sense_reason = target_setup_cmd_from_cdb(&cmd->se_cmd, hd 1272 struct se_cmd *se_cmd; local [all...] |
H A D | iscsi_target_configfs.c | 1730 static u32 iscsi_get_task_tag(struct se_cmd *se_cmd) argument 1732 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); 1738 static int iscsi_get_cmd_state(struct se_cmd *se_cmd) argument 1740 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); 1766 static int lio_queue_data_in(struct se_cmd *se_cmd) argument 1776 lio_write_pending(struct se_cmd *se_cmd) argument 1787 lio_write_pending_status(struct se_cmd *se_cmd) argument 1799 lio_queue_status(struct se_cmd *se_cmd) argument 1814 lio_queue_tm_rsp(struct se_cmd *se_cmd) argument 1822 lio_aborted_task(struct se_cmd *se_cmd) argument 1948 lio_check_stop_free(struct se_cmd *se_cmd) argument 1953 lio_release_cmd(struct se_cmd *se_cmd) argument [all...] |
/drivers/target/ |
H A D | target_core_tmr.c | 43 struct se_cmd *se_cmd, 56 se_cmd->se_cmd_flags |= SCF_SCSI_TMR_CDB; 57 se_cmd->se_tmr_req = tmr; 58 tmr->task_cmd = se_cmd; 83 struct se_cmd *cmd, 99 struct se_cmd *cmd) 118 struct se_cmd *se_cmd; local 123 list_for_each_entry(se_cmd, 42 core_tmr_alloc_req( struct se_cmd *se_cmd, void *fabric_tmr_ptr, u8 function, gfp_t gfp_flags) argument [all...] |
H A D | target_core_device.c | 58 transport_lookup_cmd_lun(struct se_cmd *se_cmd, u32 unpacked_lun) argument 61 struct se_session *se_sess = se_cmd->se_sess; 69 se_cmd->se_deve = se_sess->se_node_acl->device_list[unpacked_lun]; 70 if (se_cmd->se_deve->lun_flags & TRANSPORT_LUNFLAGS_INITIATOR_ACCESS) { 71 struct se_dev_entry *deve = se_cmd->se_deve; 75 if ((se_cmd->data_direction == DMA_TO_DEVICE) && 79 se_cmd->se_tfo->get_fabric_name(), 85 if (se_cmd->data_direction == DMA_TO_DEVICE) 86 deve->write_bytes += se_cmd 144 transport_lookup_tmr_lun(struct se_cmd *se_cmd, u32 unpacked_lun) argument [all...] |
H A D | target_core_xcopy.c | 65 static int target_xcopy_locate_se_dev_e4(struct se_cmd *se_cmd, struct xcopy_op *xop, argument 123 static int target_xcopy_parse_tiddesc_e4(struct se_cmd *se_cmd, struct xcopy_op *xop, argument 177 xop->src_dev = se_cmd->se_dev; 189 xop->dst_dev = se_cmd->se_dev; 198 static int target_xcopy_parse_target_descriptors(struct se_cmd *se_cmd, argument 202 struct se_device *local_dev = se_cmd->se_dev; 232 rc = target_xcopy_parse_tiddesc_e4(se_cmd, xo 273 target_xcopy_parse_segdesc_02(struct se_cmd *se_cmd, struct xcopy_op *xop, unsigned char *p) argument 309 target_xcopy_parse_segment_descriptors(struct se_cmd *se_cmd, struct xcopy_op *xop, unsigned char *p, unsigned int sdll) argument 356 struct se_cmd se_cmd; member in struct:xcopy_pt_cmd 372 xcopy_pt_get_tag(struct se_cmd *se_cmd) argument 377 xcopy_pt_get_cmd_state(struct se_cmd *se_cmd) argument 399 xcopy_pt_release_cmd(struct se_cmd *se_cmd) argument 407 xcopy_pt_check_stop_free(struct se_cmd *se_cmd) argument 416 xcopy_pt_write_pending(struct se_cmd *se_cmd) argument 421 xcopy_pt_write_pending_status(struct se_cmd *se_cmd) argument 426 xcopy_pt_queue_data_in(struct se_cmd *se_cmd) argument 431 xcopy_pt_queue_status(struct se_cmd *se_cmd) argument 647 struct se_cmd *se_cmd = &xpt_cmd->se_cmd; local 673 struct se_cmd *se_cmd; local 733 struct se_cmd *se_cmd; local 869 target_do_xcopy(struct se_cmd *se_cmd) argument 963 target_rcr_operating_parameters(struct se_cmd *se_cmd) argument 1053 target_do_receive_copy_results(struct se_cmd *se_cmd) argument [all...] |
H A D | target_core_user.c | 123 struct se_cmd *se_cmd; member in struct:tcmu_cmd 128 /* Can't use se_cmd->data_length when cleaning up expired cmds, because if 129 cmd has been completed then accessing se_cmd is off limits */ 160 static struct tcmu_cmd *tcmu_alloc_cmd(struct se_cmd *se_cmd) argument 162 struct se_device *se_dev = se_cmd->se_dev; 171 tcmu_cmd->se_cmd = se_cmd; 173 tcmu_cmd->data_length = se_cmd 279 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; local 427 tcmu_queue_cmd(struct se_cmd *se_cmd) argument 453 struct se_cmd *se_cmd = cmd->se_cmd; local 1018 tcmu_execute_rw(struct se_cmd *se_cmd, struct scatterlist *sgl, u32 sgl_nents, enum dma_data_direction data_direction) argument 1032 tcmu_pass_op(struct se_cmd *se_cmd) argument [all...] |
H A D | target_core_transport.c | 68 static void transport_complete_task_attr(struct se_cmd *cmd); 69 static void transport_handle_queue_full(struct se_cmd *cmd, 71 static int transport_put_cmd(struct se_cmd *cmd); 521 static void target_remove_from_state_list(struct se_cmd *cmd) 540 static int transport_cmd_check_stop(struct se_cmd *cmd, bool remove_from_lists, 553 * Clear struct se_cmd->se_lun before the handoff to FE. 578 * struct se_cmd now. 581 * se_cmd being passed is released at this point, 594 static int transport_cmd_check_stop_to_fabric(struct se_cmd *cmd) 599 static void transport_lun_remove_cmd(struct se_cmd *cm 1352 target_submit_cmd_map_sgls(struct se_cmd *se_cmd, struct se_session *se_sess, unsigned char *cdb, unsigned char *sense, u32 unpacked_lun, u32 data_length, int task_attr, int data_dir, int flags, struct scatterlist *sgl, u32 sgl_count, struct scatterlist *sgl_bidi, u32 sgl_bidi_count, struct scatterlist *sgl_prot, u32 sgl_prot_count) argument 1485 target_submit_cmd(struct se_cmd *se_cmd, struct se_session *se_sess, unsigned char *cdb, unsigned char *sense, u32 unpacked_lun, u32 data_length, int task_attr, int data_dir, int flags) argument 1497 struct se_cmd *se_cmd = container_of(work, struct se_cmd, work); local 1522 target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess, unsigned char *sense, u32 unpacked_lun, void *fabric_tmr_ptr, unsigned char tm_type, gfp_t gfp, unsigned int tag, int flags) argument 2368 target_get_sess_cmd(struct se_session *se_sess, struct se_cmd *se_cmd, bool ack_kref) argument 2398 struct se_cmd *se_cmd = container_of(kref, struct se_cmd, cmd_kref); local 2421 target_put_sess_cmd(struct se_session *se_sess, struct se_cmd *se_cmd) argument 2439 struct se_cmd *se_cmd; local 2462 struct se_cmd *se_cmd, *tmp_cmd; local [all...] |
/drivers/target/tcm_fc/ |
H A D | tfc_io.c | 60 int ft_queue_data_in(struct se_cmd *se_cmd) argument 62 struct ft_cmd *cmd = container_of(se_cmd, struct ft_cmd, se_cmd); 86 if (se_cmd->scsi_status == SAM_STAT_TASK_SET_FULL) 93 remaining = se_cmd->data_length; 98 BUG_ON(remaining && !se_cmd->t_data_sg); 100 sg = se_cmd->t_data_sg; 197 se_cmd->scsi_status = SAM_STAT_TASK_SET_FULL; 202 return ft_queue_status(se_cmd); 217 struct se_cmd *se_cmd = &cmd->se_cmd; local [all...] |
H A D | tcm_fc.h | 118 struct se_cmd se_cmd; /* Local TCM I/O descriptor */ member in struct:ft_cmd 155 int ft_check_stop_free(struct se_cmd *); 156 void ft_release_cmd(struct se_cmd *); 157 int ft_queue_status(struct se_cmd *); 158 int ft_queue_data_in(struct se_cmd *); 159 int ft_write_pending(struct se_cmd *); 160 int ft_write_pending_status(struct se_cmd *); 161 u32 ft_get_task_tag(struct se_cmd *); 162 int ft_get_cmd_state(struct se_cmd *); [all...] |
H A D | tfc_cmd.c | 55 struct se_cmd *se_cmd; local 59 se_cmd = &cmd->se_cmd; 60 pr_debug("%s: cmd %p sess %p seq %p se_cmd %p\n", 61 caller, cmd, cmd->sess, cmd->seq, se_cmd); 64 caller, cmd, se_cmd->t_data_nents, 65 se_cmd->data_length, se_cmd->se_cmd_flags); 67 for_each_sg(se_cmd 107 ft_release_cmd(struct se_cmd *se_cmd) argument 114 ft_check_stop_free(struct se_cmd *se_cmd) argument 123 ft_queue_status(struct se_cmd *se_cmd) argument 191 ft_write_pending_status(struct se_cmd *se_cmd) argument 201 ft_write_pending(struct se_cmd *se_cmd) argument 250 ft_get_task_tag(struct se_cmd *se_cmd) argument 259 ft_get_cmd_state(struct se_cmd *se_cmd) argument 413 ft_queue_tm_resp(struct se_cmd *se_cmd) argument 442 ft_aborted_task(struct se_cmd *se_cmd) argument [all...] |
/drivers/usb/gadget/legacy/ |
H A D | tcm_usb_gadget.h | 80 struct se_cmd se_cmd; member in struct:usbg_cmd
|
H A D | tcm_usb_gadget.c | 163 if (cmd->se_cmd.scsi_status == SAM_STAT_GOOD) { 216 struct se_cmd *se_cmd = &cmd->se_cmd; local 227 cmd->data_buf = kmalloc(se_cmd->data_length, GFP_ATOMIC); 231 sg_copy_to_buffer(se_cmd->t_data_sg, 232 se_cmd->t_data_nents, 234 se_cmd->data_length); 239 fu->bot_req_in->num_sgs = se_cmd->t_data_nents; 240 fu->bot_req_in->sg = se_cmd 258 struct se_cmd *se_cmd = &cmd->se_cmd; local 525 struct se_cmd *se_cmd = &cmd->se_cmd; local 557 struct se_cmd *se_cmd = &cmd->se_cmd; local 687 struct se_cmd *se_cmd = &cmd->se_cmd; local 967 struct se_cmd *se_cmd = &cmd->se_cmd; local 990 struct se_cmd *se_cmd = &cmd->se_cmd; local 1012 usbg_send_status_response(struct se_cmd *se_cmd) argument 1024 usbg_send_write_request(struct se_cmd *se_cmd) argument 1036 usbg_send_read_response(struct se_cmd *se_cmd) argument 1051 struct se_cmd *se_cmd; local 1087 struct se_cmd *se_cmd; local 1167 struct se_cmd *se_cmd; local 1203 struct se_cmd *se_cmd; local 1414 usbg_release_cmd(struct se_cmd *se_cmd) argument 1441 usbg_write_pending_status(struct se_cmd *se_cmd) argument 1451 usbg_get_task_tag(struct se_cmd *se_cmd) argument 1463 usbg_get_cmd_state(struct se_cmd *se_cmd) argument 1468 usbg_queue_tm_rsp(struct se_cmd *se_cmd) argument 1472 usbg_aborted_task(struct se_cmd *se_cmd) argument 1859 usbg_check_stop_free(struct se_cmd *se_cmd) argument [all...] |
/drivers/target/loopback/ |
H A D | tcm_loop.c | 52 static int tcm_loop_queue_status(struct se_cmd *se_cmd); 57 static int tcm_loop_check_stop_free(struct se_cmd *se_cmd) argument 60 * Do not release struct se_cmd's containing a valid TMR 64 if (se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) 67 * Release the struct se_cmd, which will make a callback to release 70 transport_generic_free_cmd(se_cmd, 0); 74 static void tcm_loop_release_cmd(struct se_cmd *se_cmd) argument 169 struct se_cmd *se_cmd = &tl_cmd->tl_se_cmd; local 276 struct se_cmd *se_cmd = NULL; local 821 tcm_loop_get_task_tag(struct se_cmd *se_cmd) argument 829 tcm_loop_get_cmd_state(struct se_cmd *se_cmd) argument 847 tcm_loop_write_pending(struct se_cmd *se_cmd) argument 862 tcm_loop_write_pending_status(struct se_cmd *se_cmd) argument 867 tcm_loop_queue_data_in(struct se_cmd *se_cmd) argument 885 tcm_loop_queue_status(struct se_cmd *se_cmd) argument 913 tcm_loop_queue_tm_rsp(struct se_cmd *se_cmd) argument 925 tcm_loop_aborted_task(struct se_cmd *se_cmd) argument [all...] |
/drivers/target/sbp/ |
H A D | sbp_target.h | 225 struct se_cmd se_cmd; member in struct:sbp_target_request
|
H A D | sbp_target.c | 1238 if (target_submit_cmd(&req->se_cmd, sess->se_sess, req->cmd_buf, 1270 if (req->se_cmd.data_direction == DMA_FROM_DEVICE) { 1304 length = req->se_cmd.data_length; 1307 sg_miter_start(&iter, req->se_cmd.t_data_sg, req->se_cmd.t_data_nents, 1371 struct se_cmd *se_cmd = &req->se_cmd; local 1375 WARN_ON(se_cmd->scsi_sense_length < 18); 1401 status[0] |= se_cmd 1438 struct se_cmd *se_cmd = &req->se_cmd; local 1743 sbp_release_cmd(struct se_cmd *se_cmd) argument 1766 sbp_write_pending(struct se_cmd *se_cmd) argument 1789 sbp_write_pending_status(struct se_cmd *se_cmd) argument 1799 sbp_get_task_tag(struct se_cmd *se_cmd) argument 1808 sbp_get_cmd_state(struct se_cmd *se_cmd) argument 1813 sbp_queue_data_in(struct se_cmd *se_cmd) argument 1837 sbp_queue_status(struct se_cmd *se_cmd) argument 1845 sbp_queue_tm_rsp(struct se_cmd *se_cmd) argument 1849 sbp_aborted_task(struct se_cmd *se_cmd) argument 1854 sbp_check_stop_free(struct se_cmd *se_cmd) argument [all...] |
/drivers/infiniband/ulp/isert/ |
H A D | ib_isert.c | 1209 sg = &cmd->se_cmd.t_data_sg[0]; 1219 if (cmd->write_data_done == cmd->se_cmd.data_length) { 1232 target_put_sess_cmd(conn->sess->se_sess, &cmd->se_cmd); 1263 unsol_data_len, cmd->write_data_done, cmd->se_cmd.data_length); 1266 sg_start = &cmd->se_cmd.t_data_sg[sg_off]; 1639 cmd->se_cmd.t_state == TRANSPORT_WRITE_PENDING) { 1640 struct se_cmd *se_cmd = &cmd->se_cmd; local 1642 target_put_sess_cmd(se_cmd 1713 isert_check_pi_status(struct se_cmd *se_cmd, struct ib_mr *sig_mr) argument 1762 struct se_cmd *se_cmd = &cmd->se_cmd; local 1788 struct se_cmd *se_cmd = &cmd->se_cmd; local 2418 struct se_cmd *se_cmd = &cmd->se_cmd; local 2628 isert_set_dif_domain(struct se_cmd *se_cmd, struct ib_sig_attrs *sig_attrs, struct ib_sig_domain *domain) argument 2649 isert_set_sig_attrs(struct se_cmd *se_cmd, struct ib_sig_attrs *sig_attrs) argument 2684 isert_reg_sig_mr(struct isert_conn *isert_conn, struct se_cmd *se_cmd, struct fast_reg_descriptor *fr_desc, struct ib_sge *data_sge, struct ib_sge *prot_sge, struct ib_sge *sig_sge) argument 2759 struct se_cmd *se_cmd = &cmd->se_cmd; local 2862 struct se_cmd *se_cmd = &cmd->se_cmd; local 2915 struct se_cmd *se_cmd = &cmd->se_cmd; local [all...] |
/drivers/scsi/qla2xxx/ |
H A D | tcm_qla2xxx.c | 375 transport_generic_free_cmd(&mcmd->se_cmd, 0); 398 transport_generic_free_cmd(&cmd->se_cmd, 0); 416 static int tcm_qla2xxx_check_stop_free(struct se_cmd *se_cmd) argument 420 if ((se_cmd->se_cmd_flags & SCF_SCSI_TMR_CDB) == 0) { 421 cmd = container_of(se_cmd, struct qla_tgt_cmd, se_cmd); 425 return target_put_sess_cmd(se_cmd->se_sess, se_cmd); 429 * fabric descriptor @se_cmd comman 431 tcm_qla2xxx_release_cmd(struct se_cmd *se_cmd) argument 481 tcm_qla2xxx_write_pending(struct se_cmd *se_cmd) argument 504 tcm_qla2xxx_write_pending_status(struct se_cmd *se_cmd) argument 529 tcm_qla2xxx_get_task_tag(struct se_cmd *se_cmd) argument 542 tcm_qla2xxx_get_cmd_state(struct se_cmd *se_cmd) argument 554 struct se_cmd *se_cmd = &cmd->se_cmd; local 651 struct se_cmd *se_cmd = &mcmd->se_cmd; local 657 tcm_qla2xxx_queue_data_in(struct se_cmd *se_cmd) argument 684 tcm_qla2xxx_queue_status(struct se_cmd *se_cmd) argument 722 tcm_qla2xxx_queue_tm_rsp(struct se_cmd *se_cmd) argument 756 tcm_qla2xxx_aborted_task(struct se_cmd *se_cmd) argument [all...] |
H A D | qla_target.c | 1185 struct se_cmd *se_cmd; local 1191 list_for_each_entry(se_cmd, &se_sess->sess_cmd_list, se_cmd_list) { 1193 container_of(se_cmd, struct qla_tgt_cmd, se_cmd); 1385 if (mcmd->se_cmd.se_tmr_req->function == TMR_ABORT_TASK) 1396 * -> tcm_qla2xxx_check_stop_free() to release the TMR associated se_cmd 1420 if (cmd->se_cmd.prot_op == TARGET_PROT_NORMAL) { 1431 if ((cmd->se_cmd.prot_op == TARGET_PROT_DIN_INSERT) || 1432 (cmd->se_cmd 1727 struct se_cmd *se_cmd = &cmd->se_cmd; local 1973 qlt_hba_err_chk_enabled(struct se_cmd *se_cmd) argument 2007 qlt_set_t10dif_tags(struct se_cmd *se_cmd, struct crc_context *ctx) argument 2094 struct se_cmd *se_cmd = &cmd->se_cmd; local 3067 struct se_cmd *se_cmd; local 3847 struct se_cmd *se_cmd = &cmd->se_cmd; local 4003 struct se_cmd *se_cmd; local [all...] |
H A D | qla_target.h | 903 struct se_cmd se_cmd; member in struct:qla_tgt_cmd 987 struct se_cmd se_cmd; member in struct:qla_tgt_mgmt_cmd
|
/drivers/xen/ |
H A D | xen-scsiback.c | 141 struct se_cmd se_cmd; member in struct:vscsibk_pend 386 resid = pending_req->se_cmd.residual_count; 399 struct se_cmd *se_cmd = &pending_req->se_cmd; local 405 memset(se_cmd, 0, sizeof(*se_cmd)); 408 rc = target_submit_cmd_map_sgls(se_cmd, sess, pending_req->cmnd, 415 transport_send_check_condition_and_sense(se_cmd, 603 struct se_cmd *se_cmd = &pending_req->se_cmd; local 1475 scsiback_check_stop_free(struct se_cmd *se_cmd) argument 1489 scsiback_release_cmd(struct se_cmd *se_cmd) argument 1511 scsiback_write_pending(struct se_cmd *se_cmd) argument 1519 scsiback_write_pending_status(struct se_cmd *se_cmd) argument 1528 scsiback_get_task_tag(struct se_cmd *se_cmd) argument 1536 scsiback_get_cmd_state(struct se_cmd *se_cmd) argument 1541 scsiback_queue_data_in(struct se_cmd *se_cmd) argument 1551 scsiback_queue_status(struct se_cmd *se_cmd) argument 1568 scsiback_queue_tm_rsp(struct se_cmd *se_cmd) argument 1577 scsiback_aborted_task(struct se_cmd *se_cmd) argument [all...] |
/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.c | 98 static int srpt_queue_status(struct se_cmd *cmd); 1083 struct se_cmd *cmd; 1391 struct se_cmd *cmd; 1476 struct se_cmd *cmd; 1680 static int srpt_check_stop_free(struct se_cmd *cmd) 1695 struct se_cmd *cmd; 1820 struct se_cmd *cmd; 2948 static int srpt_write_pending_status(struct se_cmd *se_cmd) argument 2952 ioctx = container_of(se_cmd, struc 2959 srpt_write_pending(struct se_cmd *se_cmd) argument 3488 srpt_release_cmd(struct se_cmd *se_cmd) argument 3556 srpt_get_task_tag(struct se_cmd *se_cmd) argument 3565 srpt_get_tcm_cmd_state(struct se_cmd *se_cmd) argument [all...] |
/drivers/vhost/ |
H A D | scsi.c | 99 struct se_cmd tvc_se_cmd; 458 static void tcm_vhost_release_cmd(struct se_cmd *se_cmd) argument 460 struct tcm_vhost_cmd *tv_cmd = container_of(se_cmd, 462 struct se_session *se_sess = se_cmd->se_sess; 475 percpu_ida_free(&se_sess->sess_tag_pool, se_cmd->map_tag); 493 static int tcm_vhost_write_pending(struct se_cmd *se_cmd) argument 496 target_execute_cmd(se_cmd); 500 static int tcm_vhost_write_pending_status(struct se_cmd *se_cm argument 510 tcm_vhost_get_task_tag(struct se_cmd *se_cmd) argument 515 tcm_vhost_get_cmd_state(struct se_cmd *se_cmd) argument 529 tcm_vhost_queue_data_in(struct se_cmd *se_cmd) argument 537 tcm_vhost_queue_status(struct se_cmd *se_cmd) argument 545 tcm_vhost_queue_tm_rsp(struct se_cmd *se_cmd) argument 550 tcm_vhost_aborted_task(struct se_cmd *se_cmd) argument 589 struct se_cmd *se_cmd = &cmd->tvc_se_cmd; local 596 vhost_scsi_check_stop_free(struct se_cmd *se_cmd) argument 683 struct se_cmd *se_cmd; local 917 struct se_cmd *se_cmd = &cmd->tvc_se_cmd; local [all...] |