/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() 200 static int target_xcopy_parse_target_descriptors(struct se_cmd *se_cmd, 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() 335 static int target_xcopy_parse_segment_descriptors(struct se_cmd *se_cmd, in target_xcopy_parse_segment_descriptors() 393 struct se_cmd se_cmd; member 408 static int xcopy_pt_get_cmd_state(struct se_cmd *se_cmd) in xcopy_pt_get_cmd_state() 429 static void xcopy_pt_release_cmd(struct se_cmd *se_cmd) in xcopy_pt_release_cmd() 437 static int xcopy_pt_check_stop_free(struct se_cmd *se_cmd) in xcopy_pt_check_stop_free() 446 static int xcopy_pt_write_pending(struct se_cmd *se_cmd) in xcopy_pt_write_pending() 451 static int xcopy_pt_write_pending_status(struct se_cmd *se_cmd) in xcopy_pt_write_pending_status() [all …]
|
D | target_core_tmr.c | 40 struct se_cmd *se_cmd, in core_tmr_alloc_req() 93 static bool __target_check_io_state(struct se_cmd *se_cmd, in __target_check_io_state() 147 struct se_cmd *se_cmd; in core_tmr_abort_task() local
|
D | target_core_transport.c | 1514 int target_submit_cmd_map_sgls(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_cmd_map_sgls() 1656 int target_submit_cmd(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_cmd() 1668 struct se_cmd *se_cmd = container_of(work, struct se_cmd, work); in target_complete_tmr_failure() local 1680 struct se_cmd *se_cmd; in target_lookup_lun_from_tag() local 1717 int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_tmr() 2702 int target_get_sess_cmd(struct se_cmd *se_cmd, bool ack_kref) in target_get_sess_cmd() 2749 struct se_cmd *se_cmd = container_of(kref, struct se_cmd, cmd_kref); in target_release_cmd_kref() local 2775 int target_put_sess_cmd(struct se_cmd *se_cmd) in target_put_sess_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 579 static struct tcmu_cmd *tcmu_alloc_cmd(struct se_cmd *se_cmd) in tcmu_alloc_cmd() 750 struct se_cmd *se_cmd = cmd->se_cmd; in gather_data_area() local 882 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in tcmu_cmd_get_cmd_size() local 964 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in queue_cmd_ring() local 1114 tcmu_queue_cmd(struct se_cmd *se_cmd) in tcmu_queue_cmd() 1136 struct se_cmd *se_cmd = cmd->se_cmd; in tcmu_handle_completion() local 1265 struct se_cmd *se_cmd; in tcmu_check_expired_cmd() local
|
D | target_core_device.c | 61 transport_lookup_cmd_lun(struct se_cmd *se_cmd, u64 unpacked_lun) in transport_lookup_cmd_lun() 160 int transport_lookup_tmr_lun(struct se_cmd *se_cmd, u64 unpacked_lun) in transport_lookup_tmr_lun()
|
/Linux-v4.19/drivers/target/tcm_fc/ |
D | tfc_cmd.c | 48 struct se_cmd *se_cmd; in _ft_dump_cmd() local 98 void ft_release_cmd(struct se_cmd *se_cmd) in ft_release_cmd() 105 int ft_check_stop_free(struct se_cmd *se_cmd) in ft_check_stop_free() 113 int ft_queue_status(struct se_cmd *se_cmd) in ft_queue_status() 187 int ft_write_pending_status(struct se_cmd *se_cmd) in ft_write_pending_status() 197 int ft_write_pending(struct se_cmd *se_cmd) in ft_write_pending() 246 int ft_get_cmd_state(struct se_cmd *se_cmd) in ft_get_cmd_state() 400 void ft_queue_tm_resp(struct se_cmd *se_cmd) in ft_queue_tm_resp() 435 void ft_aborted_task(struct se_cmd *se_cmd) in ft_aborted_task()
|
D | tfc_io.c | 54 int ft_queue_data_in(struct se_cmd *se_cmd) in ft_queue_data_in() 211 struct se_cmd *se_cmd = &cmd->se_cmd; in ft_recv_write_data() local
|
D | tcm_fc.h | 121 struct se_cmd se_cmd; /* Local TCM I/O descriptor */ member
|
/Linux-v4.19/include/target/ |
D | target_core_base.h | 440 struct se_cmd { struct 460 /* See se_cmd_flags_table */ argument 461 u32 se_cmd_flags; argument 477 struct list_head se_cmd_list; argument 480 sense_reason_t (*execute_cmd)(struct se_cmd *); argument 481 sense_reason_t (*transport_complete_callback)(struct se_cmd *, bool, int *); argument 482 void *protocol_data; 484 unsigned char *t_task_cdb; 485 unsigned char __t_task_cdb[TCM_MAX_COMMAND_SIZE]; 486 unsigned long long t_task_lba; [all …]
|
D | target_core_fabric.h | 201 target_reverse_dma_direction(struct se_cmd *se_cmd) in target_reverse_dma_direction()
|
/Linux-v4.19/drivers/target/loopback/ |
D | tcm_loop.c | 52 static int tcm_loop_check_stop_free(struct se_cmd *se_cmd) in tcm_loop_check_stop_free() 57 static void tcm_loop_release_cmd(struct se_cmd *se_cmd) in tcm_loop_release_cmd() 100 struct se_cmd *se_cmd = &tl_cmd->tl_se_cmd; in tcm_loop_submission_work() local 205 struct se_cmd *se_cmd; in tcm_loop_issue_tmr() local 545 static int tcm_loop_get_cmd_state(struct se_cmd *se_cmd) in tcm_loop_get_cmd_state() 553 static int tcm_loop_write_pending(struct se_cmd *se_cmd) in tcm_loop_write_pending() 568 static int tcm_loop_write_pending_status(struct se_cmd *se_cmd) in tcm_loop_write_pending_status() 573 static int tcm_loop_queue_data_in(struct se_cmd *se_cmd) in tcm_loop_queue_data_in() 591 static int tcm_loop_queue_status(struct se_cmd *se_cmd) in tcm_loop_queue_status() 619 static void tcm_loop_queue_tm_rsp(struct se_cmd *se_cmd) in tcm_loop_queue_tm_rsp() [all …]
|
/Linux-v4.19/drivers/usb/gadget/function/ |
D | f_tcm.c | 205 struct se_cmd *se_cmd = &cmd->se_cmd; in bot_send_read_response() local 247 struct se_cmd *se_cmd = &cmd->se_cmd; in bot_send_write_request() local 512 struct se_cmd *se_cmd = &cmd->se_cmd; in uasp_prepare_r_request() local 544 struct se_cmd *se_cmd = &cmd->se_cmd; in uasp_prepare_status() local 674 struct se_cmd *se_cmd = &cmd->se_cmd; in uasp_send_write_request() local 955 struct se_cmd *se_cmd = &cmd->se_cmd; in usbg_data_write_cmpl() local 978 struct se_cmd *se_cmd = &cmd->se_cmd; in usbg_prepare_w_request() local 1000 static int usbg_send_status_response(struct se_cmd *se_cmd) in usbg_send_status_response() 1012 static int usbg_send_write_request(struct se_cmd *se_cmd) in usbg_send_write_request() 1024 static int usbg_send_read_response(struct se_cmd *se_cmd) in usbg_send_read_response() [all …]
|
D | tcm.h | 72 struct se_cmd se_cmd; member
|
/Linux-v4.19/drivers/target/iscsi/ |
D | iscsi_target_configfs.c | 1351 static int iscsi_get_cmd_state(struct se_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() 1386 static int lio_write_pending(struct se_cmd *se_cmd) in lio_write_pending() 1397 static int lio_write_pending_status(struct se_cmd *se_cmd) in lio_write_pending_status() 1409 static int lio_queue_status(struct se_cmd *se_cmd) in lio_queue_status() 1422 static void lio_queue_tm_rsp(struct se_cmd *se_cmd) in lio_queue_tm_rsp() 1430 static void lio_aborted_task(struct se_cmd *se_cmd) in lio_aborted_task() 1537 static int lio_check_stop_free(struct se_cmd *se_cmd) in lio_check_stop_free() 1542 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 | 362 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_check_unsolicited_dataout() local 723 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_release_cmd() local 769 struct se_cmd *se_cmd = cmd->se_cmd.se_tfo ? &cmd->se_cmd : NULL; in iscsit_free_cmd() local
|
D | iscsi_target_erl1.c | 412 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_handle_recovery_datain() local 923 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_execute_cmd() local
|
/Linux-v4.19/drivers/scsi/qla2xxx/ |
D | tcm_qla2xxx.c | 310 static int tcm_qla2xxx_check_stop_free(struct se_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() 377 static int tcm_qla2xxx_write_pending(struct se_cmd *se_cmd) in tcm_qla2xxx_write_pending() 414 static int tcm_qla2xxx_write_pending_status(struct se_cmd *se_cmd) in tcm_qla2xxx_write_pending_status() 439 static int tcm_qla2xxx_get_cmd_state(struct se_cmd *se_cmd) in tcm_qla2xxx_get_cmd_state() 457 struct se_cmd *se_cmd = &cmd->se_cmd; in tcm_qla2xxx_handle_cmd() local 570 struct se_cmd *se_cmd = &cmd->se_cmd; in tcm_qla2xxx_dif_tags() local 588 struct se_cmd *se_cmd = &mcmd->se_cmd; in tcm_qla2xxx_handle_tmr() local 658 static int tcm_qla2xxx_queue_data_in(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_data_in() 697 static int tcm_qla2xxx_queue_status(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_status() [all …]
|
D | qla_target.c | 2681 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_pre_xmit_response() local 2811 qlt_hba_err_chk_enabled(struct se_cmd *se_cmd) in qlt_hba_err_chk_enabled() 2834 qla_tgt_ref_mask_check(struct se_cmd *se_cmd) in qla_tgt_ref_mask_check() 2857 struct se_cmd *se_cmd = &cmd->se_cmd; in qla_tgt_set_dif_tags() local 2953 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_build_ctio_crc2_pkt() local 3732 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_abort_cmd() local 3919 struct se_cmd *se_cmd; in qlt_do_ctio_completion() local
|
/Linux-v4.19/drivers/target/sbp/ |
D | sbp_target.c | 1373 struct se_cmd *se_cmd = &req->se_cmd; in sbp_sense_mangle() local 1440 struct se_cmd *se_cmd = &req->se_cmd; in sbp_send_sense() local 1457 struct se_cmd *se_cmd = &req->se_cmd; in sbp_free_request() local 1721 static void sbp_release_cmd(struct se_cmd *se_cmd) in sbp_release_cmd() 1734 static int sbp_write_pending(struct se_cmd *se_cmd) in sbp_write_pending() 1757 static int sbp_write_pending_status(struct se_cmd *se_cmd) in sbp_write_pending_status() 1767 static int sbp_get_cmd_state(struct se_cmd *se_cmd) in sbp_get_cmd_state() 1772 static int sbp_queue_data_in(struct se_cmd *se_cmd) in sbp_queue_data_in() 1796 static int sbp_queue_status(struct se_cmd *se_cmd) in sbp_queue_status() 1804 static void sbp_queue_tm_rsp(struct se_cmd *se_cmd) in sbp_queue_tm_rsp() [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() 3069 struct se_cmd *se_cmd = &cmd->se_cmd; in ibmvscsis_fast_fail() local 3100 struct se_cmd *se_cmd = &cmd->se_cmd; in srp_build_response() local 3740 static int ibmvscsis_check_stop_free(struct se_cmd *se_cmd) in ibmvscsis_check_stop_free() 3745 static void ibmvscsis_release_cmd(struct se_cmd *se_cmd) in ibmvscsis_release_cmd() 3763 static int ibmvscsis_write_pending(struct se_cmd *se_cmd) in ibmvscsis_write_pending() 3797 static int ibmvscsis_write_pending_status(struct se_cmd *se_cmd) in ibmvscsis_write_pending_status() 3806 static int ibmvscsis_get_cmd_state(struct se_cmd *se_cmd) in ibmvscsis_get_cmd_state() 3811 static int ibmvscsis_queue_data_in(struct se_cmd *se_cmd) in ibmvscsis_queue_data_in() 3840 static int ibmvscsis_queue_status(struct se_cmd *se_cmd) in ibmvscsis_queue_status() [all …]
|
/Linux-v4.19/drivers/xen/ |
D | xen-scsiback.c | 136 struct se_cmd se_cmd; member 398 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_cmd_exec() local 598 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_device_action() local 1384 static int scsiback_check_stop_free(struct se_cmd *se_cmd) in scsiback_check_stop_free() 1389 static void scsiback_release_cmd(struct se_cmd *se_cmd) in scsiback_release_cmd() 1399 static int scsiback_write_pending(struct se_cmd *se_cmd) in scsiback_write_pending() 1407 static int scsiback_write_pending_status(struct se_cmd *se_cmd) in scsiback_write_pending_status() 1416 static int scsiback_get_cmd_state(struct se_cmd *se_cmd) in scsiback_get_cmd_state() 1421 static int scsiback_queue_data_in(struct se_cmd *se_cmd) in scsiback_queue_data_in() 1431 static int scsiback_queue_status(struct se_cmd *se_cmd) in scsiback_queue_status() [all …]
|
/Linux-v4.19/drivers/vhost/ |
D | scsi.c | 309 static void vhost_scsi_release_cmd(struct se_cmd *se_cmd) in vhost_scsi_release_cmd() 334 static int vhost_scsi_write_pending(struct se_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() 351 static int vhost_scsi_get_cmd_state(struct se_cmd *se_cmd) in vhost_scsi_get_cmd_state() 365 static int vhost_scsi_queue_data_in(struct se_cmd *se_cmd) in vhost_scsi_queue_data_in() 373 static int vhost_scsi_queue_status(struct se_cmd *se_cmd) in vhost_scsi_queue_status() 381 static void vhost_scsi_queue_tm_rsp(struct se_cmd *se_cmd) in vhost_scsi_queue_tm_rsp() 386 static void vhost_scsi_aborted_task(struct se_cmd *se_cmd) in vhost_scsi_aborted_task() 425 struct se_cmd *se_cmd = &cmd->tvc_se_cmd; in vhost_scsi_free_cmd() local 432 static int vhost_scsi_check_stop_free(struct se_cmd *se_cmd) in vhost_scsi_check_stop_free() [all …]
|
/Linux-v4.19/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 1496 struct se_cmd *se_cmd = &cmd->iscsi_cmd->se_cmd; in isert_rdma_rw_ctx_destroy() local 1542 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_put_cmd() local 1617 isert_check_pi_status(struct se_cmd *se_cmd, struct ib_mr *sig_mr) in isert_check_pi_status() 1710 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_rdma_read_done() local 2070 isert_set_dif_domain(struct se_cmd *se_cmd, struct ib_sig_attrs *sig_attrs, in isert_set_dif_domain() 2091 isert_set_sig_attrs(struct se_cmd *se_cmd, struct ib_sig_attrs *sig_attrs) in isert_set_sig_attrs() 2130 struct se_cmd *se_cmd = &cmd->iscsi_cmd->se_cmd; in isert_rdma_rw_ctx_post() local 2185 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_put_datain() local
|
/Linux-v4.19/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 2610 static int srpt_write_pending_status(struct se_cmd *se_cmd) in srpt_write_pending_status() 2621 static int srpt_write_pending(struct se_cmd *se_cmd) in srpt_write_pending() 3178 static void srpt_release_cmd(struct se_cmd *se_cmd) in srpt_release_cmd() 3232 static int srpt_get_tcm_cmd_state(struct se_cmd *se_cmd) in srpt_get_tcm_cmd_state()
|