Lines Matching refs:ndlp

74 	struct lpfc_nodelist *ndlp;  member
303 struct lpfc_nodelist *ndlp; in lpfc_bsg_send_mgmt_cmd_cmp() local
326 ndlp = iocb->ndlp; in lpfc_bsg_send_mgmt_cmd_cmp()
364 lpfc_nlp_put(ndlp); in lpfc_bsg_send_mgmt_cmd_cmp()
386 struct lpfc_nodelist *ndlp = rdata->pnode; in lpfc_bsg_send_mgmt_cmd() local
412 if (!lpfc_nlp_get(ndlp)) { in lpfc_bsg_send_mgmt_cmd()
417 if (ndlp->nlp_flag & NLP_ELS_SND_MASK) { in lpfc_bsg_send_mgmt_cmd()
477 cmd->ulpContext = ndlp->nlp_rpi; in lpfc_bsg_send_mgmt_cmd()
479 cmd->ulpContext = phba->sli4_hba.rpi_ids[ndlp->nlp_rpi]; in lpfc_bsg_send_mgmt_cmd()
491 cmdiocbq->context_un.ndlp = ndlp; in lpfc_bsg_send_mgmt_cmd()
495 dd_data->context_un.iocb.ndlp = ndlp; in lpfc_bsg_send_mgmt_cmd()
540 lpfc_nlp_put(ndlp); in lpfc_bsg_send_mgmt_cmd()
575 struct lpfc_nodelist *ndlp; in lpfc_bsg_rport_els_cmp() local
584 ndlp = dd_data->context_un.iocb.ndlp; in lpfc_bsg_rport_els_cmp()
585 cmdiocbq->context1 = ndlp; in lpfc_bsg_rport_els_cmp()
633 lpfc_nlp_put(ndlp); in lpfc_bsg_rport_els_cmp()
656 struct lpfc_nodelist *ndlp = rdata->pnode; in lpfc_bsg_rport_els() local
690 if (!lpfc_nlp_get(ndlp)) { in lpfc_bsg_rport_els()
701 cmdiocbq = lpfc_prep_els_iocb(vport, 1, cmdsize, 0, ndlp, in lpfc_bsg_rport_els()
702 ndlp->nlp_DID, elscmd); in lpfc_bsg_rport_els()
708 rpi = ndlp->nlp_rpi; in lpfc_bsg_rport_els()
723 cmdiocbq->context_un.ndlp = ndlp; in lpfc_bsg_rport_els()
728 dd_data->context_un.iocb.ndlp = ndlp; in lpfc_bsg_rport_els()
763 cmdiocbq->context1 = ndlp; in lpfc_bsg_rport_els()
767 lpfc_nlp_put(ndlp); in lpfc_bsg_rport_els()
1388 struct lpfc_nodelist *ndlp; in lpfc_issue_ct_rsp_cmp() local
1408 ndlp = dd_data->context_un.iocb.ndlp; in lpfc_issue_ct_rsp_cmp()
1441 lpfc_nlp_put(ndlp); in lpfc_issue_ct_rsp_cmp()
1469 struct lpfc_nodelist *ndlp = NULL; in lpfc_issue_ct_rsp() local
1514 ndlp = lpfc_findnode_did(phba->pport, phba->ct_ctx[tag].SID); in lpfc_issue_ct_rsp()
1515 if (!ndlp) { in lpfc_issue_ct_rsp()
1525 if (!ndlp || !NLP_CHK_NODE_ACT(ndlp)) { in lpfc_issue_ct_rsp()
1533 if (!lpfc_nlp_get(ndlp)) { in lpfc_issue_ct_rsp()
1539 phba->sli4_hba.rpi_ids[ndlp->nlp_rpi]; in lpfc_issue_ct_rsp()
1559 ctiocb->context_un.ndlp = ndlp; in lpfc_issue_ct_rsp()
1565 dd_data->context_un.iocb.ndlp = ndlp; in lpfc_issue_ct_rsp()