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);
1299 struct qla_tgt_cmd *cmd; in abort_cmd_for_tag()
1332 struct qla_tgt_cmd *cmd; in abort_cmds_for_lun()
1374 struct qla_tgt_cmd *cmd = in __qlt_24xx_handle_abts()
1375 container_of(se_cmd, struct qla_tgt_cmd, se_cmd); in __qlt_24xx_handle_abts()
1606 struct qla_tgt_cmd *cmd = prm->cmd; in qlt_pci_map_calc_cnt()
1664 static void qlt_unmap_sg(struct scsi_qla_host *vha, struct qla_tgt_cmd *cmd) in qlt_unmap_sg()
1910 static inline int qlt_has_data(struct qla_tgt_cmd *cmd) in qlt_has_data()
1918 static int qlt_pre_xmit_response(struct qla_tgt_cmd *cmd, in qlt_pre_xmit_response()
1985 struct qla_tgt_cmd *cmd, int sending_sense) in qlt_need_explicit_conf()
2028 static void qlt_check_srr_debug(struct qla_tgt_cmd *cmd, int *xmit_type) in qlt_check_srr_debug()
2082 static inline void qlt_check_srr_debug(struct qla_tgt_cmd *cmd, int *xmit_type) in qlt_check_srr_debug()
2276 struct qla_tgt_cmd *cmd = prm->cmd; in qlt_build_ctio_crc2_pkt()
2478 int qlt_xmit_response(struct qla_tgt_cmd *cmd, int xmit_type, in qlt_xmit_response()
2634 int qlt_rdy_to_xfer(struct qla_tgt_cmd *cmd) in qlt_rdy_to_xfer()
2721 qlt_handle_dif_error(struct scsi_qla_host *vha, struct qla_tgt_cmd *cmd, in qlt_handle_dif_error()
2938 struct qla_tgt_cmd *cmd, in __qlt_send_term_exchange()
2999 struct qla_tgt_cmd *cmd, struct atio_from_isp *atio, int ha_locked) in qlt_send_term_exchange()
3035 struct qla_tgt_cmd *cmd, *tcmd; in qlt_init_term_exchange()
3079 void qlt_abort_cmd(struct qla_tgt_cmd *cmd) in qlt_abort_cmd()
3097 void qlt_free_cmd(struct qla_tgt_cmd *cmd) in qlt_free_cmd()
3127 struct qla_tgt_cmd *cmd, void *ctio) in qlt_prepare_srr_ctio()
3213 struct qla_tgt_cmd *cmd, uint32_t status) in qlt_term_ctio_exchange()
3231 static inline struct qla_tgt_cmd *qlt_get_cmd(struct scsi_qla_host *vha, in qlt_get_cmd()
3238 struct qla_tgt_cmd *cmd = ha->tgt.cmds[handle]; in qlt_get_cmd()
3246 static struct qla_tgt_cmd *qlt_ctio_to_cmd(struct scsi_qla_host *vha, in qlt_ctio_to_cmd()
3249 struct qla_tgt_cmd *cmd = NULL; in qlt_ctio_to_cmd()
3287 qlt_abort_cmd_on_host_reset(struct scsi_qla_host *vha, struct qla_tgt_cmd *cmd) in qlt_abort_cmd_on_host_reset()
3327 struct qla_tgt_cmd *cmd; in qlt_host_reset_handler()
3369 struct qla_tgt_cmd *cmd; in qlt_do_ctio_completion()
3551 static void __qlt_do_work(struct qla_tgt_cmd *cmd) in __qlt_do_work()
3627 struct qla_tgt_cmd *cmd = container_of(work, struct qla_tgt_cmd, work); in qlt_do_work()
3638 static struct qla_tgt_cmd *qlt_get_tag(scsi_qla_host_t *vha, in qlt_get_tag()
3643 struct qla_tgt_cmd *cmd; in qlt_get_tag()
3650 cmd = &((struct qla_tgt_cmd *)se_sess->sess_cmd_map)[tag]; in qlt_get_tag()
3651 memset(cmd, 0, sizeof(struct qla_tgt_cmd)); in qlt_get_tag()
3681 struct qla_tgt_cmd *cmd; in qlt_create_sess_from_atio()
3751 struct qla_tgt_cmd *cmd; in qlt_handle_cmd_for_atio()
4116 struct qla_tgt_cmd *cmd; in abort_cmds_for_s_id()
4321 static int qlt_set_data_offset(struct qla_tgt_cmd *cmd, uint32_t offset) in qlt_set_data_offset()
4423 static inline int qlt_srr_adjust_data(struct qla_tgt_cmd *cmd, in qlt_srr_adjust_data()
4454 struct qla_tgt_cmd *cmd = sctio->cmd; in qlt_handle_srr()
4610 struct qla_tgt_cmd *cmd; in qlt_handle_srr_work()
4971 struct qla_tgt_cmd *cmd; in qlt_alloc_qfull_cmd()
5007 cmd = &((struct qla_tgt_cmd *)se_sess->sess_cmd_map)[tag]; in qlt_alloc_qfull_cmd()
5023 memset(cmd, 0, sizeof(struct qla_tgt_cmd)); in qlt_alloc_qfull_cmd()
5055 struct qla_tgt_cmd *cmd, *tcmd; in qlt_free_qfull_cmds()