ndlp->nlp_state = NLP_STE_MAPPED_NODE; lpfc_nlp_list(phba, ndlp, NLP_MAPPED_LIST); 
if (ndlp->nlp_type & NLP_FCP_TARGET) { ndlp->nlp_state = NLP_STE_MAPPED_NODE; lpfc_nlp_list(phba, ndlp, NLP_MAPPED_LIST); } else { ndlp->nlp_state = NLP_STE_UNMAPPED_NODE; lpfc_nlp_list(phba, ndlp, NLP_UNMAPPED_LIST); } 
lpfc_cmpl_adisc_adisc_issue(struct lpfc_hba * phba,			    struct lpfc_nodelist * ndlp, void *arg,			    uint32_t evt){	struct lpfc_iocbq *cmdiocb, *rspiocb;	IOCB_t *irsp;	ADISC *ap;	cmdiocb = (struct lpfc_iocbq *) arg;	rspiocb = cmdiocb->context_un.rsp_iocb;	ap = (ADISC *)lpfc_check_elscmpl_iocb(phba, cmdiocb, rspiocb);	irsp = &rspiocb->iocb;	if ((irsp->ulpStatus) ||		(!lpfc_check_adisc(phba, ndlp, &ap->nodeName, &ap->portName))) {		ndlp->nlp_last_elscmd = (unsigned long)ELS_CMD_PLOGI;		/* 1 sec timeout */		mod_timer(&ndlp->nlp_delayfunc, jiffies + HZ);		spin_lock_irq(phba->host->host_lock);		ndlp->nlp_flag |= NLP_DELAY_TMO;		spin_unlock_irq(phba->host->host_lock);		memset(&ndlp->nlp_nodename, 0, sizeof (struct lpfc_name));		memset(&ndlp->nlp_portname, 0, sizeof (struct lpfc_name));		ndlp->nlp_state = NLP_STE_NPR_NODE;		lpfc_nlp_list(phba, ndlp, NLP_NPR_LIST);		lpfc_unreg_rpi(phba, ndlp);		return (ndlp->nlp_state);	}	ndlp->nlp_state = NLP_STE_MAPPED_NODE;	lpfc_nlp_list(phba, ndlp, NLP_MAPPED_LIST);	return (ndlp->nlp_state);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/2501322eee84763a07fd4a3eed81b63c1837e204/lpfc_nportdisc.c/clean/drivers/scsi/lpfc/lpfc_nportdisc.c