Lines Matching refs:ndlp
78 struct lpfc_nodelist *ndlp; member
308 struct lpfc_nodelist *ndlp; in lpfc_bsg_send_mgmt_cmd_cmp() local
332 ndlp = iocb->ndlp; in lpfc_bsg_send_mgmt_cmd_cmp()
370 lpfc_nlp_put(ndlp); in lpfc_bsg_send_mgmt_cmd_cmp()
393 struct lpfc_nodelist *ndlp = rdata->pnode; in lpfc_bsg_send_mgmt_cmd() local
420 if (!lpfc_nlp_get(ndlp)) { in lpfc_bsg_send_mgmt_cmd()
425 if (ndlp->nlp_flag & NLP_ELS_SND_MASK) { in lpfc_bsg_send_mgmt_cmd()
485 cmd->ulpContext = ndlp->nlp_rpi; in lpfc_bsg_send_mgmt_cmd()
487 cmd->ulpContext = phba->sli4_hba.rpi_ids[ndlp->nlp_rpi]; in lpfc_bsg_send_mgmt_cmd()
499 cmdiocbq->context_un.ndlp = ndlp; in lpfc_bsg_send_mgmt_cmd()
503 dd_data->context_un.iocb.ndlp = ndlp; in lpfc_bsg_send_mgmt_cmd()
548 lpfc_nlp_put(ndlp); in lpfc_bsg_send_mgmt_cmd()
584 struct lpfc_nodelist *ndlp; in lpfc_bsg_rport_els_cmp() local
593 ndlp = dd_data->context_un.iocb.ndlp; in lpfc_bsg_rport_els_cmp()
594 cmdiocbq->context1 = ndlp; in lpfc_bsg_rport_els_cmp()
643 lpfc_nlp_put(ndlp); in lpfc_bsg_rport_els_cmp()
667 struct lpfc_nodelist *ndlp = rdata->pnode; in lpfc_bsg_rport_els() local
703 if (!lpfc_nlp_get(ndlp)) { in lpfc_bsg_rport_els()
714 cmdiocbq = lpfc_prep_els_iocb(vport, 1, cmdsize, 0, ndlp, in lpfc_bsg_rport_els()
715 ndlp->nlp_DID, elscmd); in lpfc_bsg_rport_els()
721 rpi = ndlp->nlp_rpi; in lpfc_bsg_rport_els()
736 cmdiocbq->context_un.ndlp = ndlp; in lpfc_bsg_rport_els()
741 dd_data->context_un.iocb.ndlp = ndlp; in lpfc_bsg_rport_els()
776 cmdiocbq->context1 = ndlp; in lpfc_bsg_rport_els()
780 lpfc_nlp_put(ndlp); in lpfc_bsg_rport_els()
1405 struct lpfc_nodelist *ndlp; in lpfc_issue_ct_rsp_cmp() local
1425 ndlp = dd_data->context_un.iocb.ndlp; in lpfc_issue_ct_rsp_cmp()
1459 lpfc_nlp_put(ndlp); in lpfc_issue_ct_rsp_cmp()
1488 struct lpfc_nodelist *ndlp = NULL; in lpfc_issue_ct_rsp() local
1533 ndlp = lpfc_findnode_did(phba->pport, phba->ct_ctx[tag].SID); in lpfc_issue_ct_rsp()
1534 if (!ndlp) { in lpfc_issue_ct_rsp()
1544 if (!ndlp || !NLP_CHK_NODE_ACT(ndlp)) { in lpfc_issue_ct_rsp()
1552 if (!lpfc_nlp_get(ndlp)) { in lpfc_issue_ct_rsp()
1558 phba->sli4_hba.rpi_ids[ndlp->nlp_rpi]; in lpfc_issue_ct_rsp()
1577 ctiocb->context_un.ndlp = ndlp; in lpfc_issue_ct_rsp()
1583 dd_data->context_un.iocb.ndlp = ndlp; in lpfc_issue_ct_rsp()