Lines Matching refs:ndlp
201 * @ndlp: Pointer to FC node associated with the target.
212 struct lpfc_nodelist *ndlp,
231 if (ndlp && NLP_CHK_NODE_ACT(ndlp)) {
233 &ndlp->nlp_portname, sizeof(struct lpfc_name));
235 &ndlp->nlp_nodename, sizeof(struct lpfc_name));
2675 struct lpfc_nodelist *ndlp = rdata->pnode;
2677 if (!ndlp || !NLP_CHK_NODE_ACT(ndlp) ||
2678 ndlp->nlp_state != NLP_STE_MAPPED_NODE)
2695 piocb->ulpContext = ndlp->nlp_rpi;
2696 if (ndlp->nlp_fcp_info & NLP_FCP_2_DEVICE) {
2699 piocb->ulpClass = (ndlp->nlp_fcp_info & 0x0f);
2893 struct lpfc_nodelist *ndlp;
2903 ndlp = rdata->pnode;
2921 if (!ndlp || !NLP_CHK_NODE_ACT(ndlp)) {
2925 if (atomic_read(&ndlp->cmd_pending) >= ndlp->cmd_qdepth)
3016 lpfc_scsi_prep_cmnd(vport, lpfc_cmd, ndlp);
3018 atomic_inc(&ndlp->cmd_pending);
3022 atomic_dec(&ndlp->cmd_pending);
3512 struct lpfc_nodelist *ndlp = NULL;
3539 list_for_each_entry(ndlp, &vport->fc_nodes, nlp_listp) {
3540 if (!NLP_CHK_NODE_ACT(ndlp))
3542 if (ndlp->nlp_state == NLP_STE_MAPPED_NODE &&
3543 ndlp->nlp_sid == i &&
3544 ndlp->rport) {
3553 status = lpfc_send_taskmgmt(vport, ndlp->rport->dd_data,