Lines Matching refs:tgt_vp_map
184 BUG_ON(ha->tgt.tgt_vp_map == NULL); in qlt_find_host_by_d_id()
185 vp_idx = ha->tgt.tgt_vp_map[d_id[2]].idx; in qlt_find_host_by_d_id()
187 return ha->tgt.tgt_vp_map[vp_idx].vha; in qlt_find_host_by_d_id()
201 BUG_ON(ha->tgt.tgt_vp_map == NULL); in qlt_find_host_by_vp_idx()
203 return ha->tgt.tgt_vp_map[vp_idx].vha; in qlt_find_host_by_vp_idx()
6459 ha->tgt.tgt_vp_map = kzalloc(sizeof(struct qla_tgt_vp_map) * in qlt_mem_alloc()
6461 if (!ha->tgt.tgt_vp_map) in qlt_mem_alloc()
6468 kfree(ha->tgt.tgt_vp_map); in qlt_mem_alloc()
6485 kfree(ha->tgt.tgt_vp_map); in qlt_mem_free()
6497 vha->hw->tgt.tgt_vp_map[vha->vp_idx].vha = vha; in qlt_update_vp_map()
6500 vha->hw->tgt.tgt_vp_map[vha->d_id.b.al_pa].idx = vha->vp_idx; in qlt_update_vp_map()
6503 vha->hw->tgt.tgt_vp_map[vha->vp_idx].vha = NULL; in qlt_update_vp_map()
6506 vha->hw->tgt.tgt_vp_map[vha->d_id.b.al_pa].idx = 0; in qlt_update_vp_map()