Home
last modified time | relevance | path

Searched defs:se_cmd (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/linux/drivers/target/
H A Dtarget_core_xcopy.c391 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()
551 struct se_cmd *se_cmd = &xpt_cmd->se_cmd; in target_xcopy_issue_pt_cmd() local
577 struct se_cmd *se_cmd = &xpt_cmd.se_cmd; in target_xcopy_read_source() local
622 struct se_cmd *se_cmd = &xpt_cmd.se_cmd; in target_xcopy_write_destination() local
788 struct se_cmd *se_cmd = xop->xop_se_cmd; in target_parse_xcopy_cmd() local
[all …]
H A Dtarget_core_tmr.c27 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 Dtarget_core_transport.c1667 int target_init_cmd(struct se_cmd *se_cmd, struct se_session *se_sess, in target_init_cmd()
1724 int target_submit_prep(struct se_cmd *se_cmd, unsigned char *cdb, in target_submit_prep()
1791 void target_submit(struct se_cmd *se_cmd) in target_submit()
1856 void target_submit_cmd(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_cmd()
1909 struct se_cmd *se_cmd, *next_cmd; in target_queued_submit_work() local
1937 void target_queue_submission(struct se_cmd *se_cmd) in target_queue_submission()
1951 struct se_cmd *se_cmd = container_of(work, struct se_cmd, work); in target_complete_tmr_failure() local
1977 int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_tmr()
2992 int target_get_sess_cmd(struct se_cmd *se_cmd, bool ack_kref) in target_get_sess_cmd()
3033 struct se_cmd *se_cmd = container_of(kref, struct se_cmd, cmd_kref); in target_release_cmd_kref() local
[all …]
H A Dtarget_core_user.c177 struct se_cmd *se_cmd; member
581 struct se_cmd *se_cmd = cmd->se_cmd; in tcmu_cmd_set_block_cnts() local
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
1520 struct se_cmd *se_cmd; in tcmu_check_expired_ring_cmd() local
[all …]
H A Dtarget_core_device.c48 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()
/openbmc/linux/include/target/
H A Dtarget_core_base.h461 struct se_cmd { struct
481 /* See se_cmd_flags_table */ argument
482 u32 se_cmd_flags; argument
503 sense_reason_t (*execute_cmd)(struct se_cmd *); argument
539 void *priv;
544 u8 prot_checks;
545 bool prot_pto;
546 u32 prot_length;
547 u32 reftag_seed;
551 u64 sense_info;
[all …]
H A Dtarget_core_fabric.h235 target_reverse_dma_direction(struct se_cmd *se_cmd) in target_reverse_dma_direction()
/openbmc/linux/drivers/target/tcm_fc/
H A Dtfc_cmd.c35 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 Dtfc_io.c41 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 Dtcm_fc.h109 struct se_cmd se_cmd; /* Local TCM I/O descriptor */ member
/openbmc/linux/drivers/target/loopback/
H A Dtcm_loop.c60 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
192 struct se_cmd *se_cmd; in tcm_loop_issue_tmr() local
488 static int tcm_loop_get_cmd_state(struct se_cmd *se_cmd) in tcm_loop_get_cmd_state()
496 static int tcm_loop_write_pending(struct se_cmd *se_cmd) in tcm_loop_write_pending()
512 struct se_cmd *se_cmd, u8 scsi_status) in tcm_loop_queue_data_or_status()
538 static int tcm_loop_queue_data_in(struct se_cmd *se_cmd) in tcm_loop_queue_data_in()
543 static int tcm_loop_queue_status(struct se_cmd *se_cmd) in tcm_loop_queue_status()
549 static void tcm_loop_queue_tm_rsp(struct se_cmd *se_cmd) in tcm_loop_queue_tm_rsp()
[all …]
/openbmc/linux/drivers/usb/gadget/function/
H A Df_tcm.c205 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
1272 static void usbg_release_cmd(struct se_cmd *se_cmd) in usbg_release_cmd()
[all …]
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.c319 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()
380 static int tcm_qla2xxx_write_pending(struct se_cmd *se_cmd) in tcm_qla2xxx_write_pending()
419 static int tcm_qla2xxx_get_cmd_state(struct se_cmd *se_cmd) in tcm_qla2xxx_get_cmd_state()
437 struct se_cmd *se_cmd = &cmd->se_cmd; in tcm_qla2xxx_handle_cmd() local
561 struct se_cmd *se_cmd = &cmd->se_cmd; in tcm_qla2xxx_dif_tags() local
579 struct se_cmd *se_cmd = &mcmd->se_cmd; in tcm_qla2xxx_handle_tmr() local
642 static int tcm_qla2xxx_queue_data_in(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_data_in()
681 static int tcm_qla2xxx_queue_status(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_status()
727 static void tcm_qla2xxx_queue_tm_rsp(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_tm_rsp()
[all …]
H A Dqla_target.c2781 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_pre_xmit_response() local
2915 qlt_hba_err_chk_enabled(struct se_cmd *se_cmd) in qlt_hba_err_chk_enabled()
2938 qla_tgt_ref_mask_check(struct se_cmd *se_cmd) in qla_tgt_ref_mask_check()
2961 struct se_cmd *se_cmd = &cmd->se_cmd; in qla_tgt_set_dif_tags() local
3057 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_build_ctio_crc2_pkt() local
3810 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_abort_cmd() local
3963 struct se_cmd *se_cmd; in qlt_do_ctio_completion() local
/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_configfs.c1359 static int iscsi_get_cmd_state(struct se_cmd *se_cmd) in iscsi_get_cmd_state()
1385 static int lio_queue_data_in(struct se_cmd *se_cmd) in lio_queue_data_in()
1394 static int lio_write_pending(struct se_cmd *se_cmd) in lio_write_pending()
1405 static int lio_queue_status(struct se_cmd *se_cmd) in lio_queue_status()
1418 static void lio_queue_tm_rsp(struct se_cmd *se_cmd) in lio_queue_tm_rsp()
1426 static void lio_aborted_task(struct se_cmd *se_cmd) in lio_aborted_task()
1529 static int lio_check_stop_free(struct se_cmd *se_cmd) in lio_check_stop_free()
1534 static void lio_release_cmd(struct se_cmd *se_cmd) in lio_release_cmd()
H A Discsi_target_tmr.c233 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
H A Discsi_target_util.c339 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
H A Discsi_target_erl1.c381 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
/openbmc/linux/drivers/target/tcm_remote/
H A Dtcm_remote.c42 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()
/openbmc/linux/drivers/xen/
H A Dxen-scsiback.c135 struct se_cmd se_cmd; member
423 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_cmd_exec() local
620 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_device_action() local
1410 static int scsiback_check_stop_free(struct se_cmd *se_cmd) in scsiback_check_stop_free()
1415 static void scsiback_release_cmd(struct se_cmd *se_cmd) in scsiback_release_cmd()
1420 static int scsiback_write_pending(struct se_cmd *se_cmd) in scsiback_write_pending()
1428 static int scsiback_queue_data_in(struct se_cmd *se_cmd) in scsiback_queue_data_in()
1438 static int scsiback_queue_status(struct se_cmd *se_cmd) in scsiback_queue_status()
1454 static void scsiback_queue_tm_rsp(struct se_cmd *se_cmd) in scsiback_queue_tm_rsp()
1462 static void scsiback_aborted_task(struct se_cmd *se_cmd) in scsiback_aborted_task()
/openbmc/linux/drivers/target/sbp/
H A Dsbp_target.c1357 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
1690 static void sbp_release_cmd(struct se_cmd *se_cmd) in sbp_release_cmd()
1698 static int sbp_write_pending(struct se_cmd *se_cmd) in sbp_write_pending()
1721 static int sbp_queue_data_in(struct se_cmd *se_cmd) in sbp_queue_data_in()
1745 static int sbp_queue_status(struct se_cmd *se_cmd) in sbp_queue_status()
1753 static void sbp_queue_tm_rsp(struct se_cmd *se_cmd) in sbp_queue_tm_rsp()
1757 static void sbp_aborted_task(struct se_cmd *se_cmd) in sbp_aborted_task()
1762 static int sbp_check_stop_free(struct se_cmd *se_cmd) in sbp_check_stop_free()
/openbmc/linux/drivers/scsi/ibmvscsi_tgt/
H A Dibmvscsi_tgt.c58 static void ibmvscsis_determine_resid(struct se_cmd *se_cmd, in ibmvscsis_determine_resid()
3047 struct se_cmd *se_cmd = &cmd->se_cmd; in ibmvscsis_fast_fail() local
3078 struct se_cmd *se_cmd = &cmd->se_cmd; in srp_build_response() local
3701 static int ibmvscsis_check_stop_free(struct se_cmd *se_cmd) in ibmvscsis_check_stop_free()
3706 static void ibmvscsis_release_cmd(struct se_cmd *se_cmd) in ibmvscsis_release_cmd()
3719 static int ibmvscsis_write_pending(struct se_cmd *se_cmd) in ibmvscsis_write_pending()
3753 static int ibmvscsis_queue_data_in(struct se_cmd *se_cmd) in ibmvscsis_queue_data_in()
3780 static int ibmvscsis_queue_status(struct se_cmd *se_cmd) in ibmvscsis_queue_status()
3796 static void ibmvscsis_queue_tm_rsp(struct se_cmd *se_cmd) in ibmvscsis_queue_tm_rsp()
3828 static void ibmvscsis_aborted_task(struct se_cmd *se_cmd) in ibmvscsis_aborted_task()
/openbmc/linux/drivers/vhost/
H A Dscsi.c216 struct se_cmd se_cmd; member
326 static void vhost_scsi_release_cmd_res(struct se_cmd *se_cmd) in vhost_scsi_release_cmd_res()
361 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()
387 static int vhost_scsi_queue_data_in(struct se_cmd *se_cmd) in vhost_scsi_queue_data_in()
393 static int vhost_scsi_queue_status(struct se_cmd *se_cmd) in vhost_scsi_queue_status()
399 static void vhost_scsi_queue_tm_rsp(struct se_cmd *se_cmd) in vhost_scsi_queue_tm_rsp()
408 static void vhost_scsi_aborted_task(struct se_cmd *se_cmd) in vhost_scsi_aborted_task()
445 static int vhost_scsi_check_stop_free(struct se_cmd *se_cmd) in vhost_scsi_check_stop_free()
551 struct se_cmd *se_cmd; in vhost_scsi_complete_cmd_work() local
[all …]
/openbmc/linux/drivers/infiniband/ulp/isert/
H A Dib_isert.c1411 struct se_cmd *se_cmd = &cmd->iscsit_cmd->se_cmd; in isert_rdma_rw_ctx_destroy() local
1457 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_put_cmd() local
1532 isert_check_pi_status(struct se_cmd *se_cmd, struct ib_mr *sig_mr) in isert_check_pi_status()
1625 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_rdma_read_done() local
1983 isert_set_dif_domain(struct se_cmd *se_cmd, struct ib_sig_domain *domain) in isert_set_dif_domain()
2003 isert_set_sig_attrs(struct se_cmd *se_cmd, struct ib_sig_attrs *sig_attrs) in isert_set_sig_attrs()
2042 struct se_cmd *se_cmd = &cmd->iscsit_cmd->se_cmd; in isert_rdma_rw_ctx_post() local
2097 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_put_datain() local
/openbmc/linux/drivers/scsi/elx/efct/
H A Defct_lio.c288 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()
1324 struct se_cmd *se_cmd = &io->tgt_io.cmd; in efct_scsi_recv_cmd() local

12