/linux-4.1.27/drivers/target/ |
D | target_core_xcopy.c | 57 static int target_xcopy_locate_se_dev_e4(struct se_cmd *se_cmd, struct xcopy_op *xop, in target_xcopy_locate_se_dev_e4() 113 static int target_xcopy_parse_tiddesc_e4(struct se_cmd *se_cmd, struct xcopy_op *xop, in target_xcopy_parse_tiddesc_e4() 188 static int target_xcopy_parse_target_descriptors(struct se_cmd *se_cmd, in target_xcopy_parse_target_descriptors() 263 static int target_xcopy_parse_segdesc_02(struct se_cmd *se_cmd, struct xcopy_op *xop, in target_xcopy_parse_segdesc_02() 299 static int target_xcopy_parse_segment_descriptors(struct se_cmd *se_cmd, in target_xcopy_parse_segment_descriptors() 346 struct se_cmd se_cmd; member 362 static u32 xcopy_pt_get_tag(struct se_cmd *se_cmd) in xcopy_pt_get_tag() 367 static int xcopy_pt_get_cmd_state(struct se_cmd *se_cmd) in xcopy_pt_get_cmd_state() 388 static void xcopy_pt_release_cmd(struct se_cmd *se_cmd) in xcopy_pt_release_cmd() 396 static int xcopy_pt_check_stop_free(struct se_cmd *se_cmd) in xcopy_pt_check_stop_free() [all …]
|
D | target_core_tmr.c | 43 struct se_cmd *se_cmd, in core_tmr_alloc_req() 115 static bool __target_check_io_state(struct se_cmd *se_cmd, in __target_check_io_state() 161 struct se_cmd *se_cmd; in core_tmr_abort_task() local
|
D | target_core_transport.c | 1391 int target_submit_cmd_map_sgls(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_cmd_map_sgls() 1524 int target_submit_cmd(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_cmd() 1536 struct se_cmd *se_cmd = container_of(work, struct se_cmd, work); in target_complete_tmr_failure() local 1561 int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_tmr() 2487 int target_get_sess_cmd(struct se_cmd *se_cmd, bool ack_kref) in target_get_sess_cmd() 2530 struct se_cmd *se_cmd = container_of(kref, struct se_cmd, cmd_kref); in target_release_cmd_kref() local 2562 int target_put_sess_cmd(struct se_cmd *se_cmd) in target_put_sess_cmd() 2583 struct se_cmd *se_cmd; in target_sess_cmd_list_set_waiting() local 2614 struct se_cmd *se_cmd, *tmp_cmd; in target_wait_for_sess_cmds() local
|
D | target_core_user.c | 117 struct se_cmd *se_cmd; member 154 static struct tcmu_cmd *tcmu_alloc_cmd(struct se_cmd *se_cmd) in tcmu_alloc_cmd() 273 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in tcmu_queue_cmd_ring() local 430 static int tcmu_queue_cmd(struct se_cmd *se_cmd) in tcmu_queue_cmd() 456 struct se_cmd *se_cmd = cmd->se_cmd; in tcmu_handle_completion() local 1039 tcmu_pass_op(struct se_cmd *se_cmd) in tcmu_pass_op()
|
D | target_core_device.c | 59 transport_lookup_cmd_lun(struct se_cmd *se_cmd, u32 unpacked_lun) in transport_lookup_cmd_lun() 145 int transport_lookup_tmr_lun(struct se_cmd *se_cmd, u32 unpacked_lun) in transport_lookup_tmr_lun()
|
D | target_core_sbc.c | 1102 sense_reason_t (*do_unmap_fn)(struct se_cmd *, void *, in sbc_execute_unmap()
|
/linux-4.1.27/drivers/target/tcm_fc/ |
D | tfc_cmd.c | 55 struct se_cmd *se_cmd; in _ft_dump_cmd() local 107 void ft_release_cmd(struct se_cmd *se_cmd) in ft_release_cmd() 114 int ft_check_stop_free(struct se_cmd *se_cmd) in ft_check_stop_free() 123 int ft_queue_status(struct se_cmd *se_cmd) in ft_queue_status() 191 int ft_write_pending_status(struct se_cmd *se_cmd) in ft_write_pending_status() 201 int ft_write_pending(struct se_cmd *se_cmd) in ft_write_pending() 250 u32 ft_get_task_tag(struct se_cmd *se_cmd) in ft_get_task_tag() 259 int ft_get_cmd_state(struct se_cmd *se_cmd) in ft_get_cmd_state() 413 void ft_queue_tm_resp(struct se_cmd *se_cmd) in ft_queue_tm_resp() 442 void ft_aborted_task(struct se_cmd *se_cmd) in ft_aborted_task()
|
D | tfc_io.c | 60 int ft_queue_data_in(struct se_cmd *se_cmd) in ft_queue_data_in() 217 struct se_cmd *se_cmd = &cmd->se_cmd; in ft_recv_write_data() local
|
D | tcm_fc.h | 118 struct se_cmd se_cmd; /* Local TCM I/O descriptor */ member
|
/linux-4.1.27/include/target/ |
D | target_core_base.h | 482 struct se_cmd { struct 500 /* See se_cmd_flags_table */ argument 501 u32 se_cmd_flags; argument 519 struct list_head se_cmd_list; argument 523 sense_reason_t (*execute_cmd)(struct se_cmd *); argument 524 sense_reason_t (*execute_rw)(struct se_cmd *, struct scatterlist *, argument 526 sense_reason_t (*transport_complete_callback)(struct se_cmd *, bool, int *); argument 528 unsigned char *t_task_cdb; 529 unsigned char __t_task_cdb[TCM_MAX_COMMAND_SIZE]; 530 unsigned long long t_task_lba; [all …]
|
D | target_core_fabric.h | 226 target_reverse_dma_direction(struct se_cmd *se_cmd) in target_reverse_dma_direction()
|
/linux-4.1.27/drivers/usb/gadget/legacy/ |
D | tcm_usb_gadget.c | 216 struct se_cmd *se_cmd = &cmd->se_cmd; in bot_send_read_response() local 258 struct se_cmd *se_cmd = &cmd->se_cmd; in bot_send_write_request() local 525 struct se_cmd *se_cmd = &cmd->se_cmd; in uasp_prepare_r_request() local 557 struct se_cmd *se_cmd = &cmd->se_cmd; in uasp_prepare_status() local 687 struct se_cmd *se_cmd = &cmd->se_cmd; in uasp_send_write_request() local 967 struct se_cmd *se_cmd = &cmd->se_cmd; in usbg_data_write_cmpl() local 990 struct se_cmd *se_cmd = &cmd->se_cmd; in usbg_prepare_w_request() local 1012 static int usbg_send_status_response(struct se_cmd *se_cmd) in usbg_send_status_response() 1024 static int usbg_send_write_request(struct se_cmd *se_cmd) in usbg_send_write_request() 1036 static int usbg_send_read_response(struct se_cmd *se_cmd) in usbg_send_read_response() [all …]
|
D | tcm_usb_gadget.h | 80 struct se_cmd se_cmd; member
|
/linux-4.1.27/drivers/target/loopback/ |
D | tcm_loop.c | 56 static int tcm_loop_check_stop_free(struct se_cmd *se_cmd) in tcm_loop_check_stop_free() 73 static void tcm_loop_release_cmd(struct se_cmd *se_cmd) in tcm_loop_release_cmd() 116 struct se_cmd *se_cmd = &tl_cmd->tl_se_cmd; in tcm_loop_submission_work() local 222 struct se_cmd *se_cmd = NULL; in tcm_loop_issue_tmr() local 745 static u32 tcm_loop_get_task_tag(struct se_cmd *se_cmd) in tcm_loop_get_task_tag() 753 static int tcm_loop_get_cmd_state(struct se_cmd *se_cmd) in tcm_loop_get_cmd_state() 771 static int tcm_loop_write_pending(struct se_cmd *se_cmd) in tcm_loop_write_pending() 786 static int tcm_loop_write_pending_status(struct se_cmd *se_cmd) in tcm_loop_write_pending_status() 791 static int tcm_loop_queue_data_in(struct se_cmd *se_cmd) in tcm_loop_queue_data_in() 809 static int tcm_loop_queue_status(struct se_cmd *se_cmd) in tcm_loop_queue_status() [all …]
|
/linux-4.1.27/drivers/target/iscsi/ |
D | iscsi_target_configfs.c | 1738 static u32 iscsi_get_task_tag(struct se_cmd *se_cmd) in iscsi_get_task_tag() 1746 static int iscsi_get_cmd_state(struct se_cmd *se_cmd) in iscsi_get_cmd_state() 1772 static int lio_queue_data_in(struct se_cmd *se_cmd) in lio_queue_data_in() 1782 static int lio_write_pending(struct se_cmd *se_cmd) in lio_write_pending() 1793 static int lio_write_pending_status(struct se_cmd *se_cmd) in lio_write_pending_status() 1805 static int lio_queue_status(struct se_cmd *se_cmd) in lio_queue_status() 1820 static void lio_queue_tm_rsp(struct se_cmd *se_cmd) in lio_queue_tm_rsp() 1828 static void lio_aborted_task(struct se_cmd *se_cmd) in lio_aborted_task() 1982 static int lio_check_stop_free(struct se_cmd *se_cmd) in lio_check_stop_free() 1987 static void lio_release_cmd(struct se_cmd *se_cmd) in lio_release_cmd()
|
D | iscsi_target_tmr.c | 241 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_task_reassign_complete_write() local 312 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_task_reassign_complete_read() local
|
D | iscsi_target_util.c | 332 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_check_unsolicited_dataout() local 690 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_release_cmd() local 732 struct se_cmd *se_cmd = NULL; in iscsit_free_cmd() local
|
D | iscsi_target_erl1.c | 413 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_handle_recovery_datain() local 924 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_execute_cmd() local
|
D | iscsi_target.c | 1266 struct se_cmd *se_cmd; in iscsit_check_dataout_hdr() local
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
D | tcm_qla2xxx.c | 423 static int tcm_qla2xxx_check_stop_free(struct se_cmd *se_cmd) in tcm_qla2xxx_check_stop_free() 438 static void tcm_qla2xxx_release_cmd(struct se_cmd *se_cmd) in tcm_qla2xxx_release_cmd() 488 static int tcm_qla2xxx_write_pending(struct se_cmd *se_cmd) in tcm_qla2xxx_write_pending() 511 static int tcm_qla2xxx_write_pending_status(struct se_cmd *se_cmd) in tcm_qla2xxx_write_pending_status() 536 static u32 tcm_qla2xxx_get_task_tag(struct se_cmd *se_cmd) in tcm_qla2xxx_get_task_tag() 549 static int tcm_qla2xxx_get_cmd_state(struct se_cmd *se_cmd) in tcm_qla2xxx_get_cmd_state() 561 struct se_cmd *se_cmd = &cmd->se_cmd; in tcm_qla2xxx_handle_cmd() local 658 struct se_cmd *se_cmd = &mcmd->se_cmd; in tcm_qla2xxx_handle_tmr() local 664 static int tcm_qla2xxx_queue_data_in(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_data_in() 690 static int tcm_qla2xxx_queue_status(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_status() [all …]
|
D | qla_target.c | 1367 struct se_cmd *se_cmd; in __qlt_24xx_handle_abts() local 1925 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_pre_xmit_response() local 2156 qlt_hba_err_chk_enabled(struct se_cmd *se_cmd) in qlt_hba_err_chk_enabled() 2190 qlt_set_t10dif_tags(struct se_cmd *se_cmd, struct crc_context *ctx) in qlt_set_t10dif_tags() 2277 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_build_ctio_crc2_pkt() local 3083 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_abort_cmd() local 3367 struct se_cmd *se_cmd; in qlt_do_ctio_completion() local 4455 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_handle_srr() local 4611 struct se_cmd *se_cmd; in qlt_handle_srr_work() local
|
D | qla_target.h | 934 struct se_cmd se_cmd; member 1017 struct se_cmd se_cmd; member
|
/linux-4.1.27/drivers/xen/ |
D | xen-scsiback.c | 141 struct se_cmd se_cmd; member 394 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_cmd_exec() local 597 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_device_action() local 1475 static int scsiback_check_stop_free(struct se_cmd *se_cmd) in scsiback_check_stop_free() 1489 static void scsiback_release_cmd(struct se_cmd *se_cmd) in scsiback_release_cmd() 1511 static int scsiback_write_pending(struct se_cmd *se_cmd) in scsiback_write_pending() 1519 static int scsiback_write_pending_status(struct se_cmd *se_cmd) in scsiback_write_pending_status() 1528 static u32 scsiback_get_task_tag(struct se_cmd *se_cmd) in scsiback_get_task_tag() 1536 static int scsiback_get_cmd_state(struct se_cmd *se_cmd) in scsiback_get_cmd_state() 1541 static int scsiback_queue_data_in(struct se_cmd *se_cmd) in scsiback_queue_data_in() [all …]
|
/linux-4.1.27/drivers/target/sbp/ |
D | sbp_target.c | 1370 struct se_cmd *se_cmd = &req->se_cmd; in sbp_sense_mangle() local 1437 struct se_cmd *se_cmd = &req->se_cmd; in sbp_send_sense() local 1742 static void sbp_release_cmd(struct se_cmd *se_cmd) in sbp_release_cmd() 1765 static int sbp_write_pending(struct se_cmd *se_cmd) in sbp_write_pending() 1788 static int sbp_write_pending_status(struct se_cmd *se_cmd) in sbp_write_pending_status() 1798 static u32 sbp_get_task_tag(struct se_cmd *se_cmd) in sbp_get_task_tag() 1807 static int sbp_get_cmd_state(struct se_cmd *se_cmd) in sbp_get_cmd_state() 1812 static int sbp_queue_data_in(struct se_cmd *se_cmd) in sbp_queue_data_in() 1836 static int sbp_queue_status(struct se_cmd *se_cmd) in sbp_queue_status() 1844 static void sbp_queue_tm_rsp(struct se_cmd *se_cmd) in sbp_queue_tm_rsp() [all …]
|
D | sbp_target.h | 225 struct se_cmd se_cmd; member
|
/linux-4.1.27/drivers/vhost/ |
D | scsi.c | 470 static void vhost_scsi_release_cmd(struct se_cmd *se_cmd) in vhost_scsi_release_cmd() 505 static int vhost_scsi_write_pending(struct se_cmd *se_cmd) in vhost_scsi_write_pending() 512 static int vhost_scsi_write_pending_status(struct se_cmd *se_cmd) in vhost_scsi_write_pending_status() 522 static u32 vhost_scsi_get_task_tag(struct se_cmd *se_cmd) in vhost_scsi_get_task_tag() 527 static int vhost_scsi_get_cmd_state(struct se_cmd *se_cmd) in vhost_scsi_get_cmd_state() 541 static int vhost_scsi_queue_data_in(struct se_cmd *se_cmd) in vhost_scsi_queue_data_in() 549 static int vhost_scsi_queue_status(struct se_cmd *se_cmd) in vhost_scsi_queue_status() 557 static void vhost_scsi_queue_tm_rsp(struct se_cmd *se_cmd) in vhost_scsi_queue_tm_rsp() 562 static void vhost_scsi_aborted_task(struct se_cmd *se_cmd) in vhost_scsi_aborted_task() 601 struct se_cmd *se_cmd = &cmd->tvc_se_cmd; in vhost_scsi_free_cmd() local [all …]
|
/linux-4.1.27/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 1775 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_put_cmd() local 1852 isert_check_pi_status(struct se_cmd *se_cmd, struct ib_mr *sig_mr) in isert_check_pi_status() 1901 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_completion_rdma_write() local 1927 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_completion_rdma_read() local 2438 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_map_rdma() local 2655 isert_set_dif_domain(struct se_cmd *se_cmd, struct ib_sig_attrs *sig_attrs, in isert_set_dif_domain() 2676 isert_set_sig_attrs(struct se_cmd *se_cmd, struct ib_sig_attrs *sig_attrs) in isert_set_sig_attrs() 2712 struct se_cmd *se_cmd, in isert_reg_sig_mr() 2781 struct se_cmd *se_cmd = &isert_cmd->iscsi_cmd->se_cmd; in isert_handle_prot_cmd() local 2838 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_reg_rdma() local [all …]
|
/linux-4.1.27/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 2886 static int srpt_write_pending_status(struct se_cmd *se_cmd) in srpt_write_pending_status() 2897 static int srpt_write_pending(struct se_cmd *se_cmd) in srpt_write_pending() 3425 static void srpt_release_cmd(struct se_cmd *se_cmd) in srpt_release_cmd() 3493 static u32 srpt_get_task_tag(struct se_cmd *se_cmd) in srpt_get_task_tag() 3502 static int srpt_get_tcm_cmd_state(struct se_cmd *se_cmd) in srpt_get_tcm_cmd_state()
|
/linux-4.1.27/include/target/iscsi/ |
D | iscsi_target_core.h | 487 struct se_cmd se_cmd; member
|