/linux/drivers/target/ |
A D | target_core_xcopy.c | 391 struct se_cmd se_cmd; member 400 static int xcopy_pt_get_cmd_state(struct se_cmd *se_cmd) in xcopy_pt_get_cmd_state() 415 static void xcopy_pt_release_cmd(struct se_cmd *se_cmd) in xcopy_pt_release_cmd() 433 static int xcopy_pt_write_pending(struct se_cmd *se_cmd) in xcopy_pt_write_pending() 438 static int xcopy_pt_queue_data_in(struct se_cmd *se_cmd) in xcopy_pt_queue_data_in() 443 static int xcopy_pt_queue_status(struct se_cmd *se_cmd) in xcopy_pt_queue_status() 562 struct se_cmd *se_cmd = &xpt_cmd->se_cmd; in target_xcopy_issue_pt_cmd() local 588 struct se_cmd *se_cmd = &xpt_cmd.se_cmd; in target_xcopy_read_source() local 633 struct se_cmd *se_cmd = &xpt_cmd.se_cmd; in target_xcopy_write_destination() local 790 struct se_cmd *se_cmd = xop->xop_se_cmd; in target_parse_xcopy_cmd() local [all …]
|
A D | target_core_tmr.c | 27 struct se_cmd *se_cmd, in core_tmr_alloc_req() 71 static bool __target_check_io_state(struct se_cmd *se_cmd, in __target_check_io_state() 111 struct se_cmd *se_cmd, *next; in core_tmr_abort_task() local
|
A D | target_core_transport.c | 1635 int target_init_cmd(struct se_cmd *se_cmd, struct se_session *se_sess, in target_init_cmd() 1691 int target_submit_prep(struct se_cmd *se_cmd, unsigned char *cdb, in target_submit_prep() 1758 void target_submit(struct se_cmd *se_cmd) in target_submit() 1823 void target_submit_cmd(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_cmd() 1876 struct se_cmd *se_cmd, *next_cmd; in target_queued_submit_work() local 1904 void target_queue_submission(struct se_cmd *se_cmd) in target_queue_submission() 1918 struct se_cmd *se_cmd = container_of(work, struct se_cmd, work); in target_complete_tmr_failure() local 1944 int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_tmr() 2958 int target_get_sess_cmd(struct se_cmd *se_cmd, bool ack_kref) in target_get_sess_cmd() 2995 struct se_cmd *se_cmd = container_of(kref, struct se_cmd, cmd_kref); in target_release_cmd_kref() local [all …]
|
A D | target_core_user.c | 176 struct se_cmd *se_cmd; member 579 struct se_cmd *se_cmd = cmd->se_cmd; in tcmu_cmd_set_block_cnts() local 775 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in scatter_data_area() local 784 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in gather_data_area() local 901 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in tcmu_cmd_get_cmd_size() local 1013 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in queue_cmd_ring() local 1201 tcmu_queue_cmd(struct se_cmd *se_cmd) in tcmu_queue_cmd() 1259 struct se_cmd *se_cmd; in tcmu_tmr_notify() local 1321 struct se_cmd *se_cmd = cmd->se_cmd; in tcmu_handle_completion() local 1518 struct se_cmd *se_cmd; in tcmu_check_expired_ring_cmd() local [all …]
|
A D | target_core_device.c | 48 transport_lookup_cmd_lun(struct se_cmd *se_cmd) in transport_lookup_cmd_lun() 143 int transport_lookup_tmr_lun(struct se_cmd *se_cmd) in transport_lookup_tmr_lun()
|
/linux/drivers/target/tcm_fc/ |
A D | tfc_cmd.c | 35 struct se_cmd *se_cmd; in _ft_dump_cmd() local 85 void ft_release_cmd(struct se_cmd *se_cmd) in ft_release_cmd() 92 int ft_check_stop_free(struct se_cmd *se_cmd) in ft_check_stop_free() 100 int ft_queue_status(struct se_cmd *se_cmd) in ft_queue_status() 177 int ft_write_pending(struct se_cmd *se_cmd) in ft_write_pending() 226 int ft_get_cmd_state(struct se_cmd *se_cmd) in ft_get_cmd_state() 380 void ft_queue_tm_resp(struct se_cmd *se_cmd) in ft_queue_tm_resp() 415 void ft_aborted_task(struct se_cmd *se_cmd) in ft_aborted_task()
|
A D | tfc_io.c | 41 int ft_queue_data_in(struct se_cmd *se_cmd) in ft_queue_data_in() 197 struct se_cmd *se_cmd = &cmd->se_cmd; in ft_recv_write_data() local
|
A D | tcm_fc.h | 109 struct se_cmd se_cmd; /* Local TCM I/O descriptor */ member
|
/linux/include/target/ |
A D | target_core_base.h | 459 struct se_cmd { struct 479 /* See se_cmd_flags_table */ argument 480 u32 se_cmd_flags; argument 500 sense_reason_t (*execute_cmd)(struct se_cmd *); argument 536 void *priv; 541 u8 prot_checks; 542 bool prot_pto; 543 u32 prot_length; 544 u32 reftag_seed; 548 u64 sense_info; [all …]
|
A D | target_core_fabric.h | 228 target_reverse_dma_direction(struct se_cmd *se_cmd) in target_reverse_dma_direction()
|
/linux/drivers/target/loopback/ |
A D | tcm_loop.c | 60 static int tcm_loop_check_stop_free(struct se_cmd *se_cmd) in tcm_loop_check_stop_free() 65 static void tcm_loop_release_cmd(struct se_cmd *se_cmd) in tcm_loop_release_cmd() 110 struct se_cmd *se_cmd = &tl_cmd->tl_se_cmd; in tcm_loop_target_queue_cmd() local 199 struct se_cmd *se_cmd; in tcm_loop_issue_tmr() local 528 static int tcm_loop_get_cmd_state(struct se_cmd *se_cmd) in tcm_loop_get_cmd_state() 536 static int tcm_loop_write_pending(struct se_cmd *se_cmd) in tcm_loop_write_pending() 552 struct se_cmd *se_cmd, u8 scsi_status) in tcm_loop_queue_data_or_status() 578 static int tcm_loop_queue_data_in(struct se_cmd *se_cmd) in tcm_loop_queue_data_in() 583 static int tcm_loop_queue_status(struct se_cmd *se_cmd) in tcm_loop_queue_status() 589 static void tcm_loop_queue_tm_rsp(struct se_cmd *se_cmd) in tcm_loop_queue_tm_rsp() [all …]
|
/linux/drivers/usb/gadget/function/ |
A 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 1043 struct se_cmd *se_cmd; in usbg_cmd_work() local 1172 struct se_cmd *se_cmd; in bot_cmd_work() local 1282 static void usbg_release_cmd(struct se_cmd *se_cmd) in usbg_release_cmd() [all …]
|
A D | tcm.h | 72 struct se_cmd se_cmd; member
|
/linux/drivers/scsi/qla2xxx/ |
A D | tcm_qla2xxx.c | 319 static int tcm_qla2xxx_check_stop_free(struct se_cmd *se_cmd) in tcm_qla2xxx_check_stop_free() 334 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 571 struct se_cmd *se_cmd = &cmd->se_cmd; in tcm_qla2xxx_dif_tags() local 589 struct se_cmd *se_cmd = &mcmd->se_cmd; in tcm_qla2xxx_handle_tmr() local 652 static int tcm_qla2xxx_queue_data_in(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_data_in() 691 static int tcm_qla2xxx_queue_status(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_status() 737 static void tcm_qla2xxx_queue_tm_rsp(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_tm_rsp() [all …]
|
A D | qla_target.c | 2803 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_pre_xmit_response() local 2937 qlt_hba_err_chk_enabled(struct se_cmd *se_cmd) in qlt_hba_err_chk_enabled() 2960 qla_tgt_ref_mask_check(struct se_cmd *se_cmd) in qla_tgt_ref_mask_check() 2983 struct se_cmd *se_cmd = &cmd->se_cmd; in qla_tgt_set_dif_tags() local 3079 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_build_ctio_crc2_pkt() local 3831 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_abort_cmd() local 3983 struct se_cmd *se_cmd; in qlt_do_ctio_completion() local
|
/linux/drivers/target/iscsi/ |
A D | iscsi_target_configfs.c | 1309 static int iscsi_get_cmd_state(struct se_cmd *se_cmd) in iscsi_get_cmd_state() 1335 static int lio_queue_data_in(struct se_cmd *se_cmd) in lio_queue_data_in() 1344 static int lio_write_pending(struct se_cmd *se_cmd) in lio_write_pending() 1355 static int lio_queue_status(struct se_cmd *se_cmd) in lio_queue_status() 1368 static void lio_queue_tm_rsp(struct se_cmd *se_cmd) in lio_queue_tm_rsp() 1376 static void lio_aborted_task(struct se_cmd *se_cmd) in lio_aborted_task() 1486 static int lio_check_stop_free(struct se_cmd *se_cmd) in lio_check_stop_free() 1491 static void lio_release_cmd(struct se_cmd *se_cmd) in lio_release_cmd()
|
A 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
|
A D | iscsi_target_util.c | 339 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_check_unsolicited_dataout() local 700 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_release_cmd() local 747 struct se_cmd *se_cmd = cmd->se_cmd.se_tfo ? &cmd->se_cmd : NULL; in iscsit_free_cmd() local
|
A D | iscsi_target_erl1.c | 381 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_handle_recovery_datain() local 889 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_execute_cmd() local
|
/linux/drivers/xen/ |
A D | xen-scsiback.c | 135 struct se_cmd se_cmd; member 359 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_cmd_exec() local 556 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_device_action() local 1352 static int scsiback_check_stop_free(struct se_cmd *se_cmd) in scsiback_check_stop_free() 1357 static void scsiback_release_cmd(struct se_cmd *se_cmd) in scsiback_release_cmd() 1367 static int scsiback_write_pending(struct se_cmd *se_cmd) in scsiback_write_pending() 1379 static int scsiback_get_cmd_state(struct se_cmd *se_cmd) in scsiback_get_cmd_state() 1384 static int scsiback_queue_data_in(struct se_cmd *se_cmd) in scsiback_queue_data_in() 1394 static int scsiback_queue_status(struct se_cmd *se_cmd) in scsiback_queue_status() 1410 static void scsiback_queue_tm_rsp(struct se_cmd *se_cmd) in scsiback_queue_tm_rsp() [all …]
|
/linux/drivers/target/sbp/ |
A D | sbp_target.c | 1357 struct se_cmd *se_cmd = &req->se_cmd; in sbp_sense_mangle() local 1424 struct se_cmd *se_cmd = &req->se_cmd; in sbp_send_sense() local 1441 struct se_cmd *se_cmd = &req->se_cmd; in sbp_free_request() local 1700 static void sbp_release_cmd(struct se_cmd *se_cmd) in sbp_release_cmd() 1713 static int sbp_write_pending(struct se_cmd *se_cmd) in sbp_write_pending() 1741 static int sbp_get_cmd_state(struct se_cmd *se_cmd) in sbp_get_cmd_state() 1746 static int sbp_queue_data_in(struct se_cmd *se_cmd) in sbp_queue_data_in() 1770 static int sbp_queue_status(struct se_cmd *se_cmd) in sbp_queue_status() 1778 static void sbp_queue_tm_rsp(struct se_cmd *se_cmd) in sbp_queue_tm_rsp() 1782 static void sbp_aborted_task(struct se_cmd *se_cmd) in sbp_aborted_task() [all …]
|
/linux/drivers/scsi/ibmvscsi_tgt/ |
A D | ibmvscsi_tgt.c | 58 static void ibmvscsis_determine_resid(struct se_cmd *se_cmd, in ibmvscsis_determine_resid() 3050 struct se_cmd *se_cmd = &cmd->se_cmd; in ibmvscsis_fast_fail() local 3081 struct se_cmd *se_cmd = &cmd->se_cmd; in srp_build_response() local 3714 static int ibmvscsis_check_stop_free(struct se_cmd *se_cmd) in ibmvscsis_check_stop_free() 3719 static void ibmvscsis_release_cmd(struct se_cmd *se_cmd) in ibmvscsis_release_cmd() 3737 static int ibmvscsis_write_pending(struct se_cmd *se_cmd) in ibmvscsis_write_pending() 3775 static int ibmvscsis_get_cmd_state(struct se_cmd *se_cmd) in ibmvscsis_get_cmd_state() 3780 static int ibmvscsis_queue_data_in(struct se_cmd *se_cmd) in ibmvscsis_queue_data_in() 3807 static int ibmvscsis_queue_status(struct se_cmd *se_cmd) in ibmvscsis_queue_status() 3823 static void ibmvscsis_queue_tm_rsp(struct se_cmd *se_cmd) in ibmvscsis_queue_tm_rsp() [all …]
|
/linux/drivers/vhost/ |
A D | scsi.c | 208 struct se_cmd se_cmd; member 358 static void vhost_scsi_release_cmd(struct se_cmd *se_cmd) in vhost_scsi_release_cmd() 380 static int vhost_scsi_write_pending(struct se_cmd *se_cmd) in vhost_scsi_write_pending() 392 static int vhost_scsi_get_cmd_state(struct se_cmd *se_cmd) in vhost_scsi_get_cmd_state() 397 static int vhost_scsi_queue_data_in(struct se_cmd *se_cmd) in vhost_scsi_queue_data_in() 403 static int vhost_scsi_queue_status(struct se_cmd *se_cmd) in vhost_scsi_queue_status() 409 static void vhost_scsi_queue_tm_rsp(struct se_cmd *se_cmd) in vhost_scsi_queue_tm_rsp() 418 static void vhost_scsi_aborted_task(struct se_cmd *se_cmd) in vhost_scsi_aborted_task() 455 static int vhost_scsi_check_stop_free(struct se_cmd *se_cmd) in vhost_scsi_check_stop_free() 540 struct se_cmd *se_cmd; in vhost_scsi_complete_cmd_work() local [all …]
|
/linux/drivers/infiniband/ulp/isert/ |
A D | ib_isert.c | 1407 struct se_cmd *se_cmd = &cmd->iscsi_cmd->se_cmd; in isert_rdma_rw_ctx_destroy() local 1453 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_put_cmd() local 1528 isert_check_pi_status(struct se_cmd *se_cmd, struct ib_mr *sig_mr) in isert_check_pi_status() 1621 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_rdma_read_done() local 1979 isert_set_dif_domain(struct se_cmd *se_cmd, struct ib_sig_domain *domain) in isert_set_dif_domain() 1999 isert_set_sig_attrs(struct se_cmd *se_cmd, struct ib_sig_attrs *sig_attrs) in isert_set_sig_attrs() 2038 struct se_cmd *se_cmd = &cmd->iscsi_cmd->se_cmd; in isert_rdma_rw_ctx_post() local 2093 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_put_datain() local
|
/linux/drivers/scsi/elx/efct/ |
A D | efct_lio.c | 293 static int efct_lio_check_stop_free(struct se_cmd *se_cmd) in efct_lio_check_stop_free() 313 efct_lio_aborted_task(struct se_cmd *se_cmd) in efct_lio_aborted_task() 331 static void efct_lio_release_cmd(struct se_cmd *se_cmd) in efct_lio_release_cmd() 1341 struct se_cmd *se_cmd = &io->tgt_io.cmd; in efct_scsi_recv_cmd() local
|