Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/target/
Dtarget_core_xcopy.c55 static int target_xcopy_locate_se_dev_e4(struct se_cmd *se_cmd, struct xcopy_op *xop, in target_xcopy_locate_se_dev_e4()
111 static int target_xcopy_parse_tiddesc_e4(struct se_cmd *se_cmd, struct xcopy_op *xop, in target_xcopy_parse_tiddesc_e4()
186 static int target_xcopy_parse_target_descriptors(struct se_cmd *se_cmd, in target_xcopy_parse_target_descriptors()
261 static int target_xcopy_parse_segdesc_02(struct se_cmd *se_cmd, struct xcopy_op *xop, in target_xcopy_parse_segdesc_02()
297 static int target_xcopy_parse_segment_descriptors(struct se_cmd *se_cmd, in target_xcopy_parse_segment_descriptors()
344 struct se_cmd se_cmd; member
359 static int xcopy_pt_get_cmd_state(struct se_cmd *se_cmd) in xcopy_pt_get_cmd_state()
380 static void xcopy_pt_release_cmd(struct se_cmd *se_cmd) in xcopy_pt_release_cmd()
388 static int xcopy_pt_check_stop_free(struct se_cmd *se_cmd) in xcopy_pt_check_stop_free()
397 static int xcopy_pt_write_pending(struct se_cmd *se_cmd) in xcopy_pt_write_pending()
[all …]
Dtarget_core_tmr.c40 struct se_cmd *se_cmd, in core_tmr_alloc_req()
112 static bool __target_check_io_state(struct se_cmd *se_cmd, in __target_check_io_state()
157 struct se_cmd *se_cmd; in core_tmr_abort_task() local
Dtarget_core_transport.c1408 int target_submit_cmd_map_sgls(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_cmd_map_sgls()
1544 int target_submit_cmd(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_cmd()
1556 struct se_cmd *se_cmd = container_of(work, struct se_cmd, work); in target_complete_tmr_failure() local
1581 int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_tmr()
2488 int target_get_sess_cmd(struct se_cmd *se_cmd, bool ack_kref) in target_get_sess_cmd()
2530 struct se_cmd *se_cmd = container_of(kref, struct se_cmd, cmd_kref); in target_release_cmd_kref() local
2564 int target_put_sess_cmd(struct se_cmd *se_cmd) in target_put_sess_cmd()
2584 struct se_cmd *se_cmd; in target_sess_cmd_list_set_waiting() local
2615 struct se_cmd *se_cmd, *tmp_cmd; in target_wait_for_sess_cmds() local
Dtarget_core_user.c120 struct se_cmd *se_cmd; member
157 static struct tcmu_cmd *tcmu_alloc_cmd(struct se_cmd *se_cmd) in tcmu_alloc_cmd()
378 struct se_cmd *se_cmd = tcmu_cmd->se_cmd; in tcmu_queue_cmd_ring() local
502 static int tcmu_queue_cmd(struct se_cmd *se_cmd) in tcmu_queue_cmd()
528 struct se_cmd *se_cmd = cmd->se_cmd; in tcmu_handle_completion() local
1086 tcmu_pass_op(struct se_cmd *se_cmd) in tcmu_pass_op()
Dtarget_core_device.c59 transport_lookup_cmd_lun(struct se_cmd *se_cmd, u64 unpacked_lun) in transport_lookup_cmd_lun()
153 int transport_lookup_tmr_lun(struct se_cmd *se_cmd, u64 unpacked_lun) in transport_lookup_tmr_lun()
/linux-4.4.14/drivers/target/tcm_fc/
Dtfc_cmd.c49 struct se_cmd *se_cmd; in _ft_dump_cmd() local
101 void ft_release_cmd(struct se_cmd *se_cmd) in ft_release_cmd()
108 int ft_check_stop_free(struct se_cmd *se_cmd) in ft_check_stop_free()
117 int ft_queue_status(struct se_cmd *se_cmd) in ft_queue_status()
185 int ft_write_pending_status(struct se_cmd *se_cmd) in ft_write_pending_status()
195 int ft_write_pending(struct se_cmd *se_cmd) in ft_write_pending()
244 int ft_get_cmd_state(struct se_cmd *se_cmd) in ft_get_cmd_state()
398 void ft_queue_tm_resp(struct se_cmd *se_cmd) in ft_queue_tm_resp()
427 void ft_aborted_task(struct se_cmd *se_cmd) in ft_aborted_task()
Dtfc_io.c54 int ft_queue_data_in(struct se_cmd *se_cmd) in ft_queue_data_in()
211 struct se_cmd *se_cmd = &cmd->se_cmd; in ft_recv_write_data() local
Dtcm_fc.h118 struct se_cmd se_cmd; /* Local TCM I/O descriptor */ member
/linux-4.4.14/include/target/
Dtarget_core_base.h437 struct se_cmd { struct
457 /* See se_cmd_flags_table */ argument
458 u32 se_cmd_flags; argument
474 struct list_head se_cmd_list; argument
477 sense_reason_t (*execute_cmd)(struct se_cmd *); argument
478 sense_reason_t (*transport_complete_callback)(struct se_cmd *, bool, int *); argument
479 void *protocol_data;
481 unsigned char *t_task_cdb;
482 unsigned char __t_task_cdb[TCM_MAX_COMMAND_SIZE];
483 unsigned long long t_task_lba;
[all …]
Dtarget_core_fabric.h191 target_reverse_dma_direction(struct se_cmd *se_cmd) in target_reverse_dma_direction()
/linux-4.4.14/drivers/usb/gadget/legacy/
Dtcm_usb_gadget.c210 struct se_cmd *se_cmd = &cmd->se_cmd; in bot_send_read_response() local
252 struct se_cmd *se_cmd = &cmd->se_cmd; in bot_send_write_request() local
519 struct se_cmd *se_cmd = &cmd->se_cmd; in uasp_prepare_r_request() local
551 struct se_cmd *se_cmd = &cmd->se_cmd; in uasp_prepare_status() local
681 struct se_cmd *se_cmd = &cmd->se_cmd; in uasp_send_write_request() local
961 struct se_cmd *se_cmd = &cmd->se_cmd; in usbg_data_write_cmpl() local
984 struct se_cmd *se_cmd = &cmd->se_cmd; in usbg_prepare_w_request() local
1006 static int usbg_send_status_response(struct se_cmd *se_cmd) in usbg_send_status_response()
1018 static int usbg_send_write_request(struct se_cmd *se_cmd) in usbg_send_write_request()
1030 static int usbg_send_read_response(struct se_cmd *se_cmd) in usbg_send_read_response()
[all …]
Dtcm_usb_gadget.h68 struct se_cmd se_cmd; member
/linux-4.4.14/drivers/target/loopback/
Dtcm_loop.c52 static int tcm_loop_check_stop_free(struct se_cmd *se_cmd) in tcm_loop_check_stop_free()
69 static void tcm_loop_release_cmd(struct se_cmd *se_cmd) in tcm_loop_release_cmd()
112 struct se_cmd *se_cmd = &tl_cmd->tl_se_cmd; in tcm_loop_submission_work() local
219 struct se_cmd *se_cmd = NULL; in tcm_loop_issue_tmr() local
596 static int tcm_loop_get_cmd_state(struct se_cmd *se_cmd) in tcm_loop_get_cmd_state()
614 static int tcm_loop_write_pending(struct se_cmd *se_cmd) in tcm_loop_write_pending()
629 static int tcm_loop_write_pending_status(struct se_cmd *se_cmd) in tcm_loop_write_pending_status()
634 static int tcm_loop_queue_data_in(struct se_cmd *se_cmd) in tcm_loop_queue_data_in()
652 static int tcm_loop_queue_status(struct se_cmd *se_cmd) in tcm_loop_queue_status()
680 static void tcm_loop_queue_tm_rsp(struct se_cmd *se_cmd) in tcm_loop_queue_tm_rsp()
[all …]
/linux-4.4.14/drivers/target/iscsi/
Discsi_target_configfs.c1452 static int iscsi_get_cmd_state(struct se_cmd *se_cmd) in iscsi_get_cmd_state()
1478 static int lio_queue_data_in(struct se_cmd *se_cmd) in lio_queue_data_in()
1488 static int lio_write_pending(struct se_cmd *se_cmd) in lio_write_pending()
1499 static int lio_write_pending_status(struct se_cmd *se_cmd) in lio_write_pending_status()
1511 static int lio_queue_status(struct se_cmd *se_cmd) in lio_queue_status()
1526 static void lio_queue_tm_rsp(struct se_cmd *se_cmd) in lio_queue_tm_rsp()
1534 static void lio_aborted_task(struct se_cmd *se_cmd) in lio_aborted_task()
1666 static int lio_check_stop_free(struct se_cmd *se_cmd) in lio_check_stop_free()
1671 static void lio_release_cmd(struct se_cmd *se_cmd) in lio_release_cmd()
Discsi_target_tmr.c241 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_task_reassign_complete_write() local
312 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_task_reassign_complete_read() local
Discsi_target_util.c332 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_check_unsolicited_dataout() local
690 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_release_cmd() local
732 struct se_cmd *se_cmd = NULL; in iscsit_free_cmd() local
Discsi_target_erl1.c413 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_handle_recovery_datain() local
924 struct se_cmd *se_cmd = &cmd->se_cmd; in iscsit_execute_cmd() local
Discsi_target.c1259 struct se_cmd *se_cmd; in iscsit_check_dataout_hdr() local
/linux-4.4.14/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c306 static int tcm_qla2xxx_check_stop_free(struct se_cmd *se_cmd) in tcm_qla2xxx_check_stop_free()
321 static void tcm_qla2xxx_release_cmd(struct se_cmd *se_cmd) in tcm_qla2xxx_release_cmd()
371 static int tcm_qla2xxx_write_pending(struct se_cmd *se_cmd) in tcm_qla2xxx_write_pending()
394 static int tcm_qla2xxx_write_pending_status(struct se_cmd *se_cmd) in tcm_qla2xxx_write_pending_status()
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
534 struct se_cmd *se_cmd = &mcmd->se_cmd; in tcm_qla2xxx_handle_tmr() local
540 static int tcm_qla2xxx_queue_data_in(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_data_in()
565 static int tcm_qla2xxx_queue_status(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_status()
602 static void tcm_qla2xxx_queue_tm_rsp(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_tm_rsp()
[all …]
Dqla_target.c1366 struct se_cmd *se_cmd; in __qlt_24xx_handle_abts() local
1923 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_pre_xmit_response() local
2152 qlt_hba_err_chk_enabled(struct se_cmd *se_cmd) in qlt_hba_err_chk_enabled()
2186 qlt_set_t10dif_tags(struct se_cmd *se_cmd, struct crc_context *ctx) in qlt_set_t10dif_tags()
2272 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_build_ctio_crc2_pkt() local
3076 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_abort_cmd() local
3360 struct se_cmd *se_cmd; in qlt_do_ctio_completion() local
4444 struct se_cmd *se_cmd = &cmd->se_cmd; in qlt_handle_srr() local
4601 struct se_cmd *se_cmd; in qlt_handle_srr_work() local
Dqla_target.h934 struct se_cmd se_cmd; member
1019 struct se_cmd se_cmd; member
/linux-4.4.14/drivers/xen/
Dxen-scsiback.c136 struct se_cmd se_cmd; member
387 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_cmd_exec() local
591 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_device_action() local
1342 static int scsiback_check_stop_free(struct se_cmd *se_cmd) in scsiback_check_stop_free()
1356 static void scsiback_release_cmd(struct se_cmd *se_cmd) in scsiback_release_cmd()
1378 static int scsiback_write_pending(struct se_cmd *se_cmd) in scsiback_write_pending()
1386 static int scsiback_write_pending_status(struct se_cmd *se_cmd) in scsiback_write_pending_status()
1395 static int scsiback_get_cmd_state(struct se_cmd *se_cmd) in scsiback_get_cmd_state()
1400 static int scsiback_queue_data_in(struct se_cmd *se_cmd) in scsiback_queue_data_in()
1410 static int scsiback_queue_status(struct se_cmd *se_cmd) in scsiback_queue_status()
[all …]
/linux-4.4.14/drivers/target/sbp/
Dsbp_target.c1368 struct se_cmd *se_cmd = &req->se_cmd; in sbp_sense_mangle() local
1435 struct se_cmd *se_cmd = &req->se_cmd; in sbp_send_sense() local
1713 static void sbp_release_cmd(struct se_cmd *se_cmd) in sbp_release_cmd()
1736 static int sbp_write_pending(struct se_cmd *se_cmd) in sbp_write_pending()
1759 static int sbp_write_pending_status(struct se_cmd *se_cmd) in sbp_write_pending_status()
1769 static int sbp_get_cmd_state(struct se_cmd *se_cmd) in sbp_get_cmd_state()
1774 static int sbp_queue_data_in(struct se_cmd *se_cmd) in sbp_queue_data_in()
1798 static int sbp_queue_status(struct se_cmd *se_cmd) in sbp_queue_status()
1806 static void sbp_queue_tm_rsp(struct se_cmd *se_cmd) in sbp_queue_tm_rsp()
1810 static void sbp_aborted_task(struct se_cmd *se_cmd) in sbp_aborted_task()
[all …]
Dsbp_target.h216 struct se_cmd se_cmd; member
/linux-4.4.14/drivers/vhost/
Dscsi.c316 static void vhost_scsi_release_cmd(struct se_cmd *se_cmd) in vhost_scsi_release_cmd()
351 static int vhost_scsi_write_pending(struct se_cmd *se_cmd) in vhost_scsi_write_pending()
358 static int vhost_scsi_write_pending_status(struct se_cmd *se_cmd) in vhost_scsi_write_pending_status()
368 static int vhost_scsi_get_cmd_state(struct se_cmd *se_cmd) in vhost_scsi_get_cmd_state()
382 static int vhost_scsi_queue_data_in(struct se_cmd *se_cmd) in vhost_scsi_queue_data_in()
390 static int vhost_scsi_queue_status(struct se_cmd *se_cmd) in vhost_scsi_queue_status()
398 static void vhost_scsi_queue_tm_rsp(struct se_cmd *se_cmd) in vhost_scsi_queue_tm_rsp()
403 static void vhost_scsi_aborted_task(struct se_cmd *se_cmd) in vhost_scsi_aborted_task()
442 struct se_cmd *se_cmd = &cmd->tvc_se_cmd; in vhost_scsi_free_cmd() local
449 static int vhost_scsi_check_stop_free(struct se_cmd *se_cmd) in vhost_scsi_check_stop_free()
[all …]
/linux-4.4.14/drivers/infiniband/ulp/isert/
Dib_isert.c1753 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_put_cmd() local
1830 isert_check_pi_status(struct se_cmd *se_cmd, struct ib_mr *sig_mr) in isert_check_pi_status()
1879 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_completion_rdma_write() local
1905 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_completion_rdma_read() local
2420 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_map_rdma() local
2592 isert_set_dif_domain(struct se_cmd *se_cmd, struct ib_sig_attrs *sig_attrs, in isert_set_dif_domain()
2613 isert_set_sig_attrs(struct se_cmd *se_cmd, struct ib_sig_attrs *sig_attrs) in isert_set_sig_attrs()
2649 struct se_cmd *se_cmd, in isert_reg_sig_mr()
2718 struct se_cmd *se_cmd = &isert_cmd->iscsi_cmd->se_cmd; in isert_handle_prot_cmd() local
2775 struct se_cmd *se_cmd = &cmd->se_cmd; in isert_reg_rdma() local
[all …]
/linux-4.4.14/drivers/infiniband/ulp/srpt/
Dib_srpt.c2879 static int srpt_write_pending_status(struct se_cmd *se_cmd) in srpt_write_pending_status()
2890 static int srpt_write_pending(struct se_cmd *se_cmd) in srpt_write_pending()
3342 static void srpt_release_cmd(struct se_cmd *se_cmd) in srpt_release_cmd()
3411 static int srpt_get_tcm_cmd_state(struct se_cmd *se_cmd) in srpt_get_tcm_cmd_state()
/linux-4.4.14/include/target/iscsi/
Discsi_target_core.h484 struct se_cmd se_cmd; member