Lines Matching refs:qla_tgt_cmd
257 struct qla_tgt_cmd *cmd = container_of(work, struct qla_tgt_cmd, work);
276 static struct qla_tgt_cmd *tcm_qla2xxx_get_cmd(struct fc_port *sess)
279 struct qla_tgt_cmd *cmd;
286 cmd = &((struct qla_tgt_cmd *)se_sess->sess_cmd_map)[tag];
287 memset(cmd, 0, sizeof(struct qla_tgt_cmd));
294 static void tcm_qla2xxx_rel_cmd(struct qla_tgt_cmd *cmd)
304 static void tcm_qla2xxx_free_cmd(struct qla_tgt_cmd *cmd)
321 struct qla_tgt_cmd *cmd;
324 cmd = container_of(se_cmd, struct qla_tgt_cmd, se_cmd);
336 struct qla_tgt_cmd *cmd;
344 cmd = container_of(se_cmd, struct qla_tgt_cmd, se_cmd);
382 struct qla_tgt_cmd *cmd = container_of(se_cmd,
383 struct qla_tgt_cmd, se_cmd);
422 struct qla_tgt_cmd *cmd = container_of(se_cmd,
423 struct qla_tgt_cmd, se_cmd);
433 static int tcm_qla2xxx_handle_cmd(scsi_qla_host_t *vha, struct qla_tgt_cmd *cmd,
455 pr_err("Unable to locate struct fc_port from qla_tgt_cmd\n");
495 struct qla_tgt_cmd *cmd = container_of(work, struct qla_tgt_cmd, work);
545 static void tcm_qla2xxx_handle_data(struct qla_tgt_cmd *cmd)
558 static int tcm_qla2xxx_dif_tags(struct qla_tgt_cmd *cmd,
621 static struct qla_tgt_cmd *tcm_qla2xxx_find_cmd_by_tag(struct fc_port *sess,
624 struct qla_tgt_cmd *cmd;
644 struct qla_tgt_cmd *cmd = container_of(se_cmd,
645 struct qla_tgt_cmd, se_cmd);
683 struct qla_tgt_cmd *cmd = container_of(se_cmd,
684 struct qla_tgt_cmd, se_cmd);
763 struct qla_tgt_cmd *cmd;
769 cmd = container_of(se_cmd, struct qla_tgt_cmd, se_cmd);
1436 sizeof(struct qla_tgt_cmd),