Home
last modified time | relevance | path

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

12

/linux-5.19.10/drivers/target/
Dtarget_core_xcopy.c115 static int target_xcopy_parse_tiddesc_e4(struct se_cmd *se_cmd, struct xcopy_op *xop, in target_xcopy_parse_tiddesc_e4()
201 static int target_xcopy_parse_target_descriptors(struct se_cmd *se_cmd, in target_xcopy_parse_target_descriptors()
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()
424 static int xcopy_pt_check_stop_free(struct se_cmd *se_cmd) in xcopy_pt_check_stop_free()
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
[all …]
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
Dtarget_core_transport.c1635 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 …]
Dtarget_core_user.c177 struct se_cmd *se_cmd; member
580 struct se_cmd *se_cmd = cmd->se_cmd; in tcmu_cmd_set_block_cnts() local
632 static struct tcmu_cmd *tcmu_alloc_cmd(struct se_cmd *se_cmd) in tcmu_alloc_cmd()
776 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in scatter_data_area() local
785 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in gather_data_area() local
902 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in tcmu_cmd_get_cmd_size() local
1014 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in queue_cmd_ring() local
1202 tcmu_queue_cmd(struct se_cmd *se_cmd) in tcmu_queue_cmd()
1260 struct se_cmd *se_cmd; in tcmu_tmr_notify() local
1322 struct se_cmd *se_cmd = cmd->se_cmd; in tcmu_handle_completion() local
[all …]
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()
/linux-5.19.10/drivers/target/tcm_fc/
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()
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()
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
Dtcm_fc.h109 struct se_cmd se_cmd; /* Local TCM I/O descriptor */ member
/linux-5.19.10/include/target/
Dtarget_core_base.h459 struct se_cmd { struct
479 /* See se_cmd_flags_table */ argument
480 u32 se_cmd_flags; argument
496 struct llist_node se_cmd_list; argument
500 sense_reason_t (*execute_cmd)(struct se_cmd *); argument
501 sense_reason_t (*transport_complete_callback)(struct se_cmd *, bool, int *); argument
502 void *protocol_data;
504 unsigned char *t_task_cdb;
505 unsigned char __t_task_cdb[TCM_MAX_COMMAND_SIZE];
506 unsigned long long t_task_lba;
[all …]
Dtarget_core_fabric.h228 target_reverse_dma_direction(struct se_cmd *se_cmd) in target_reverse_dma_direction()
/linux-5.19.10/drivers/target/loopback/
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()
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-5.19.10/drivers/usb/gadget/function/
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
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 …]
Dtcm.h72 struct se_cmd se_cmd; member
/linux-5.19.10/drivers/scsi/qla2xxx/
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()
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 …]
Dqla_target.c2786 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_pre_xmit_response() local
2920 qlt_hba_err_chk_enabled(struct se_cmd *se_cmd) in qlt_hba_err_chk_enabled()
2943 qla_tgt_ref_mask_check(struct se_cmd *se_cmd) in qla_tgt_ref_mask_check()
2966 struct se_cmd *se_cmd = &cmd->se_cmd; in qla_tgt_set_dif_tags() local
3062 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_build_ctio_crc2_pkt() local
3815 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_abort_cmd() local
3968 struct se_cmd *se_cmd; in qlt_do_ctio_completion() local
/linux-5.19.10/drivers/target/iscsi/
Discsi_target_configfs.c1345 static int iscsi_get_cmd_state(struct se_cmd *se_cmd) in iscsi_get_cmd_state()
1371 static int lio_queue_data_in(struct se_cmd *se_cmd) in lio_queue_data_in()
1380 static int lio_write_pending(struct se_cmd *se_cmd) in lio_write_pending()
1391 static int lio_queue_status(struct se_cmd *se_cmd) in lio_queue_status()
1404 static void lio_queue_tm_rsp(struct se_cmd *se_cmd) in lio_queue_tm_rsp()
1412 static void lio_aborted_task(struct se_cmd *se_cmd) in lio_aborted_task()
1522 static int lio_check_stop_free(struct se_cmd *se_cmd) in lio_check_stop_free()
1527 static void lio_release_cmd(struct se_cmd *se_cmd) in lio_release_cmd()
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
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
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
/linux-5.19.10/drivers/target/sbp/
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
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-5.19.10/drivers/scsi/ibmvscsi_tgt/
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
3711 static int ibmvscsis_check_stop_free(struct se_cmd *se_cmd) in ibmvscsis_check_stop_free()
3716 static void ibmvscsis_release_cmd(struct se_cmd *se_cmd) in ibmvscsis_release_cmd()
3734 static int ibmvscsis_write_pending(struct se_cmd *se_cmd) in ibmvscsis_write_pending()
3772 static int ibmvscsis_get_cmd_state(struct se_cmd *se_cmd) in ibmvscsis_get_cmd_state()
3777 static int ibmvscsis_queue_data_in(struct se_cmd *se_cmd) in ibmvscsis_queue_data_in()
3804 static int ibmvscsis_queue_status(struct se_cmd *se_cmd) in ibmvscsis_queue_status()
3820 static void ibmvscsis_queue_tm_rsp(struct se_cmd *se_cmd) in ibmvscsis_queue_tm_rsp()
[all …]
/linux-5.19.10/drivers/xen/
Dxen-scsiback.c135 struct se_cmd se_cmd; member
435 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_cmd_exec() local
632 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_device_action() local
1428 static int scsiback_check_stop_free(struct se_cmd *se_cmd) in scsiback_check_stop_free()
1433 static void scsiback_release_cmd(struct se_cmd *se_cmd) in scsiback_release_cmd()
1443 static int scsiback_write_pending(struct se_cmd *se_cmd) in scsiback_write_pending()
1455 static int scsiback_get_cmd_state(struct se_cmd *se_cmd) in scsiback_get_cmd_state()
1460 static int scsiback_queue_data_in(struct se_cmd *se_cmd) in scsiback_queue_data_in()
1470 static int scsiback_queue_status(struct se_cmd *se_cmd) in scsiback_queue_status()
1486 static void scsiback_queue_tm_rsp(struct se_cmd *se_cmd) in scsiback_queue_tm_rsp()
[all …]
/linux-5.19.10/drivers/vhost/
Dscsi.c208 struct se_cmd se_cmd; member
325 static void vhost_scsi_release_cmd_res(struct se_cmd *se_cmd) in vhost_scsi_release_cmd_res()
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()
[all …]
/linux-5.19.10/drivers/infiniband/ulp/isert/
Dib_isert.c1408 struct se_cmd *se_cmd = &cmd->iscsit_cmd->se_cmd; in isert_rdma_rw_ctx_destroy() local
1454 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_put_cmd() local
1529 isert_check_pi_status(struct se_cmd *se_cmd, struct ib_mr *sig_mr) in isert_check_pi_status()
1622 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_rdma_read_done() local
1980 isert_set_dif_domain(struct se_cmd *se_cmd, struct ib_sig_domain *domain) in isert_set_dif_domain()
2000 isert_set_sig_attrs(struct se_cmd *se_cmd, struct ib_sig_attrs *sig_attrs) in isert_set_sig_attrs()
2039 struct se_cmd *se_cmd = &cmd->iscsit_cmd->se_cmd; in isert_rdma_rw_ctx_post() local
2094 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_put_datain() local
/linux-5.19.10/drivers/scsi/elx/efct/
Defct_lio.c293 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()
1338 struct se_cmd *se_cmd = &io->tgt_io.cmd; in efct_scsi_recv_cmd() local

12