Lines Matching refs:vha_tgt

227 	struct qla_tgt *tgt = vha->vha_tgt.qla_tgt;  in qlt_queue_unknown_atio()
264 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_try_to_dequeue_unknown_atios()
667 mutex_lock(&vha->vha_tgt.tgt_mutex); in qla24xx_do_nack_work()
669 mutex_unlock(&vha->vha_tgt.tgt_mutex); in qla24xx_do_nack_work()
706 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_fc_port_added()
727 mutex_lock(&vha->vha_tgt.tgt_mutex); in qlt_fc_port_added()
729 mutex_unlock(&vha->vha_tgt.tgt_mutex); in qlt_fc_port_added()
919 mutex_lock(&vha->vha_tgt.tgt_mutex); in qlt_send_first_logo()
924 mutex_unlock(&vha->vha_tgt.tgt_mutex); in qlt_send_first_logo()
931 mutex_unlock(&vha->vha_tgt.tgt_mutex); in qlt_send_first_logo()
935 mutex_lock(&vha->vha_tgt.tgt_mutex); in qlt_send_first_logo()
937 mutex_unlock(&vha->vha_tgt.tgt_mutex); in qlt_send_first_logo()
1224 atomic_inc(&vha->vha_tgt.qla_tgt->tgt_global_resets_count); in qlt_reset()
1226 qlt_clear_tgt_db(vha->vha_tgt.qla_tgt); in qlt_reset()
1390 if (vha->vha_tgt.qla_tgt->tgt_stop) in qlt_create_sess()
1402 sess->tgt = vha->vha_tgt.qla_tgt; in qlt_create_sess()
1436 vha->vha_tgt.qla_tgt->sess_count++; in qlt_create_sess()
1444 sess, sess->se_sess, vha->vha_tgt.qla_tgt, in qlt_create_sess()
1445 vha->vha_tgt.qla_tgt->sess_count); in qlt_create_sess()
1464 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_fc_port_deleted()
1544 mutex_lock(&vha->vha_tgt.tgt_mutex); in qlt_stop_phase1()
1547 mutex_unlock(&vha->vha_tgt.tgt_mutex); in qlt_stop_phase1()
1597 mutex_lock(&vha->vha_tgt.tgt_mutex); in qlt_stop_phase2()
1600 mutex_unlock(&vha->vha_tgt.tgt_mutex); in qlt_stop_phase2()
1646 list_del(&vha->vha_tgt.qla_tgt->tgt_list_entry); in qlt_release()
1657 vha->vha_tgt.target_lport_ptr) in qlt_release()
1660 vha->vha_tgt.qla_tgt = NULL; in qlt_release()
1726 if (vha->vha_tgt.qla_tgt != NULL) in qlt_send_notify_ack()
1727 vha->vha_tgt.qla_tgt->notify_ack_expected++; in qlt_send_notify_ack()
1841 vha->vha_tgt.qla_tgt->abts_resp_expected++; in qlt_build_abts_resp_iocb()
1916 vha->vha_tgt.qla_tgt->abts_resp_expected++; in qlt_24xx_send_abts_resp()
2043 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_find_qphint()
2116 struct qla_qpair_hint *h = &vha->vha_tgt.qla_tgt->qphints[0]; in __qlt_24xx_handle_abts()
4239 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_clr_qp_table()
4264 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_assign_qpair()
4353 cmd->tgt = vha->vha_tgt.qla_tgt; in qlt_get_tag()
4378 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_handle_cmd_for_atio()
4457 struct qla_qpair_hint *h = &vha->vha_tgt.qla_tgt->qphints[0]; in qlt_issue_task_mgmt()
4597 return qlt_sched_sess_work(vha->vha_tgt.qla_tgt, in qlt_abort_task()
4952 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_24xx_handle_els()
5212 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_24xx_handle_els()
5279 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_handle_imm_notify()
5465 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_alloc_qfull_cmd()
5518 cmd->tgt = vha->vha_tgt.qla_tgt; in qlt_alloc_qfull_cmd()
5654 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_24xx_atio_pkt()
5829 vha->vha_tgt.qla_tgt->abts_resp_expected--; in qlt_handle_abts_completion()
5862 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_response_pkt()
6018 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_async_event()
6220 mutex_lock(&vha->vha_tgt.tgt_mutex); in qlt_make_local_sess()
6224 atomic_read(&vha->vha_tgt.qla_tgt->tgt_global_resets_count); in qlt_make_local_sess()
6228 mutex_unlock(&vha->vha_tgt.tgt_mutex); in qlt_make_local_sess()
6248 mutex_unlock(&vha->vha_tgt.tgt_mutex); in qlt_make_local_sess()
6253 atomic_read(&vha->vha_tgt.qla_tgt->tgt_global_resets_count)) { in qlt_make_local_sess()
6258 atomic_read(&vha->vha_tgt. in qlt_make_local_sess()
6265 mutex_unlock(&vha->vha_tgt.tgt_mutex); in qlt_make_local_sess()
6388 BUG_ON(base_vha->vha_tgt.qla_tgt != NULL); in qlt_add_target()
6447 base_vha->vha_tgt.qla_tgt = tgt; in qlt_add_target()
6468 if (!vha->vha_tgt.qla_tgt) in qlt_remove_target()
6472 qlt_release(vha->vha_tgt.qla_tgt); in qlt_remove_target()
6481 qlt_release(vha->vha_tgt.qla_tgt); in qlt_remove_target()
6594 vha->vha_tgt.target_lport_ptr = NULL; in qlt_lport_deregister()
6650 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_enable_vha()
6695 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_disable_vha()
6730 vha->vha_tgt.qla_tgt = NULL; in qlt_vport_create()
6732 mutex_init(&vha->vha_tgt.tgt_mutex); in qlt_vport_create()
6733 mutex_init(&vha->vha_tgt.tgt_host_action_mutex); in qlt_vport_create()
7119 mutex_init(&base_vha->vha_tgt.tgt_mutex); in qlt_probe_one_stage1()
7131 mutex_init(&base_vha->vha_tgt.tgt_host_action_mutex); in qlt_probe_one_stage1()