Lines Matching refs:qla_tgt_cmd

125 static void qlt_send_term_exchange(struct qla_qpair *, struct qla_tgt_cmd
1849 struct qla_tgt_cmd *cmd; in abort_cmd_for_tag()
1890 struct qla_tgt_cmd *cmd; in abort_cmds_for_lun()
2043 struct qla_tgt_cmd *abort_cmd; in __qlt_24xx_handle_abts()
2194 void qlt_send_resp_ctio(struct qla_qpair *qpair, struct qla_tgt_cmd *cmd, in qlt_send_resp_ctio()
2328 struct qla_tgt_cmd *cmd = prm->cmd; in qlt_pci_map_calc_cnt()
2386 static void qlt_unmap_sg(struct scsi_qla_host *vha, struct qla_tgt_cmd *cmd) in qlt_unmap_sg()
2625 static inline int qlt_has_data(struct qla_tgt_cmd *cmd) in qlt_has_data()
2632 struct qla_tgt_cmd *cmd; in qlt_print_dif_err()
2677 static int qlt_pre_xmit_response(struct qla_tgt_cmd *cmd, in qlt_pre_xmit_response()
2741 static inline int qlt_need_explicit_conf(struct qla_tgt_cmd *cmd, in qlt_need_explicit_conf()
2854 qla_tgt_set_dif_tags(struct qla_tgt_cmd *cmd, struct crc_context *ctx, in qla_tgt_set_dif_tags()
2952 struct qla_tgt_cmd *cmd = prm->cmd; in qlt_build_ctio_crc2_pkt()
3154 int qlt_xmit_response(struct qla_tgt_cmd *cmd, int xmit_type, in qlt_xmit_response()
3312 int qlt_rdy_to_xfer(struct qla_tgt_cmd *cmd) in qlt_rdy_to_xfer()
3395 qlt_handle_dif_error(struct qla_qpair *qpair, struct qla_tgt_cmd *cmd, in qlt_handle_dif_error()
3582 struct qla_tgt_cmd *cmd, in __qlt_send_term_exchange()
3644 struct qla_tgt_cmd *cmd, struct atio_from_isp *atio, int ha_locked, in qlt_send_term_exchange()
3684 struct qla_tgt_cmd *cmd, *tcmd; in qlt_init_term_exchange()
3728 int qlt_abort_cmd(struct qla_tgt_cmd *cmd) in qlt_abort_cmd()
3763 void qlt_free_cmd(struct qla_tgt_cmd *cmd) in qlt_free_cmd()
3798 struct qla_tgt_cmd *cmd, uint32_t status) in qlt_term_ctio_exchange()
3828 static struct qla_tgt_cmd *qlt_ctio_to_cmd(struct scsi_qla_host *vha, in qlt_ctio_to_cmd()
3831 struct qla_tgt_cmd *cmd = NULL; in qlt_ctio_to_cmd()
3860 cmd = (struct qla_tgt_cmd *)req->outstanding_cmds[h]; in qlt_ctio_to_cmd()
3881 qlt_abort_cmd_on_host_reset(struct scsi_qla_host *vha, struct qla_tgt_cmd *cmd) in qlt_abort_cmd_on_host_reset()
3920 struct qla_tgt_cmd *cmd; in qlt_do_ctio_completion()
4089 static void __qlt_do_work(struct qla_tgt_cmd *cmd) in __qlt_do_work()
4163 struct qla_tgt_cmd *cmd = container_of(work, struct qla_tgt_cmd, work); in qlt_do_work()
4200 struct qla_tgt_cmd *cmd) in qlt_assign_qpair()
4278 static struct qla_tgt_cmd *qlt_get_tag(scsi_qla_host_t *vha, in qlt_get_tag()
4283 struct qla_tgt_cmd *cmd; in qlt_get_tag()
4290 cmd = &((struct qla_tgt_cmd *)se_sess->sess_cmd_map)[tag]; in qlt_get_tag()
4291 memset(cmd, 0, sizeof(struct qla_tgt_cmd)); in qlt_get_tag()
4323 struct qla_tgt_cmd *cmd; in qlt_handle_cmd_for_atio()
4647 struct qla_tgt_cmd *cmd; in abort_cmds_for_s_id()
5305 struct qla_tgt_cmd *cmd; in qlt_alloc_qfull_cmd()
5342 cmd = &((struct qla_tgt_cmd *)se_sess->sess_cmd_map)[tag]; in qlt_alloc_qfull_cmd()
5358 memset(cmd, 0, sizeof(struct qla_tgt_cmd)); in qlt_alloc_qfull_cmd()
5395 struct qla_tgt_cmd *cmd, *tcmd; in qlt_free_qfull_cmds()