Lines Matching refs:new_ndlp

1601 	struct lpfc_nodelist *new_ndlp;  in lpfc_plogi_confirm_nport()  local
1627 new_ndlp = lpfc_findnode_wwpn(vport, &sp->portName); in lpfc_plogi_confirm_nport()
1630 if (new_ndlp == ndlp && NLP_CHK_NODE_ACT(new_ndlp)) in lpfc_plogi_confirm_nport()
1645 (new_ndlp ? new_ndlp->nlp_DID : 0), in lpfc_plogi_confirm_nport()
1646 (new_ndlp ? new_ndlp->nlp_flag : 0), in lpfc_plogi_confirm_nport()
1647 (new_ndlp ? new_ndlp->nlp_fc4_type : 0)); in lpfc_plogi_confirm_nport()
1649 if (!new_ndlp) { in lpfc_plogi_confirm_nport()
1658 new_ndlp = lpfc_nlp_init(vport, ndlp->nlp_DID); in lpfc_plogi_confirm_nport()
1659 if (!new_ndlp) { in lpfc_plogi_confirm_nport()
1665 } else if (!NLP_CHK_NODE_ACT(new_ndlp)) { in lpfc_plogi_confirm_nport()
1674 new_ndlp = lpfc_enable_node(vport, new_ndlp, in lpfc_plogi_confirm_nport()
1676 if (!new_ndlp) { in lpfc_plogi_confirm_nport()
1682 keepDID = new_ndlp->nlp_DID; in lpfc_plogi_confirm_nport()
1685 new_ndlp->active_rrqs_xri_bitmap, in lpfc_plogi_confirm_nport()
1688 keepDID = new_ndlp->nlp_DID; in lpfc_plogi_confirm_nport()
1692 new_ndlp->active_rrqs_xri_bitmap, in lpfc_plogi_confirm_nport()
1702 keep_nlp_fc4_type = new_ndlp->nlp_fc4_type; in lpfc_plogi_confirm_nport()
1703 new_ndlp->nlp_fc4_type = ndlp->nlp_fc4_type; in lpfc_plogi_confirm_nport()
1706 lpfc_unreg_rpi(vport, new_ndlp); in lpfc_plogi_confirm_nport()
1707 new_ndlp->nlp_DID = ndlp->nlp_DID; in lpfc_plogi_confirm_nport()
1708 new_ndlp->nlp_prev_state = ndlp->nlp_prev_state; in lpfc_plogi_confirm_nport()
1710 memcpy(new_ndlp->active_rrqs_xri_bitmap, in lpfc_plogi_confirm_nport()
1715 keep_new_nlp_flag = new_ndlp->nlp_flag; in lpfc_plogi_confirm_nport()
1717 new_ndlp->nlp_flag = ndlp->nlp_flag; in lpfc_plogi_confirm_nport()
1721 new_ndlp->nlp_flag |= NLP_UNREG_INP; in lpfc_plogi_confirm_nport()
1723 new_ndlp->nlp_flag &= ~NLP_UNREG_INP; in lpfc_plogi_confirm_nport()
1727 new_ndlp->nlp_flag |= NLP_RPI_REGISTERED; in lpfc_plogi_confirm_nport()
1729 new_ndlp->nlp_flag &= ~NLP_RPI_REGISTERED; in lpfc_plogi_confirm_nport()
1748 keep_nlp_state = new_ndlp->nlp_state; in lpfc_plogi_confirm_nport()
1749 lpfc_nlp_set_state(vport, new_ndlp, ndlp->nlp_state); in lpfc_plogi_confirm_nport()
1752 keep_nrport = new_ndlp->nrport; in lpfc_plogi_confirm_nport()
1753 new_ndlp->nrport = ndlp->nrport; in lpfc_plogi_confirm_nport()
1762 new_ndlp->nlp_DID, keepDID); in lpfc_plogi_confirm_nport()
1772 rdata->pnode = lpfc_nlp_get(new_ndlp); in lpfc_plogi_confirm_nport()
1773 new_ndlp->rport = rport; in lpfc_plogi_confirm_nport()
1775 new_ndlp->nlp_type = ndlp->nlp_type; in lpfc_plogi_confirm_nport()
1812 new_ndlp->nlp_DID, keepDID); in lpfc_plogi_confirm_nport()
1866 new_ndlp->nlp_DID, new_ndlp->nlp_flag, in lpfc_plogi_confirm_nport()
1867 new_ndlp->nlp_fc4_type); in lpfc_plogi_confirm_nport()
1869 return new_ndlp; in lpfc_plogi_confirm_nport()