Home
last modified time | relevance | path

Searched refs:ndlp (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/scsi/lpfc/
H A Dlpfc_vport.c295 struct lpfc_nodelist *ndlp; in lpfc_vport_create() local
462 ndlp = lpfc_findnode_did(phba->pport, Fabric_DID); in lpfc_vport_create()
463 if (ndlp && in lpfc_vport_create()
464 ndlp->nlp_state == NLP_STE_UNMAPPED_NODE) { in lpfc_vport_create()
487 lpfc_send_npiv_logo(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) in lpfc_send_npiv_logo() argument
494 spin_lock_irq(&ndlp->lock); in lpfc_send_npiv_logo()
495 if (!test_bit(NLP_WAIT_FOR_LOGO, &ndlp->save_flags) && in lpfc_send_npiv_logo()
496 !ndlp->logo_waitq) { in lpfc_send_npiv_logo()
497 ndlp->logo_waitq = &waitq; in lpfc_send_npiv_logo()
498 ndlp->nlp_fcp_info &= ~NLP_FCP_2_DEVICE; in lpfc_send_npiv_logo()
[all …]
H A Dlpfc_nvme.h37 #define lpfc_ndlp_get_nrport(ndlp) \ argument
38 ((!ndlp->nrport || (ndlp->fc4_xpt_flags & NVME_XPT_UNREG_WAIT))\
39 ? NULL : ndlp->nrport)
71 struct lpfc_nodelist *ndlp; member
197 struct lpfc_nodelist *ndlp; member
233 int __lpfc_nvme_ls_req(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp,
241 struct lpfc_nodelist *ndlp, struct nvmefc_ls_req *pnvme_lsreq);
H A Dlpfc_sli.c981 struct lpfc_nodelist *ndlp = NULL; in lpfc_clr_rrq_active() local
985 ndlp = lpfc_findnode_did(rrq->vport, rrq->nlp_DID); in lpfc_clr_rrq_active()
987 if (!ndlp) in lpfc_clr_rrq_active()
990 if (test_and_clear_bit(xritag, ndlp->active_rrqs_xri_bitmap)) { in lpfc_clr_rrq_active()
1092 lpfc_cleanup_vports_rrqs(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) in lpfc_cleanup_vports_rrqs() argument
1103 if (!ndlp) { in lpfc_cleanup_vports_rrqs()
1112 if (!ndlp || ndlp == lpfc_findnode_did(vport, rrq->nlp_DID)) in lpfc_cleanup_vports_rrqs()
1135 lpfc_test_rrq_active(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp, in lpfc_test_rrq_active() argument
1138 if (!ndlp) in lpfc_test_rrq_active()
1140 if (!ndlp->active_rrqs_xri_bitmap) in lpfc_test_rrq_active()
[all …]
H A Dlpfc_bsg.c78 struct lpfc_nodelist *ndlp; member
308 struct lpfc_nodelist *ndlp; in lpfc_bsg_send_mgmt_cmd_cmp() local
332 ndlp = iocb->cmdiocbq->ndlp; in lpfc_bsg_send_mgmt_cmd_cmp()
370 lpfc_nlp_put(ndlp); in lpfc_bsg_send_mgmt_cmd_cmp()
394 struct lpfc_nodelist *ndlp = rdata->pnode; in lpfc_bsg_send_mgmt_cmd() local
411 if (test_bit(NLP_PLOGI_SND, &ndlp->nlp_flag) || in lpfc_bsg_send_mgmt_cmd()
412 test_bit(NLP_PRLI_SND, &ndlp->nlp_flag) || in lpfc_bsg_send_mgmt_cmd()
413 test_bit(NLP_ADISC_SND, &ndlp->nlp_flag) || in lpfc_bsg_send_mgmt_cmd()
414 test_bit(NLP_LOGO_SND, &ndlp->nlp_flag) || in lpfc_bsg_send_mgmt_cmd()
415 test_bit(NLP_RNID_SND, &ndlp->nlp_flag)) in lpfc_bsg_send_mgmt_cmd()
[all …]
H A Dlpfc_debugfs.c810 struct lpfc_nodelist *ndlp; in lpfc_debugfs_nodelist_data() local
822 list_for_each_entry(ndlp, &vport->fc_nodes, nlp_listp) { in lpfc_debugfs_nodelist_data()
830 switch (ndlp->nlp_state) { in lpfc_debugfs_nodelist_data()
864 statep, ndlp->nlp_DID); in lpfc_debugfs_nodelist_data()
867 wwn_to_u64(ndlp->nlp_portname.u.wwn)); in lpfc_debugfs_nodelist_data()
870 wwn_to_u64(ndlp->nlp_nodename.u.wwn)); in lpfc_debugfs_nodelist_data()
872 ndlp->nlp_rpi); in lpfc_debugfs_nodelist_data()
874 ndlp->nlp_flag); in lpfc_debugfs_nodelist_data()
875 if (ndlp->nlp_enc_info.status) { in lpfc_debugfs_nodelist_data()
879 ndlp->nlp_enc_info.level in lpfc_debugfs_nodelist_data()
[all …]
H A Dlpfc_sli.h144 struct lpfc_nodelist *ndlp; member
436 struct lpfc_nodelist *ndlp; member
H A Dlpfc_init.c3057 struct lpfc_nodelist *ndlp, *next_ndlp; in lpfc_cleanup() local
3067 list_for_each_entry_safe(ndlp, next_ndlp, &vport->fc_nodes, nlp_listp) { in lpfc_cleanup()
3071 if (ndlp->nlp_type & NLP_FABRIC && in lpfc_cleanup()
3072 ndlp->nlp_state == NLP_STE_UNMAPPED_NODE) in lpfc_cleanup()
3073 lpfc_disc_state_machine(vport, ndlp, NULL, in lpfc_cleanup()
3076 if (!(ndlp->fc4_xpt_flags & (NVME_XPT_REGD|SCSI_XPT_REGD))) in lpfc_cleanup()
3077 lpfc_disc_state_machine(vport, ndlp, NULL, in lpfc_cleanup()
3106 list_for_each_entry_safe(ndlp, next_ndlp, in lpfc_cleanup()
3108 lpfc_printf_vlog(ndlp->vport, KERN_ERR, in lpfc_cleanup()
3113 ndlp->nlp_DID, (void *)ndlp, in lpfc_cleanup()
[all …]
H A Dlpfc_sli4.h1020 struct lpfc_nodelist *ndlp; /* ndlp associated with IO */ member
1046 struct lpfc_nodelist *ndlp; member
1063 struct lpfc_nodelist *ndlp; member
1132 int lpfc_sli4_resume_rpi(struct lpfc_nodelist *ndlp,
/linux/Documentation/scsi/
H A DChangeLog.lpfc538 * Fixed discovery bug: plogi cmpl uses ndlp after its freed.
539 * Fixed discovery bug: rnid acc cmpl, can potentially use ndlp
672 ndlp->nlp_Target Ensure fc_target_* routines are called properly
678 * Cleanup list_del()'s for Discovery ndlp lists.
1196 * Fixed some discovery problems: Introduced deferred ndlp removal
1246 * Move ndlp node from unmap list to map list if ADISC completed
1505 * Do not use DMABUf_t list to store ndlp context
1522 * Use safe list iterator for ndlp list
1575 mbox, iocb, ndlp, bind
1650 write to ndlp structure from lpfc_cmpl_els_acc function.
[all …]