| /linux/drivers/target/ |
| H A D | target_core_xcopy.c | 116 static int target_xcopy_parse_tiddesc_e4(struct se_cmd *se_cmd, struct xcopy_op *xop, in target_xcopy_parse_tiddesc_e4() 202 static int target_xcopy_parse_target_descriptors(struct se_cmd *se_cmd, in target_xcopy_parse_target_descriptors() 392 struct se_cmd se_cmd; member 401 static int xcopy_pt_get_cmd_state(struct se_cmd *se_cmd) in xcopy_pt_get_cmd_state() 416 static void xcopy_pt_release_cmd(struct se_cmd *se_cmd) in xcopy_pt_release_cmd() 425 static int xcopy_pt_check_stop_free(struct se_cmd *se_cmd) in xcopy_pt_check_stop_free() 434 static int xcopy_pt_write_pending(struct se_cmd *se_cmd) in xcopy_pt_write_pending() 439 static int xcopy_pt_queue_data_in(struct se_cmd *se_cmd) in xcopy_pt_queue_data_in() 444 static int xcopy_pt_queue_status(struct se_cmd *se_cmd) in xcopy_pt_queue_status() 552 struct se_cmd *se_cmd = &xpt_cmd->se_cmd; in target_xcopy_issue_pt_cmd() local [all …]
|
| H 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
|
| H A D | target_core_transport.c | 1694 int target_init_cmd(struct se_cmd *se_cmd, struct se_session *se_sess, in target_init_cmd() 1751 int target_submit_prep(struct se_cmd *se_cmd, unsigned char *cdb, in target_submit_prep() 1836 void target_submit_cmd(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_cmd() 1889 struct se_cmd *se_cmd, *next_cmd; in target_queued_submit_work() local 1917 static void target_queue_submission(struct se_cmd *se_cmd) in target_queue_submission() 1935 int target_submit(struct se_cmd *se_cmd) in target_submit() 1959 struct se_cmd *se_cmd = container_of(work, struct se_cmd, work); in target_complete_tmr_failure() local 1985 int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_tmr() 3006 int target_get_sess_cmd(struct se_cmd *se_cmd, bool ack_kref) in target_get_sess_cmd() 3047 struct se_cmd *se_cmd = container_of(kref, struct se_cmd, cmd_kref); in target_release_cmd_kref() local [all …]
|
| H A D | target_core_user.c | 177 struct se_cmd *se_cmd; member 581 struct se_cmd *se_cmd = cmd->se_cmd; in tcmu_cmd_set_block_cnts() local 633 static struct tcmu_cmd *tcmu_alloc_cmd(struct se_cmd *se_cmd) in tcmu_alloc_cmd() 777 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in scatter_data_area() local 786 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in gather_data_area() local 903 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in tcmu_cmd_get_cmd_size() local 1015 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in queue_cmd_ring() local 1203 tcmu_queue_cmd(struct se_cmd *se_cmd) in tcmu_queue_cmd() 1261 struct se_cmd *se_cmd; in tcmu_tmr_notify() local 1323 struct se_cmd *se_cmd = cmd->se_cmd; in tcmu_handle_completion() local [all …]
|
| H A D | target_core_device.c | 47 transport_lookup_cmd_lun(struct se_cmd *se_cmd) in transport_lookup_cmd_lun() 142 int transport_lookup_tmr_lun(struct se_cmd *se_cmd) in transport_lookup_tmr_lun()
|
| /linux/include/target/ |
| H A D | target_core_base.h | 518 sense_reason_t (*execute_cmd)(struct se_cmd *); argument 519 sense_reason_t (*transport_complete_callback)(struct se_cmd *, bool, int *); argument 472 struct se_cmd { global() struct 492 map_cpuse_cmd global() argument 493 se_cmd_flagsse_cmd global() argument 510 se_cmd_listse_cmd global() argument 514 execute_cmdse_cmd global() argument 515 transport_complete_callbackse_cmd global() argument 516 protocol_datase_cmd global() argument 520 t_task_lbase_cmd global() argument 521 t_task_nolbse_cmd global() argument 522 transport_statese_cmd global() argument 530 t_state_lockse_cmd global() argument 531 cmd_krefse_cmd global() argument 532 t_transport_stop_compse_cmd global() argument 534 workse_cmd global() argument 536 t_data_sgse_cmd global() argument 537 t_data_sg_origse_cmd global() argument 538 t_data_nentsse_cmd global() argument 539 t_data_nents_origse_cmd global() argument 540 t_data_vmapse_cmd global() argument 541 t_bidi_data_sgse_cmd global() argument 542 t_bidi_data_nentsse_cmd global() argument 545 lun_ref_activese_cmd global() argument 547 state_listse_cmd global() argument 550 privse_cmd global() argument 553 prot_opse_cmd global() argument 554 prot_typese_cmd global() argument 555 prot_checksse_cmd global() argument 556 prot_ptose_cmd global() argument 557 prot_lengthse_cmd global() argument 558 reftag_seedse_cmd global() argument 559 t_prot_sgse_cmd global() argument 560 t_prot_nentsse_cmd global() argument 561 pi_errse_cmd global() argument 562 sense_infose_cmd global() argument 567 cpuidse_cmd global() argument [all...] |
| H A D | target_core_fabric.h | 240 target_reverse_dma_direction(struct se_cmd *se_cmd) in target_reverse_dma_direction()
|
| /linux/drivers/target/tcm_fc/ |
| H 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() 375 void ft_queue_tm_resp(struct se_cmd *se_cmd) in ft_queue_tm_resp() 410 void ft_aborted_task(struct se_cmd *se_cmd) in ft_aborted_task()
|
| H 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
|
| H A D | tcm_fc.h | 109 struct se_cmd se_cmd; /* Local TCM I/O descriptor */ member
|
| /linux/drivers/target/loopback/ |
| H 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() 103 struct se_cmd *se_cmd = &tl_cmd->tl_se_cmd; in tcm_loop_target_queue_cmd() local 193 struct se_cmd *se_cmd; in tcm_loop_issue_tmr() local 490 static int tcm_loop_get_cmd_state(struct se_cmd *se_cmd) in tcm_loop_get_cmd_state() 498 static int tcm_loop_write_pending(struct se_cmd *se_cmd) in tcm_loop_write_pending() 514 struct se_cmd *se_cmd, u8 scsi_status) in tcm_loop_queue_data_or_status() 540 static int tcm_loop_queue_data_in(struct se_cmd *se_cmd) in tcm_loop_queue_data_in() 545 static int tcm_loop_queue_status(struct se_cmd *se_cmd) in tcm_loop_queue_status() 551 static void tcm_loop_queue_tm_rsp(struct se_cmd *se_cmd) in tcm_loop_queue_tm_rsp() [all …]
|
| /linux/drivers/usb/gadget/function/ |
| H A D | f_tcm.c | 212 struct se_cmd *se_cmd = &cmd->se_cmd; in bot_send_read_response() local 559 struct se_cmd *se_cmd = &cmd->se_cmd; uasp_prepare_r_request() local 593 struct se_cmd *se_cmd = &cmd->se_cmd; uasp_prepare_status() local 616 struct se_cmd *se_cmd = &cmd->se_cmd; uasp_prepare_response() local 820 struct se_cmd *se_cmd = &cmd->se_cmd; uasp_send_write_request() local 1080 struct se_cmd *se_cmd = &cmd->se_cmd; usbg_data_write_cmpl() local 1125 struct se_cmd *se_cmd = &cmd->se_cmd; usbg_prepare_w_request() local 1151 usbg_send_status_response(struct se_cmd * se_cmd) usbg_send_status_response() argument 1163 usbg_send_write_request(struct se_cmd * se_cmd) usbg_send_write_request() argument 1175 usbg_send_read_response(struct se_cmd * se_cmd) usbg_send_read_response() argument 1192 struct se_cmd *se_cmd; usbg_submit_tmr() local 1206 struct se_cmd *se_cmd; usbg_submit_cmd() local 1466 struct se_cmd *se_cmd; bot_cmd_work() local 1577 usbg_release_cmd(struct se_cmd * se_cmd) usbg_release_cmd() argument 1588 usbg_queue_tm_rsp(struct se_cmd * se_cmd) usbg_queue_tm_rsp() argument 1595 usbg_aborted_task(struct se_cmd * se_cmd) usbg_aborted_task() argument 1987 usbg_check_stop_free(struct se_cmd * se_cmd) usbg_check_stop_free() argument [all...] |
| /linux/drivers/scsi/qla2xxx/ |
| H A D | tcm_qla2xxx.c | 332 static int tcm_qla2xxx_check_stop_free(struct se_cmd *se_cmd) in tcm_qla2xxx_check_stop_free() 347 static void tcm_qla2xxx_release_cmd(struct se_cmd *se_cmd) in tcm_qla2xxx_release_cmd() 393 static int tcm_qla2xxx_write_pending(struct se_cmd *se_cmd) in tcm_qla2xxx_write_pending() 432 static int tcm_qla2xxx_get_cmd_state(struct se_cmd *se_cmd) in tcm_qla2xxx_get_cmd_state() 450 struct se_cmd *se_cmd = &cmd->se_cmd; in tcm_qla2xxx_handle_cmd() local 577 struct se_cmd *se_cmd = &cmd->se_cmd; in tcm_qla2xxx_dif_tags() local 595 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() 743 static void tcm_qla2xxx_queue_tm_rsp(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_tm_rsp() [all …]
|
| H A D | qla_target.c | 2730 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_pre_xmit_response() local 2864 qlt_hba_err_chk_enabled(struct se_cmd *se_cmd) in qlt_hba_err_chk_enabled() 2887 qla_tgt_ref_mask_check(struct se_cmd *se_cmd) in qla_tgt_ref_mask_check() 2910 struct se_cmd *se_cmd = &cmd->se_cmd; in qla_tgt_set_dif_tags() local 3006 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_build_ctio_crc2_pkt() local 5592 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_restore_orig_sg() local 5837 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_handle_srr() local
|
| /linux/drivers/target/sbp/ |
| H A D | sbp_target.c | 1356 struct se_cmd *se_cmd = &req->se_cmd; in sbp_sense_mangle() local 1423 struct se_cmd *se_cmd = &req->se_cmd; in sbp_send_sense() local 1440 struct se_cmd *se_cmd = &req->se_cmd; in sbp_free_request() local 1689 static void sbp_release_cmd(struct se_cmd *se_cmd) in sbp_release_cmd() 1697 static int sbp_write_pending(struct se_cmd *se_cmd) in sbp_write_pending() 1720 static int sbp_queue_data_in(struct se_cmd *se_cmd) in sbp_queue_data_in() 1744 static int sbp_queue_status(struct se_cmd *se_cmd) in sbp_queue_status() 1752 static void sbp_queue_tm_rsp(struct se_cmd *se_cmd) in sbp_queue_tm_rsp() 1756 static void sbp_aborted_task(struct se_cmd *se_cmd) in sbp_aborted_task() 1761 static int sbp_check_stop_free(struct se_cmd *se_cmd) in sbp_check_stop_free()
|
| /linux/drivers/xen/ |
| H A D | xen-scsiback.c | 135 struct se_cmd se_cmd; member 423 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_cmd_exec() local 619 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_device_action() local 1409 static int scsiback_check_stop_free(struct se_cmd *se_cmd) in scsiback_check_stop_free() 1414 static void scsiback_release_cmd(struct se_cmd *se_cmd) in scsiback_release_cmd() 1419 static int scsiback_write_pending(struct se_cmd *se_cmd) in scsiback_write_pending() 1427 static int scsiback_queue_data_in(struct se_cmd *se_cmd) in scsiback_queue_data_in() 1437 static int scsiback_queue_status(struct se_cmd *se_cmd) in scsiback_queue_status() 1453 static void scsiback_queue_tm_rsp(struct se_cmd *se_cmd) in scsiback_queue_tm_rsp() 1461 static void scsiback_aborted_task(struct se_cmd *se_cmd) in scsiback_aborted_task()
|
| /linux/drivers/scsi/ibmvscsi_tgt/ |
| H A D | ibmvscsi_tgt.c | 58 static void ibmvscsis_determine_resid(struct se_cmd *se_cmd, in ibmvscsis_determine_resid() 3045 struct se_cmd *se_cmd = &cmd->se_cmd; in ibmvscsis_fast_fail() local 3076 struct se_cmd *se_cmd = &cmd->se_cmd; in srp_build_response() local 3693 static int ibmvscsis_check_stop_free(struct se_cmd *se_cmd) in ibmvscsis_check_stop_free() 3698 static void ibmvscsis_release_cmd(struct se_cmd *se_cmd) in ibmvscsis_release_cmd() 3711 static int ibmvscsis_write_pending(struct se_cmd *se_cmd) in ibmvscsis_write_pending() 3745 static int ibmvscsis_queue_data_in(struct se_cmd *se_cmd) in ibmvscsis_queue_data_in() 3772 static int ibmvscsis_queue_status(struct se_cmd *se_cmd) in ibmvscsis_queue_status() 3788 static void ibmvscsis_queue_tm_rsp(struct se_cmd *se_cmd) in ibmvscsis_queue_tm_rsp() 3820 static void ibmvscsis_aborted_task(struct se_cmd *se_cmd) in ibmvscsis_aborted_task()
|
| H A D | ibmvscsi_tgt.h | 157 struct se_cmd se_cmd; member
|
| /linux/drivers/target/tcm_remote/ |
| H A D | tcm_remote.c | 42 static int tcm_remote_dummy_cmd_fn(struct se_cmd *se_cmd) in tcm_remote_dummy_cmd_fn() 47 static void tcm_remote_dummy_cmd_void_fn(struct se_cmd *se_cmd) in tcm_remote_dummy_cmd_void_fn()
|
| /linux/drivers/vhost/ |
| H A D | scsi.c | 263 struct se_cmd se_cmd; member 416 static void vhost_scsi_release_cmd_res(struct se_cmd *se_cmd) in vhost_scsi_release_cmd_res() 480 static void vhost_scsi_release_cmd(struct se_cmd *se_cmd) in vhost_scsi_release_cmd() 499 static int vhost_scsi_write_pending(struct se_cmd *se_cmd) in vhost_scsi_write_pending() 506 static int vhost_scsi_queue_data_in(struct se_cmd *se_cmd) in vhost_scsi_queue_data_in() 512 static int vhost_scsi_queue_status(struct se_cmd *se_cmd) in vhost_scsi_queue_status() 518 static void vhost_scsi_queue_tm_rsp(struct se_cmd *se_cmd) in vhost_scsi_queue_tm_rsp() 527 static void vhost_scsi_aborted_task(struct se_cmd *se_cmd) in vhost_scsi_aborted_task() 564 static int vhost_scsi_check_stop_free(struct se_cmd *se_cmd) in vhost_scsi_check_stop_free() 693 struct se_cmd *se_cmd; in vhost_scsi_complete_cmd_work() local [all …]
|
| /linux/drivers/infiniband/ulp/isert/ |
| H A D | ib_isert.c | 1406 struct se_cmd *se_cmd = &cmd->iscsit_cmd->se_cmd; in isert_rdma_rw_ctx_destroy() local 1452 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_put_cmd() local 1527 isert_check_pi_status(struct se_cmd *se_cmd, struct ib_mr *sig_mr) in isert_check_pi_status() 1620 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_rdma_read_done() local 1978 isert_set_dif_domain(struct se_cmd *se_cmd, struct ib_sig_domain *domain) in isert_set_dif_domain() 1998 isert_set_sig_attrs(struct se_cmd *se_cmd, struct ib_sig_attrs *sig_attrs) in isert_set_sig_attrs() 2037 struct se_cmd *se_cmd = &cmd->iscsit_cmd->se_cmd; in isert_rdma_rw_ctx_post() local 2092 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_put_datain() local
|
| /linux/drivers/scsi/elx/efct/ |
| H A D | efct_lio.c | 288 static int efct_lio_check_stop_free(struct se_cmd *se_cmd) in efct_lio_check_stop_free() 308 efct_lio_aborted_task(struct se_cmd *se_cmd) in efct_lio_aborted_task() 326 static void efct_lio_release_cmd(struct se_cmd *se_cmd) in efct_lio_release_cmd() 1325 struct se_cmd *se_cmd = &io->tgt_io.cmd; in efct_scsi_recv_cmd() local
|
| /linux/drivers/target/iscsi/ |
| H A D | iscsi_target_erl1.c | 381 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_handle_recovery_datain() local 888 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_execute_cmd() local
|
| H A D | iscsi_target_util.c | 656 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_release_cmd() local 703 struct se_cmd *se_cmd = cmd->se_cmd.se_tfo ? &cmd->se_cmd : NULL; in iscsit_free_cmd() local
|
| /linux/drivers/infiniband/ulp/srpt/ |
| H A D | ib_srpt.c | 2802 static int srpt_write_pending(struct se_cmd *se_cmd) in srpt_write_pending() 3393 static void srpt_release_cmd(struct se_cmd *se_cmd) in srpt_release_cmd() 3433 static int srpt_get_tcm_cmd_state(struct se_cmd *se_cmd) in srpt_get_tcm_cmd_state()
|