Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/target/
Dtarget_core_xcopy.c105 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()
326 static int target_xcopy_parse_segment_descriptors(struct se_cmd *se_cmd, in target_xcopy_parse_segment_descriptors()
383 struct se_cmd se_cmd; member
392 static int xcopy_pt_get_cmd_state(struct se_cmd *se_cmd) in xcopy_pt_get_cmd_state()
413 static void xcopy_pt_release_cmd(struct se_cmd *se_cmd) in xcopy_pt_release_cmd()
421 static int xcopy_pt_check_stop_free(struct se_cmd *se_cmd) in xcopy_pt_check_stop_free()
430 static int xcopy_pt_write_pending(struct se_cmd *se_cmd) in xcopy_pt_write_pending()
435 static int xcopy_pt_queue_data_in(struct se_cmd *se_cmd) in xcopy_pt_queue_data_in()
[all …]
Dtarget_core_tmr.c27 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()
119 struct se_cmd *se_cmd; in core_tmr_abort_task() local
Dtarget_core_transport.c1524 int target_submit_cmd_map_sgls(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_cmd_map_sgls()
1666 int target_submit_cmd(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_cmd()
1678 struct se_cmd *se_cmd = container_of(work, struct se_cmd, work); in target_complete_tmr_failure() local
1689 struct se_cmd *se_cmd; in target_lookup_lun_from_tag() local
1726 int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_tmr()
2703 int target_get_sess_cmd(struct se_cmd *se_cmd, bool ack_kref) in target_get_sess_cmd()
2750 struct se_cmd *se_cmd = container_of(kref, struct se_cmd, cmd_kref); in target_release_cmd_kref() local
2782 int target_put_sess_cmd(struct se_cmd *se_cmd) in target_put_sess_cmd()
Dtarget_core_user.c169 struct se_cmd *se_cmd; member
551 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in tcmu_cmd_get_data_length() local
570 static struct tcmu_cmd *tcmu_alloc_cmd(struct se_cmd *se_cmd) in tcmu_alloc_cmd()
741 struct se_cmd *se_cmd = cmd->se_cmd; in gather_data_area() local
873 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in tcmu_cmd_get_cmd_size() local
957 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in queue_cmd_ring() local
1110 tcmu_queue_cmd(struct se_cmd *se_cmd) in tcmu_queue_cmd()
1132 struct se_cmd *se_cmd = cmd->se_cmd; in tcmu_handle_completion() local
1287 struct se_cmd *se_cmd; in tcmu_check_expired_cmd() local
Dtarget_core_device.c48 transport_lookup_cmd_lun(struct se_cmd *se_cmd, u64 unpacked_lun) in transport_lookup_cmd_lun()
147 int transport_lookup_tmr_lun(struct se_cmd *se_cmd, u64 unpacked_lun) in transport_lookup_tmr_lun()
/Linux-v5.4/include/target/
Dtarget_core_base.h448 struct se_cmd { struct
468 /* See se_cmd_flags_table */ argument
469 u32 se_cmd_flags; argument
485 struct list_head se_cmd_list; argument
489 sense_reason_t (*execute_cmd)(struct se_cmd *); argument
490 sense_reason_t (*transport_complete_callback)(struct se_cmd *, bool, int *); argument
491 void *protocol_data;
493 unsigned char *t_task_cdb;
494 unsigned char __t_task_cdb[TCM_MAX_COMMAND_SIZE];
495 unsigned long long t_task_lba;
[all …]
Dtarget_core_fabric.h219 target_reverse_dma_direction(struct se_cmd *se_cmd) in target_reverse_dma_direction()
/Linux-v5.4/drivers/target/tcm_fc/
Dtfc_cmd.c36 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()
Dtfc_io.c42 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
Dtcm_fc.h109 struct se_cmd se_cmd; /* Local TCM I/O descriptor */ member
/Linux-v5.4/drivers/target/loopback/
Dtcm_loop.c52 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()
548 static int tcm_loop_queue_data_in(struct se_cmd *se_cmd) in tcm_loop_queue_data_in()
566 static int tcm_loop_queue_status(struct se_cmd *se_cmd) in tcm_loop_queue_status()
594 static void tcm_loop_queue_tm_rsp(struct se_cmd *se_cmd) in tcm_loop_queue_tm_rsp()
603 static void tcm_loop_aborted_task(struct se_cmd *se_cmd) in tcm_loop_aborted_task()
/Linux-v5.4/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
544 struct se_cmd *se_cmd = &cmd->se_cmd; in uasp_prepare_status() local
674 struct se_cmd *se_cmd = &cmd->se_cmd; in uasp_send_write_request() local
955 struct se_cmd *se_cmd = &cmd->se_cmd; in usbg_data_write_cmpl() local
978 struct se_cmd *se_cmd = &cmd->se_cmd; in usbg_prepare_w_request() local
1000 static int usbg_send_status_response(struct se_cmd *se_cmd) in usbg_send_status_response()
1012 static int usbg_send_write_request(struct se_cmd *se_cmd) in usbg_send_write_request()
1024 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-v5.4/drivers/target/iscsi/
Discsi_target_configfs.c1338 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()
1512 static int lio_check_stop_free(struct se_cmd *se_cmd) in lio_check_stop_free()
1517 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.c356 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
Discsi_target_erl1.c381 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.4/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c289 static int tcm_qla2xxx_check_stop_free(struct se_cmd *se_cmd) in tcm_qla2xxx_check_stop_free()
304 static void tcm_qla2xxx_release_cmd(struct se_cmd *se_cmd) in tcm_qla2xxx_release_cmd()
359 static int tcm_qla2xxx_write_pending(struct se_cmd *se_cmd) in tcm_qla2xxx_write_pending()
403 static int tcm_qla2xxx_get_cmd_state(struct se_cmd *se_cmd) in tcm_qla2xxx_get_cmd_state()
421 struct se_cmd *se_cmd = &cmd->se_cmd; in tcm_qla2xxx_handle_cmd() local
531 struct se_cmd *se_cmd = &cmd->se_cmd; in tcm_qla2xxx_dif_tags() local
549 struct se_cmd *se_cmd = &mcmd->se_cmd; in tcm_qla2xxx_handle_tmr() local
619 static int tcm_qla2xxx_queue_data_in(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_data_in()
660 static int tcm_qla2xxx_queue_status(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_status()
708 static void tcm_qla2xxx_queue_tm_rsp(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_tm_rsp()
[all …]
Dqla_target.c2725 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_pre_xmit_response() local
2855 qlt_hba_err_chk_enabled(struct se_cmd *se_cmd) in qlt_hba_err_chk_enabled()
2878 qla_tgt_ref_mask_check(struct se_cmd *se_cmd) in qla_tgt_ref_mask_check()
2901 struct se_cmd *se_cmd = &cmd->se_cmd; in qla_tgt_set_dif_tags() local
2997 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_build_ctio_crc2_pkt() local
3751 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_abort_cmd() local
3906 struct se_cmd *se_cmd; in qlt_do_ctio_completion() local
/Linux-v5.4/drivers/target/sbp/
Dsbp_target.c1360 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.4/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c57 static void ibmvscsis_determine_resid(struct se_cmd *se_cmd, in ibmvscsis_determine_resid()
3062 struct se_cmd *se_cmd = &cmd->se_cmd; in ibmvscsis_fast_fail() local
3093 struct se_cmd *se_cmd = &cmd->se_cmd; in srp_build_response() local
3728 static int ibmvscsis_check_stop_free(struct se_cmd *se_cmd) in ibmvscsis_check_stop_free()
3733 static void ibmvscsis_release_cmd(struct se_cmd *se_cmd) in ibmvscsis_release_cmd()
3751 static int ibmvscsis_write_pending(struct se_cmd *se_cmd) in ibmvscsis_write_pending()
3789 static int ibmvscsis_get_cmd_state(struct se_cmd *se_cmd) in ibmvscsis_get_cmd_state()
3794 static int ibmvscsis_queue_data_in(struct se_cmd *se_cmd) in ibmvscsis_queue_data_in()
3823 static int ibmvscsis_queue_status(struct se_cmd *se_cmd) in ibmvscsis_queue_status()
3839 static void ibmvscsis_queue_tm_rsp(struct se_cmd *se_cmd) in ibmvscsis_queue_tm_rsp()
[all …]
/Linux-v5.4/drivers/xen/
Dxen-scsiback.c136 struct se_cmd se_cmd; member
398 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_cmd_exec() local
598 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_device_action() local
1384 static int scsiback_check_stop_free(struct se_cmd *se_cmd) in scsiback_check_stop_free()
1389 static void scsiback_release_cmd(struct se_cmd *se_cmd) in scsiback_release_cmd()
1399 static int scsiback_write_pending(struct se_cmd *se_cmd) in scsiback_write_pending()
1411 static int scsiback_get_cmd_state(struct se_cmd *se_cmd) in scsiback_get_cmd_state()
1416 static int scsiback_queue_data_in(struct se_cmd *se_cmd) in scsiback_queue_data_in()
1426 static int scsiback_queue_status(struct se_cmd *se_cmd) in scsiback_queue_status()
1443 static void scsiback_queue_tm_rsp(struct se_cmd *se_cmd) in scsiback_queue_tm_rsp()
[all …]
/Linux-v5.4/drivers/vhost/
Dscsi.c323 static void vhost_scsi_release_cmd(struct se_cmd *se_cmd) in vhost_scsi_release_cmd()
348 static int vhost_scsi_write_pending(struct se_cmd *se_cmd) in vhost_scsi_write_pending()
360 static int vhost_scsi_get_cmd_state(struct se_cmd *se_cmd) in vhost_scsi_get_cmd_state()
374 static int vhost_scsi_queue_data_in(struct se_cmd *se_cmd) in vhost_scsi_queue_data_in()
382 static int vhost_scsi_queue_status(struct se_cmd *se_cmd) in vhost_scsi_queue_status()
390 static void vhost_scsi_queue_tm_rsp(struct se_cmd *se_cmd) in vhost_scsi_queue_tm_rsp()
395 static void vhost_scsi_aborted_task(struct se_cmd *se_cmd) in vhost_scsi_aborted_task()
434 struct se_cmd *se_cmd = &cmd->tvc_se_cmd; in vhost_scsi_free_cmd() local
441 static int vhost_scsi_check_stop_free(struct se_cmd *se_cmd) in vhost_scsi_check_stop_free()
526 struct se_cmd *se_cmd; in vhost_scsi_complete_cmd_work() local
[all …]
/Linux-v5.4/drivers/infiniband/ulp/isert/
Dib_isert.c1488 struct se_cmd *se_cmd = &cmd->iscsi_cmd->se_cmd; in isert_rdma_rw_ctx_destroy() local
1534 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_put_cmd() local
1609 isert_check_pi_status(struct se_cmd *se_cmd, struct ib_mr *sig_mr) in isert_check_pi_status()
1702 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_rdma_read_done() local
2062 isert_set_dif_domain(struct se_cmd *se_cmd, struct ib_sig_domain *domain) in isert_set_dif_domain()
2082 isert_set_sig_attrs(struct se_cmd *se_cmd, struct ib_sig_attrs *sig_attrs) in isert_set_sig_attrs()
2121 struct se_cmd *se_cmd = &cmd->iscsi_cmd->se_cmd; in isert_rdma_rw_ctx_post() local
2176 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_put_datain() local
/Linux-v5.4/drivers/infiniband/ulp/srpt/
Dib_srpt.c2700 static int srpt_write_pending(struct se_cmd *se_cmd) in srpt_write_pending()
3281 static void srpt_release_cmd(struct se_cmd *se_cmd) in srpt_release_cmd()
3339 static int srpt_get_tcm_cmd_state(struct se_cmd *se_cmd) in srpt_get_tcm_cmd_state()

12