Lines Matching refs:qla_tgt_cmd
107 static void qlt_send_term_exchange(struct scsi_qla_host *ha, struct qla_tgt_cmd
112 struct qla_tgt_cmd *cmd);
1298 struct qla_tgt_cmd *cmd; in abort_cmd_for_tag()
1331 struct qla_tgt_cmd *cmd; in abort_cmds_for_lun()
1373 struct qla_tgt_cmd *cmd = in __qlt_24xx_handle_abts()
1374 container_of(se_cmd, struct qla_tgt_cmd, se_cmd); in __qlt_24xx_handle_abts()
1604 struct qla_tgt_cmd *cmd = prm->cmd; in qlt_pci_map_calc_cnt()
1662 static void qlt_unmap_sg(struct scsi_qla_host *vha, struct qla_tgt_cmd *cmd) in qlt_unmap_sg()
1908 static inline int qlt_has_data(struct qla_tgt_cmd *cmd) in qlt_has_data()
1916 static int qlt_pre_xmit_response(struct qla_tgt_cmd *cmd, in qlt_pre_xmit_response()
1982 struct qla_tgt_cmd *cmd, int sending_sense) in qlt_need_explicit_conf()
2025 static void qlt_check_srr_debug(struct qla_tgt_cmd *cmd, int *xmit_type) in qlt_check_srr_debug()
2079 static inline void qlt_check_srr_debug(struct qla_tgt_cmd *cmd, int *xmit_type) in qlt_check_srr_debug()
2271 struct qla_tgt_cmd *cmd = prm->cmd; in qlt_build_ctio_crc2_pkt()
2472 int qlt_xmit_response(struct qla_tgt_cmd *cmd, int xmit_type, in qlt_xmit_response()
2628 int qlt_rdy_to_xfer(struct qla_tgt_cmd *cmd) in qlt_rdy_to_xfer()
2715 qlt_handle_dif_error(struct scsi_qla_host *vha, struct qla_tgt_cmd *cmd, in qlt_handle_dif_error()
2931 struct qla_tgt_cmd *cmd, in __qlt_send_term_exchange()
2992 struct qla_tgt_cmd *cmd, struct atio_from_isp *atio, int ha_locked) in qlt_send_term_exchange()
3028 struct qla_tgt_cmd *cmd, *tcmd; in qlt_init_term_exchange()
3072 void qlt_abort_cmd(struct qla_tgt_cmd *cmd) in qlt_abort_cmd()
3090 void qlt_free_cmd(struct qla_tgt_cmd *cmd) in qlt_free_cmd()
3120 struct qla_tgt_cmd *cmd, void *ctio) in qlt_prepare_srr_ctio()
3206 struct qla_tgt_cmd *cmd, uint32_t status) in qlt_term_ctio_exchange()
3224 static inline struct qla_tgt_cmd *qlt_get_cmd(struct scsi_qla_host *vha, in qlt_get_cmd()
3231 struct qla_tgt_cmd *cmd = ha->tgt.cmds[handle]; in qlt_get_cmd()
3239 static struct qla_tgt_cmd *qlt_ctio_to_cmd(struct scsi_qla_host *vha, in qlt_ctio_to_cmd()
3242 struct qla_tgt_cmd *cmd = NULL; in qlt_ctio_to_cmd()
3280 qlt_abort_cmd_on_host_reset(struct scsi_qla_host *vha, struct qla_tgt_cmd *cmd) in qlt_abort_cmd_on_host_reset()
3320 struct qla_tgt_cmd *cmd; in qlt_host_reset_handler()
3361 struct qla_tgt_cmd *cmd; in qlt_do_ctio_completion()
3539 static void __qlt_do_work(struct qla_tgt_cmd *cmd) in __qlt_do_work()
3615 struct qla_tgt_cmd *cmd = container_of(work, struct qla_tgt_cmd, work); in qlt_do_work()
3626 static struct qla_tgt_cmd *qlt_get_tag(scsi_qla_host_t *vha, in qlt_get_tag()
3631 struct qla_tgt_cmd *cmd; in qlt_get_tag()
3638 cmd = &((struct qla_tgt_cmd *)se_sess->sess_cmd_map)[tag]; in qlt_get_tag()
3639 memset(cmd, 0, sizeof(struct qla_tgt_cmd)); in qlt_get_tag()
3669 struct qla_tgt_cmd *cmd; in qlt_create_sess_from_atio()
3739 struct qla_tgt_cmd *cmd; in qlt_handle_cmd_for_atio()
4103 struct qla_tgt_cmd *cmd; in abort_cmds_for_s_id()
4308 static int qlt_set_data_offset(struct qla_tgt_cmd *cmd, uint32_t offset) in qlt_set_data_offset()
4412 static inline int qlt_srr_adjust_data(struct qla_tgt_cmd *cmd, in qlt_srr_adjust_data()
4443 struct qla_tgt_cmd *cmd = sctio->cmd; in qlt_handle_srr()
4600 struct qla_tgt_cmd *cmd; in qlt_handle_srr_work()
4960 struct qla_tgt_cmd *cmd; in qlt_alloc_qfull_cmd()
4996 cmd = &((struct qla_tgt_cmd *)se_sess->sess_cmd_map)[tag]; in qlt_alloc_qfull_cmd()
5012 memset(cmd, 0, sizeof(struct qla_tgt_cmd)); in qlt_alloc_qfull_cmd()
5044 struct qla_tgt_cmd *cmd, *tcmd; in qlt_free_qfull_cmds()