Home
last modified time | relevance | path

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

12

/linux/drivers/target/
H A Dtarget_core_xcopy.c116 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 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.c1688 int target_init_cmd(struct se_cmd *se_cmd, struct se_session *se_sess, in target_init_cmd()
1745 int target_submit_prep(struct se_cmd *se_cmd, unsigned char *cdb, in target_submit_prep()
1830 void target_submit_cmd(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_cmd()
1883 struct se_cmd *se_cmd, *next_cmd; in target_queued_submit_work() local
1911 static void target_queue_submission(struct se_cmd *se_cmd) in target_queue_submission()
1929 int target_submit(struct se_cmd *se_cmd) in target_submit()
1953 struct se_cmd *se_cmd = container_of(work, struct se_cmd, work); in target_complete_tmr_failure() local
1979 int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_tmr()
2994 int target_get_sess_cmd(struct se_cmd *se_cmd, bool ack_kref) in target_get_sess_cmd()
3035 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
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 Dtarget_core_device.c47 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 Dtarget_core_base.h470 struct se_cmd { struct
490 /* See se_cmd_flags_table */ argument
491 u32 se_cmd_flags; argument
508 struct llist_node se_cmd_list; argument
512 sense_reason_t (*execute_cmd)(struct se_cmd *); argument
513 sense_reason_t (*transport_complete_callback)(struct se_cmd *, bool, int *); argument
514 void *protocol_data;
516 unsigned char *t_task_cdb;
517 unsigned char __t_task_cdb[TCM_MAX_COMMAND_SIZE];
518 unsigned long long t_task_lba;
[all …]
H A Dtarget_core_fabric.h240 target_reverse_dma_direction(struct se_cmd *se_cmd) in target_reverse_dma_direction()
/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
/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 …]
/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
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 …]
/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
/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
888 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_execute_cmd() local
/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()
/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
3694 static int ibmvscsis_check_stop_free(struct se_cmd *se_cmd) in ibmvscsis_check_stop_free()
3699 static void ibmvscsis_release_cmd(struct se_cmd *se_cmd) in ibmvscsis_release_cmd()
3712 static int ibmvscsis_write_pending(struct se_cmd *se_cmd) in ibmvscsis_write_pending()
3746 static int ibmvscsis_queue_data_in(struct se_cmd *se_cmd) in ibmvscsis_queue_data_in()
3773 static int ibmvscsis_queue_status(struct se_cmd *se_cmd) in ibmvscsis_queue_status()
3789 static void ibmvscsis_queue_tm_rsp(struct se_cmd *se_cmd) in ibmvscsis_queue_tm_rsp()
3821 static void ibmvscsis_aborted_task(struct se_cmd *se_cmd) in ibmvscsis_aborted_task()
/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()
/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()
/linux/drivers/vhost/
H A Dscsi.c217 struct se_cmd se_cmd; member
327 static void vhost_scsi_release_cmd_res(struct se_cmd *se_cmd) in vhost_scsi_release_cmd_res()
372 static void vhost_scsi_release_cmd(struct se_cmd *se_cmd) in vhost_scsi_release_cmd()
391 static int vhost_scsi_write_pending(struct se_cmd *se_cmd) in vhost_scsi_write_pending()
398 static int vhost_scsi_queue_data_in(struct se_cmd *se_cmd) in vhost_scsi_queue_data_in()
404 static int vhost_scsi_queue_status(struct se_cmd *se_cmd) in vhost_scsi_queue_status()
410 static void vhost_scsi_queue_tm_rsp(struct se_cmd *se_cmd) in vhost_scsi_queue_tm_rsp()
419 static void vhost_scsi_aborted_task(struct se_cmd *se_cmd) in vhost_scsi_aborted_task()
456 static int vhost_scsi_check_stop_free(struct se_cmd *se_cmd) in vhost_scsi_check_stop_free()
568 struct se_cmd *se_cmd; in vhost_scsi_complete_cmd_work() local
[all …]
/linux/drivers/infiniband/ulp/isert/
H A 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/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()
1325 struct se_cmd *se_cmd = &io->tgt_io.cmd; in efct_scsi_recv_cmd() local

12