• Home
  • Raw
  • Download

Lines Matching refs:qla_tgt

119 static void qlt_clear_tgt_db(struct qla_tgt *tgt);
250 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_queue_unknown_atio()
287 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_try_to_dequeue_unknown_atios()
729 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_fc_port_added()
973 struct qla_tgt *tgt = sess->tgt; in qlt_free_session_done()
1235 atomic_inc(&vha->vha_tgt.qla_tgt->tgt_global_resets_count); in qlt_reset()
1237 qlt_clear_tgt_db(vha->vha_tgt.qla_tgt); in qlt_reset()
1271 struct qla_tgt *tgt = sess->tgt; in qlt_schedule_sess_for_deletion()
1328 static void qlt_clear_tgt_db(struct qla_tgt *tgt) in qlt_clear_tgt_db()
1401 if (vha->vha_tgt.qla_tgt->tgt_stop) in qlt_create_sess()
1413 sess->tgt = vha->vha_tgt.qla_tgt; in qlt_create_sess()
1447 vha->vha_tgt.qla_tgt->sess_count++; in qlt_create_sess()
1455 sess, sess->se_sess, vha->vha_tgt.qla_tgt, in qlt_create_sess()
1456 vha->vha_tgt.qla_tgt->sess_count); in qlt_create_sess()
1475 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_fc_port_deleted()
1512 static inline int test_tgt_sess_count(struct qla_tgt *tgt) in test_tgt_sess_count()
1532 int qlt_stop_phase1(struct qla_tgt *tgt) in qlt_stop_phase1()
1590 void qlt_stop_phase2(struct qla_tgt *tgt) in qlt_stop_phase2()
1629 static void qlt_release(struct qla_tgt *tgt) in qlt_release()
1657 list_del(&vha->vha_tgt.qla_tgt->tgt_list_entry); in qlt_release()
1671 vha->vha_tgt.qla_tgt = NULL; in qlt_release()
1680 static int qlt_sched_sess_work(struct qla_tgt *tgt, int type, in qlt_sched_sess_work()
1737 if (vha->vha_tgt.qla_tgt != NULL) in qlt_send_notify_ack()
1738 vha->vha_tgt.qla_tgt->notify_ack_expected++; in qlt_send_notify_ack()
1852 vha->vha_tgt.qla_tgt->abts_resp_expected++; in qlt_build_abts_resp_iocb()
1927 vha->vha_tgt.qla_tgt->abts_resp_expected++; in qlt_24xx_send_abts_resp()
2065 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_find_qphint()
2138 struct qla_qpair_hint *h = &vha->vha_tgt.qla_tgt->qphints[0]; in __qlt_24xx_handle_abts()
3437 struct qla_tgt *tgt = cmd->tgt; in qlt_rdy_to_xfer()
3830 struct qla_tgt *tgt = cmd->tgt; in qlt_abort_cmd()
4263 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_clr_qp_table()
4288 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_assign_qpair()
4377 cmd->tgt = vha->vha_tgt.qla_tgt; in qlt_get_tag()
4402 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_handle_cmd_for_atio()
4481 struct qla_qpair_hint *h = &vha->vha_tgt.qla_tgt->qphints[0]; in qlt_issue_task_mgmt()
4621 return qlt_sched_sess_work(vha->vha_tgt.qla_tgt, in qlt_abort_task()
4985 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_24xx_handle_els()
5245 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_24xx_handle_els()
5312 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_handle_imm_notify()
5498 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_alloc_qfull_cmd()
5551 cmd->tgt = vha->vha_tgt.qla_tgt; in qlt_alloc_qfull_cmd()
5687 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_24xx_atio_pkt()
5862 vha->vha_tgt.qla_tgt->abts_resp_expected--; in qlt_handle_abts_completion()
5895 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_response_pkt()
6051 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_async_event()
6257 atomic_read(&vha->vha_tgt.qla_tgt->tgt_global_resets_count); in qlt_make_local_sess()
6286 atomic_read(&vha->vha_tgt.qla_tgt->tgt_global_resets_count)) { in qlt_make_local_sess()
6292 qla_tgt->tgt_global_resets_count)); in qlt_make_local_sess()
6303 static void qlt_abort_work(struct qla_tgt *tgt, in qlt_abort_work()
6364 static void qlt_tmr_work(struct qla_tgt *tgt, in qlt_tmr_work()
6429 struct qla_tgt *tgt = container_of(work, struct qla_tgt, sess_work); in qlt_sess_work_fn()
6471 struct qla_tgt *tgt; in qlt_add_target()
6487 BUG_ON(base_vha->vha_tgt.qla_tgt != NULL); in qlt_add_target()
6489 tgt = kzalloc(sizeof(struct qla_tgt), GFP_KERNEL); in qlt_add_target()
6548 base_vha->vha_tgt.qla_tgt = tgt; in qlt_add_target()
6569 if (!vha->vha_tgt.qla_tgt) in qlt_remove_target()
6573 qlt_release(vha->vha_tgt.qla_tgt); in qlt_remove_target()
6582 qlt_release(vha->vha_tgt.qla_tgt); in qlt_remove_target()
6620 struct qla_tgt *tgt; in qlt_lport_register()
6751 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_enable_vha()
6796 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_disable_vha()
6831 vha->vha_tgt.qla_tgt = NULL; in qlt_vport_create()