Lines Matching refs:qla_tgt_cmd

257 	struct qla_tgt_cmd *cmd = container_of(work, struct qla_tgt_cmd, work);  in tcm_qla2xxx_complete_free()
276 static struct qla_tgt_cmd *tcm_qla2xxx_get_cmd(struct fc_port *sess) in tcm_qla2xxx_get_cmd()
279 struct qla_tgt_cmd *cmd; in tcm_qla2xxx_get_cmd()
286 cmd = &((struct qla_tgt_cmd *)se_sess->sess_cmd_map)[tag]; in tcm_qla2xxx_get_cmd()
287 memset(cmd, 0, sizeof(struct qla_tgt_cmd)); in tcm_qla2xxx_get_cmd()
294 static void tcm_qla2xxx_rel_cmd(struct qla_tgt_cmd *cmd) in tcm_qla2xxx_rel_cmd()
304 static void tcm_qla2xxx_free_cmd(struct qla_tgt_cmd *cmd) in tcm_qla2xxx_free_cmd()
321 struct qla_tgt_cmd *cmd; in tcm_qla2xxx_check_stop_free()
324 cmd = container_of(se_cmd, struct qla_tgt_cmd, se_cmd); in tcm_qla2xxx_check_stop_free()
336 struct qla_tgt_cmd *cmd; in tcm_qla2xxx_release_cmd()
344 cmd = container_of(se_cmd, struct qla_tgt_cmd, se_cmd); in tcm_qla2xxx_release_cmd()
382 struct qla_tgt_cmd *cmd = container_of(se_cmd, in tcm_qla2xxx_write_pending()
383 struct qla_tgt_cmd, se_cmd); in tcm_qla2xxx_write_pending()
422 struct qla_tgt_cmd *cmd = container_of(se_cmd, in tcm_qla2xxx_get_cmd_state()
423 struct qla_tgt_cmd, se_cmd); in tcm_qla2xxx_get_cmd_state()
433 static int tcm_qla2xxx_handle_cmd(scsi_qla_host_t *vha, struct qla_tgt_cmd *cmd, in tcm_qla2xxx_handle_cmd()
495 struct qla_tgt_cmd *cmd = container_of(work, struct qla_tgt_cmd, work); in tcm_qla2xxx_handle_data_work()
545 static void tcm_qla2xxx_handle_data(struct qla_tgt_cmd *cmd) in tcm_qla2xxx_handle_data()
558 static int tcm_qla2xxx_dif_tags(struct qla_tgt_cmd *cmd, in tcm_qla2xxx_dif_tags()
621 static struct qla_tgt_cmd *tcm_qla2xxx_find_cmd_by_tag(struct fc_port *sess, in tcm_qla2xxx_find_cmd_by_tag()
624 struct qla_tgt_cmd *cmd; in tcm_qla2xxx_find_cmd_by_tag()
644 struct qla_tgt_cmd *cmd = container_of(se_cmd, in tcm_qla2xxx_queue_data_in()
645 struct qla_tgt_cmd, se_cmd); in tcm_qla2xxx_queue_data_in()
683 struct qla_tgt_cmd *cmd = container_of(se_cmd, in tcm_qla2xxx_queue_status()
684 struct qla_tgt_cmd, se_cmd); in tcm_qla2xxx_queue_status()
763 struct qla_tgt_cmd *cmd; in tcm_qla2xxx_aborted_task()
769 cmd = container_of(se_cmd, struct qla_tgt_cmd, se_cmd); in tcm_qla2xxx_aborted_task()
1436 sizeof(struct qla_tgt_cmd), in tcm_qla2xxx_check_initiator_node_acl()