/Linux-v5.10/drivers/target/ |
D | target_core_xcopy.c | 105 static int target_xcopy_parse_tiddesc_e4(struct se_cmd *se_cmd, struct xcopy_op *xop, in target_xcopy_parse_tiddesc_e4() 191 static int target_xcopy_parse_target_descriptors(struct se_cmd *se_cmd, in target_xcopy_parse_target_descriptors() 284 static int target_xcopy_parse_segdesc_02(struct se_cmd *se_cmd, struct xcopy_op *xop, in target_xcopy_parse_segdesc_02() 321 static int target_xcopy_parse_segment_descriptors(struct se_cmd *se_cmd, in target_xcopy_parse_segment_descriptors() 378 struct se_cmd se_cmd; member 387 static int xcopy_pt_get_cmd_state(struct se_cmd *se_cmd) in xcopy_pt_get_cmd_state() 408 static void xcopy_pt_release_cmd(struct se_cmd *se_cmd) in xcopy_pt_release_cmd() 417 static int xcopy_pt_check_stop_free(struct se_cmd *se_cmd) in xcopy_pt_check_stop_free() 426 static int xcopy_pt_write_pending(struct se_cmd *se_cmd) in xcopy_pt_write_pending() 431 static int xcopy_pt_queue_data_in(struct se_cmd *se_cmd) in xcopy_pt_queue_data_in() [all …]
|
D | target_core_tmr.c | 27 struct se_cmd *se_cmd, in core_tmr_alloc_req() 80 static bool __target_check_io_state(struct se_cmd *se_cmd, in __target_check_io_state() 120 struct se_cmd *se_cmd, *next; in core_tmr_abort_task() local
|
D | target_core_user.c | 171 struct se_cmd *se_cmd; member 574 struct se_cmd *se_cmd = cmd->se_cmd; in tcmu_cmd_set_block_cnts() local 625 static struct tcmu_cmd *tcmu_alloc_cmd(struct se_cmd *se_cmd) in tcmu_alloc_cmd() 694 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in scatter_data_area() local 743 struct se_cmd *se_cmd = cmd->se_cmd; in gather_data_area() local 898 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in tcmu_cmd_get_cmd_size() local 991 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in queue_cmd_ring() local 1178 tcmu_queue_cmd(struct se_cmd *se_cmd) in tcmu_queue_cmd() 1236 struct se_cmd *se_cmd; in tcmu_tmr_notify() local 1296 struct se_cmd *se_cmd = cmd->se_cmd; in tcmu_handle_completion() local [all …]
|
D | target_core_transport.c | 1595 int target_submit_cmd_map_sgls(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_cmd_map_sgls() 1746 int target_submit_cmd(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_cmd() 1758 struct se_cmd *se_cmd = container_of(work, struct se_cmd, work); in target_complete_tmr_failure() local 1770 struct se_cmd *se_cmd; in target_lookup_lun_from_tag() local 1807 int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_tmr() 2795 int target_get_sess_cmd(struct se_cmd *se_cmd, bool ack_kref) in target_get_sess_cmd() 2842 struct se_cmd *se_cmd = container_of(kref, struct se_cmd, cmd_kref); in target_release_cmd_kref() local 2871 int target_put_sess_cmd(struct se_cmd *se_cmd) in target_put_sess_cmd()
|
D | target_core_device.c | 48 transport_lookup_cmd_lun(struct se_cmd *se_cmd) in transport_lookup_cmd_lun() 146 int transport_lookup_tmr_lun(struct se_cmd *se_cmd) in transport_lookup_tmr_lun()
|
/Linux-v5.10/include/target/ |
D | target_core_base.h | 454 struct se_cmd { struct 474 /* See se_cmd_flags_table */ argument 475 u32 se_cmd_flags; argument 491 struct list_head se_cmd_list; argument 495 sense_reason_t (*execute_cmd)(struct se_cmd *); argument 496 sense_reason_t (*transport_complete_callback)(struct se_cmd *, bool, int *); argument 497 void *protocol_data; 499 unsigned char *t_task_cdb; 500 unsigned char __t_task_cdb[TCM_MAX_COMMAND_SIZE]; 501 unsigned long long t_task_lba; [all …]
|
D | target_core_fabric.h | 220 target_reverse_dma_direction(struct se_cmd *se_cmd) in target_reverse_dma_direction()
|
/Linux-v5.10/drivers/target/tcm_fc/ |
D | tfc_cmd.c | 36 struct se_cmd *se_cmd; in _ft_dump_cmd() local 86 void ft_release_cmd(struct se_cmd *se_cmd) in ft_release_cmd() 93 int ft_check_stop_free(struct se_cmd *se_cmd) in ft_check_stop_free() 101 int ft_queue_status(struct se_cmd *se_cmd) in ft_queue_status() 178 int ft_write_pending(struct se_cmd *se_cmd) in ft_write_pending() 227 int ft_get_cmd_state(struct se_cmd *se_cmd) in ft_get_cmd_state() 381 void ft_queue_tm_resp(struct se_cmd *se_cmd) in ft_queue_tm_resp() 416 void ft_aborted_task(struct se_cmd *se_cmd) in ft_aborted_task()
|
D | tfc_io.c | 42 int ft_queue_data_in(struct se_cmd *se_cmd) in ft_queue_data_in() 198 struct se_cmd *se_cmd = &cmd->se_cmd; in ft_recv_write_data() local
|
D | tcm_fc.h | 109 struct se_cmd se_cmd; /* Local TCM I/O descriptor */ member
|
/Linux-v5.10/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 197 struct se_cmd *se_cmd; in tcm_loop_issue_tmr() local 525 static int tcm_loop_get_cmd_state(struct se_cmd *se_cmd) in tcm_loop_get_cmd_state() 533 static int tcm_loop_write_pending(struct se_cmd *se_cmd) in tcm_loop_write_pending() 549 struct se_cmd *se_cmd, u8 scsi_status) in tcm_loop_queue_data_or_status() 577 static int tcm_loop_queue_data_in(struct se_cmd *se_cmd) in tcm_loop_queue_data_in() 582 static int tcm_loop_queue_status(struct se_cmd *se_cmd) in tcm_loop_queue_status() 588 static void tcm_loop_queue_tm_rsp(struct se_cmd *se_cmd) in tcm_loop_queue_tm_rsp() [all …]
|
/Linux-v5.10/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 545 struct se_cmd *se_cmd = &cmd->se_cmd; in uasp_prepare_status() local 676 struct se_cmd *se_cmd = &cmd->se_cmd; in uasp_send_write_request() local 958 struct se_cmd *se_cmd = &cmd->se_cmd; in usbg_data_write_cmpl() local 981 struct se_cmd *se_cmd = &cmd->se_cmd; in usbg_prepare_w_request() local 1004 static int usbg_send_status_response(struct se_cmd *se_cmd) in usbg_send_status_response() 1016 static int usbg_send_write_request(struct se_cmd *se_cmd) in usbg_send_write_request() 1028 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-v5.10/drivers/target/iscsi/ |
D | iscsi_target_configfs.c | 1338 static int iscsi_get_cmd_state(struct se_cmd *se_cmd) in iscsi_get_cmd_state() 1364 static int lio_queue_data_in(struct se_cmd *se_cmd) in lio_queue_data_in() 1373 static int lio_write_pending(struct se_cmd *se_cmd) in lio_write_pending() 1384 static int lio_queue_status(struct se_cmd *se_cmd) in lio_queue_status() 1397 static void lio_queue_tm_rsp(struct se_cmd *se_cmd) in lio_queue_tm_rsp() 1405 static void lio_aborted_task(struct se_cmd *se_cmd) in lio_aborted_task() 1515 static int lio_check_stop_free(struct se_cmd *se_cmd) in lio_check_stop_free() 1520 static void lio_release_cmd(struct se_cmd *se_cmd) in lio_release_cmd()
|
D | iscsi_target_tmr.c | 233 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_task_reassign_complete_write() local 304 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_task_reassign_complete_read() local
|
D | iscsi_target_util.c | 356 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_check_unsolicited_dataout() local 717 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_release_cmd() local 764 struct se_cmd *se_cmd = cmd->se_cmd.se_tfo ? &cmd->se_cmd : NULL; in iscsit_free_cmd() local
|
D | iscsi_target_erl1.c | 381 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_handle_recovery_datain() local 891 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_execute_cmd() local
|
/Linux-v5.10/drivers/scsi/qla2xxx/ |
D | tcm_qla2xxx.c | 314 static int tcm_qla2xxx_check_stop_free(struct se_cmd *se_cmd) in tcm_qla2xxx_check_stop_free() 329 static void tcm_qla2xxx_release_cmd(struct se_cmd *se_cmd) in tcm_qla2xxx_release_cmd() 385 static int tcm_qla2xxx_write_pending(struct se_cmd *se_cmd) in tcm_qla2xxx_write_pending() 429 static int tcm_qla2xxx_get_cmd_state(struct se_cmd *se_cmd) in tcm_qla2xxx_get_cmd_state() 447 struct se_cmd *se_cmd = &cmd->se_cmd; in tcm_qla2xxx_handle_cmd() local 557 struct se_cmd *se_cmd = &cmd->se_cmd; in tcm_qla2xxx_dif_tags() local 575 struct se_cmd *se_cmd = &mcmd->se_cmd; in tcm_qla2xxx_handle_tmr() local 645 static int tcm_qla2xxx_queue_data_in(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_data_in() 686 static int tcm_qla2xxx_queue_status(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_status() 734 static void tcm_qla2xxx_queue_tm_rsp(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_tm_rsp() [all …]
|
D | qla_target.c | 2737 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_pre_xmit_response() local 2871 qlt_hba_err_chk_enabled(struct se_cmd *se_cmd) in qlt_hba_err_chk_enabled() 2894 qla_tgt_ref_mask_check(struct se_cmd *se_cmd) in qla_tgt_ref_mask_check() 2917 struct se_cmd *se_cmd = &cmd->se_cmd; in qla_tgt_set_dif_tags() local 3013 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_build_ctio_crc2_pkt() local 3767 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_abort_cmd() local 3922 struct se_cmd *se_cmd; in qlt_do_ctio_completion() local
|
/Linux-v5.10/drivers/scsi/ibmvscsi_tgt/ |
D | ibmvscsi_tgt.c | 57 static void ibmvscsis_determine_resid(struct se_cmd *se_cmd, in ibmvscsis_determine_resid() 3058 struct se_cmd *se_cmd = &cmd->se_cmd; in ibmvscsis_fast_fail() local 3089 struct se_cmd *se_cmd = &cmd->se_cmd; in srp_build_response() local 3724 static int ibmvscsis_check_stop_free(struct se_cmd *se_cmd) in ibmvscsis_check_stop_free() 3729 static void ibmvscsis_release_cmd(struct se_cmd *se_cmd) in ibmvscsis_release_cmd() 3747 static int ibmvscsis_write_pending(struct se_cmd *se_cmd) in ibmvscsis_write_pending() 3785 static int ibmvscsis_get_cmd_state(struct se_cmd *se_cmd) in ibmvscsis_get_cmd_state() 3790 static int ibmvscsis_queue_data_in(struct se_cmd *se_cmd) in ibmvscsis_queue_data_in() 3817 static int ibmvscsis_queue_status(struct se_cmd *se_cmd) in ibmvscsis_queue_status() 3833 static void ibmvscsis_queue_tm_rsp(struct se_cmd *se_cmd) in ibmvscsis_queue_tm_rsp() [all …]
|
/Linux-v5.10/drivers/target/sbp/ |
D | sbp_target.c | 1360 struct se_cmd *se_cmd = &req->se_cmd; in sbp_sense_mangle() local 1427 struct se_cmd *se_cmd = &req->se_cmd; in sbp_send_sense() local 1444 struct se_cmd *se_cmd = &req->se_cmd; in sbp_free_request() local 1703 static void sbp_release_cmd(struct se_cmd *se_cmd) in sbp_release_cmd() 1716 static int sbp_write_pending(struct se_cmd *se_cmd) in sbp_write_pending() 1744 static int sbp_get_cmd_state(struct se_cmd *se_cmd) in sbp_get_cmd_state() 1749 static int sbp_queue_data_in(struct se_cmd *se_cmd) in sbp_queue_data_in() 1773 static int sbp_queue_status(struct se_cmd *se_cmd) in sbp_queue_status() 1781 static void sbp_queue_tm_rsp(struct se_cmd *se_cmd) in sbp_queue_tm_rsp() 1785 static void sbp_aborted_task(struct se_cmd *se_cmd) in sbp_aborted_task() [all …]
|
/Linux-v5.10/drivers/xen/ |
D | xen-scsiback.c | 137 struct se_cmd se_cmd; member 361 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_cmd_exec() local 561 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_device_action() local 1357 static int scsiback_check_stop_free(struct se_cmd *se_cmd) in scsiback_check_stop_free() 1362 static void scsiback_release_cmd(struct se_cmd *se_cmd) in scsiback_release_cmd() 1372 static int scsiback_write_pending(struct se_cmd *se_cmd) in scsiback_write_pending() 1384 static int scsiback_get_cmd_state(struct se_cmd *se_cmd) in scsiback_get_cmd_state() 1389 static int scsiback_queue_data_in(struct se_cmd *se_cmd) in scsiback_queue_data_in() 1399 static int scsiback_queue_status(struct se_cmd *se_cmd) in scsiback_queue_status() 1416 static void scsiback_queue_tm_rsp(struct se_cmd *se_cmd) in scsiback_queue_tm_rsp() [all …]
|
/Linux-v5.10/drivers/vhost/ |
D | scsi.c | 222 struct se_cmd se_cmd; member 341 static void vhost_scsi_release_cmd_res(struct se_cmd *se_cmd) in vhost_scsi_release_cmd_res() 374 static void vhost_scsi_release_cmd(struct se_cmd *se_cmd) in vhost_scsi_release_cmd() 396 static int vhost_scsi_write_pending(struct se_cmd *se_cmd) in vhost_scsi_write_pending() 408 static int vhost_scsi_get_cmd_state(struct se_cmd *se_cmd) in vhost_scsi_get_cmd_state() 413 static int vhost_scsi_queue_data_in(struct se_cmd *se_cmd) in vhost_scsi_queue_data_in() 419 static int vhost_scsi_queue_status(struct se_cmd *se_cmd) in vhost_scsi_queue_status() 425 static void vhost_scsi_queue_tm_rsp(struct se_cmd *se_cmd) in vhost_scsi_queue_tm_rsp() 434 static void vhost_scsi_aborted_task(struct se_cmd *se_cmd) in vhost_scsi_aborted_task() 471 static int vhost_scsi_check_stop_free(struct se_cmd *se_cmd) in vhost_scsi_check_stop_free() [all …]
|
/Linux-v5.10/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 1382 struct se_cmd *se_cmd = &cmd->iscsi_cmd->se_cmd; in isert_rdma_rw_ctx_destroy() local 1428 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_put_cmd() local 1503 isert_check_pi_status(struct se_cmd *se_cmd, struct ib_mr *sig_mr) in isert_check_pi_status() 1596 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_rdma_read_done() local 1954 isert_set_dif_domain(struct se_cmd *se_cmd, struct ib_sig_domain *domain) in isert_set_dif_domain() 1974 isert_set_sig_attrs(struct se_cmd *se_cmd, struct ib_sig_attrs *sig_attrs) in isert_set_sig_attrs() 2013 struct se_cmd *se_cmd = &cmd->iscsi_cmd->se_cmd; in isert_rdma_rw_ctx_post() local 2068 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_put_datain() local
|
/Linux-v5.10/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 2731 static int srpt_write_pending(struct se_cmd *se_cmd) in srpt_write_pending() 3309 static void srpt_release_cmd(struct se_cmd *se_cmd) in srpt_release_cmd() 3367 static int srpt_get_tcm_cmd_state(struct se_cmd *se_cmd) in srpt_get_tcm_cmd_state()
|