Lines Matching defs:ndlp
3049 struct lpfc_nodelist *ndlp, *next_ndlp;
3059 list_for_each_entry_safe(ndlp, next_ndlp, &vport->fc_nodes, nlp_listp) {
3060 if (ndlp->nlp_DID == Fabric_Cntl_DID &&
3061 ndlp->nlp_state == NLP_STE_UNUSED_NODE) {
3062 lpfc_nlp_put(ndlp);
3069 if (ndlp->nlp_type & NLP_FABRIC &&
3070 ndlp->nlp_state == NLP_STE_UNMAPPED_NODE)
3071 lpfc_disc_state_machine(vport, ndlp, NULL,
3074 if (!(ndlp->fc4_xpt_flags & (NVME_XPT_REGD|SCSI_XPT_REGD)))
3075 lpfc_disc_state_machine(vport, ndlp, NULL,
3095 /* At this point, ALL ndlp's should be gone
3104 list_for_each_entry_safe(ndlp, next_ndlp,
3106 lpfc_printf_vlog(ndlp->vport, KERN_ERR,
3108 "0282 did:x%x ndlp:x%px "
3111 ndlp->nlp_DID, (void *)ndlp,
3112 kref_read(&ndlp->kref),
3113 ndlp->fc4_xpt_flags,
3114 ndlp->nlp_flag);
3407 struct lpfc_nodelist *ndlp, *next_ndlp;
3422 list_for_each_entry_safe(ndlp, next_ndlp,
3427 lpfc_printf_vlog(ndlp->vport, KERN_INFO,
3430 "ndlp x%px DID:x%06x "
3432 ndlp, ndlp->nlp_DID,
3433 ndlp->nlp_flag);
3436 ndlp->nlp_rpi = rpi;
3437 lpfc_printf_vlog(ndlp->vport, KERN_INFO,
3439 "0009 Assign RPI x%x to ndlp x%px "
3441 ndlp->nlp_rpi, ndlp, ndlp->nlp_DID,
3442 ndlp->nlp_flag);
3810 struct lpfc_nodelist *ndlp, *next_ndlp;
3840 list_for_each_entry_safe(ndlp, next_ndlp,
3844 clear_bit(NLP_NPR_ADISC, &ndlp->nlp_flag);
3847 &ndlp->nlp_flag);
3849 &ndlp->nlp_flag);
3852 if (ndlp->nlp_type & NLP_FABRIC) {
3853 lpfc_disc_state_machine(vports[i], ndlp,
3864 &ndlp->save_flags) &&
3865 !(ndlp->fc4_xpt_flags &
3868 (vports[i], ndlp,
6671 * Return the pointer to the ndlp with the vport if successful, otherwise
6677 struct lpfc_nodelist *ndlp;
6686 ndlp = lpfc_findnode_did(vport, Fabric_DID);
6687 if (!ndlp) {
6688 /* Cannot find existing Fabric ndlp, so allocate a new one */
6689 ndlp = lpfc_nlp_init(vport, Fabric_DID);
6690 if (!ndlp)
6693 ndlp->nlp_type |= NLP_FABRIC;
6694 /* Put ndlp onto node list */
6695 lpfc_enqueue_node(vport, ndlp);
6711 return ndlp;
6748 struct lpfc_nodelist *ndlp;
6895 ndlp = lpfc_sli4_perform_vport_cvl(vport);
6896 if (!ndlp)
6925 mod_timer(&ndlp->nlp_delayfunc,
6927 set_bit(NLP_DELAY_TMO, &ndlp->nlp_flag);
6928 ndlp->nlp_last_elscmd = ELS_CMD_FDISC;
14956 /* Perform ndlp cleanup on the physical port. The nvme and nvmet